Skip to content

PR #95959: Include math.h in elementwise.cc#2627

Closed
copybara-service[bot] wants to merge 1 commit intomainfrom
test_775719122
Closed

PR #95959: Include math.h in elementwise.cc#2627
copybara-service[bot] wants to merge 1 commit intomainfrom
test_775719122

Conversation

@copybara-service
Copy link

PR #95959: Include math.h in elementwise.cc

Imported from GitHub PR tensorflow/tensorflow#95959

This is required to build with the most recent version of LLVM's libc++, which moved the abs function from stdlib.h to math.h in llvm/llvm-project#139586.
Copybara import of the project:

--
2fa2ab36dae8afc9cf838a5ce1726e4ba48afec6 by Devon Loehr dloehr@google.com:

Include math.h in elementwise.cc

Merging this change closes #95959

FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#95959 from DKLoehr:math 2fa2ab36dae8afc9cf838a5ce1726e4ba48afec6

Imported from GitHub PR tensorflow/tensorflow#95959

This is required to build with the most recent version of LLVM's libc++, which moved the `abs` function from `stdlib.h` to `math.h` in llvm/llvm-project#139586.
Copybara import of the project:

--
2fa2ab36dae8afc9cf838a5ce1726e4ba48afec6 by Devon Loehr <dloehr@google.com>:

Include math.h in elementwise.cc

Merging this change closes #95959

FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#95959 from DKLoehr:math 2fa2ab36dae8afc9cf838a5ce1726e4ba48afec6
PiperOrigin-RevId: 775719122
@copybara-service copybara-service bot closed this Jul 8, 2025
@copybara-service copybara-service bot deleted the test_775719122 branch July 8, 2025 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant