Skip to content

Commit

Permalink
Update to use C++17
Browse files Browse the repository at this point in the history
TF updated to use C++17 github.com/tensorflow/tensorflow/commit/8ea5ed0c392b329a3e0481a3f1f7b0ca86821b84

PiperOrigin-RevId: 450811224
  • Loading branch information
gharibian authored and tensorflow-copybara committed May 25, 2022
1 parent 8a02874 commit 7166e2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ build --apple_platform_type=macos

build -c opt

# LLVM, MLIR and TF require C++14.
build --cxxopt=-std=c++14
build --host_cxxopt=-std=c++14
# LLVM, MLIR and TF requires C++17.
build --cxxopt=-std=c++17
build --host_cxxopt=-std=c++17

# Adding "--cxxopt=-D_GLIBCXX_USE_CXX11_ABI=0" creates parity with TF
# compilation options. It also addresses memory use due to
Expand Down

0 comments on commit 7166e2e

Please sign in to comment.