Skip to content

Commit 8bd1fda

Browse files
ddunltensorflow-copybara
authored andcommitted
Use gcc-10 to avoid build issues while building XLA on CI
In a followup I'll move the newly-added .bazelrc lines to a config and modify build scripts to use the config, instead of changing flags at top level in the .bazelrc. PiperOrigin-RevId: 674403042
1 parent 648c9ee commit 8bd1fda

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.bazelrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ build:cuda_clang --repo_env=TF_CUDA_COMPUTE_CAPABILITIES="sm_50,sm_60,sm_70,sm_8
1919

2020
build:cuda_clang --repo_env=HERMETIC_CUDA_VERSION="12.2.0"
2121
build:cuda_clang --repo_env=HERMETIC_CUDNN_VERSION="8.9.4.25"
22-
build:cuda_clang --action_env=GCC_HOST_COMPILER_PATH="/dt9/usr/bin/gcc"
22+
build:cuda_clang --action_env=GCC_HOST_COMPILER_PATH="/usr/bin/gcc-10"
23+
build --repo_env=CC="/usr/bin/gcc-10"
24+
build --action_env=CC="/usr/bin/gcc-10"
2325
build:cuda_clang --action_env=CLANG_CUDA_COMPILER_PATH="/usr/lib/llvm-17/bin/clang"
2426

2527
# Options used to build with TPU support.

WORKSPACE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ local_repository(
2424
load("//tensorflow_serving:repo.bzl", "tensorflow_http_archive")
2525
tensorflow_http_archive(
2626
name = "org_tensorflow",
27-
sha256 = "f37e5bc18ce59f68edfe1ce4e8a9243c726d3da26aa505cddc68c0acfd61a1d0",
28-
git_commit = "cb9444bad5ab359e288f545126ef895ca1232c43",
27+
sha256 = "0dc725df8bb171cb74ade540bb84d940cf2941115fc230c80beca3aa7f155aa9",
28+
git_commit = "50dd24f863726e5a1cfa3f423d662a2af7fad9da",
2929
)
3030

3131
# Import all of TensorFlow Serving's external dependencies.

0 commit comments

Comments
 (0)