Skip to content

Don't need to set GLIBCXX_USE_CXX11_ABI variable when using Bazel#1024

Open
mhucka wants to merge 2 commits intotensorflow:masterfrom
mhucka:remove-setting-glibcxx-env-var
Open

Don't need to set GLIBCXX_USE_CXX11_ABI variable when using Bazel#1024
mhucka wants to merge 2 commits intotensorflow:masterfrom
mhucka:remove-setting-glibcxx-env-var

Conversation

@mhucka
Copy link
Copy Markdown
Member

@mhucka mhucka commented Mar 26, 2026

This environment variable is set in .bazelrc, so it is no longer necessary to add -D_GLIBCXX_USE_CXX11_ABI=1 all over the place when running Bazel.

This environment variable is set in `.bazelrc`, so it is no longer
necessary to add `-D_GLIBCXX_USE_CXX11_ABI=1` all over the place when
running Bazel.
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the -D_GLIBCXX_USE_CXX11_ABI=1 flag from various Bazel commands across the documentation and shell scripts. A critical syntax error was identified in scripts/benchmark_all.sh where an invalid bash substitution was used to define a command shortcut, which would cause the script to fail during execution.

Comment thread scripts/benchmark_all.sh
@tensorflow tensorflow deleted a comment from gemini-code-assist bot Mar 26, 2026
@mhucka mhucka marked this pull request as ready for review March 26, 2026 22:11
@mhucka mhucka requested a review from MichaelBroughton March 26, 2026 22:16
@mhucka mhucka changed the title Don't need to set GLIBCXX_USE_CXX11_ABI Don't need to set GLIBCXX_USE_CXX11_ABI variable when using Bazel Mar 27, 2026
@mhucka mhucka added the area/devops Involves build systems, Make files, Bazel files, continuous integration, and/or other DevOps topics label Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/devops Involves build systems, Make files, Bazel files, continuous integration, and/or other DevOps topics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant