@@ -29,32 +29,32 @@ build --repo_env=RULES_PYTHON_ENABLE_PYSTAR=0
2929
3030build -c opt
3131
32- build :cuda --repo_env TF_NEED_CUDA=1
33- build :cuda --repo_env TF_NVCC_CLANG=1
34- build :cuda --repo_env TF_NCCL_USE_STUB=1
35- build :cuda --repo_env=HERMETIC_CUDA_VERSION="12.8.1"
36- build :cuda --repo_env=HERMETIC_CUDNN_VERSION="9.8.0"
37- build :cuda --repo_env=HERMETIC_NVSHMEM_VERSION="3.2.5"
32+ common :cuda --repo_env TF_NEED_CUDA=1
33+ common :cuda --repo_env TF_NVCC_CLANG=1
34+ common :cuda --repo_env TF_NCCL_USE_STUB=1
35+ common :cuda --repo_env=HERMETIC_CUDA_VERSION="12.8.1"
36+ common :cuda --repo_env=HERMETIC_CUDNN_VERSION="9.8.0"
37+ common :cuda --repo_env=HERMETIC_NVSHMEM_VERSION="3.2.5"
3838# "sm" means we emit only cubin, which is forward compatible within a GPU generation.
3939# "compute" means we emit both cubin and PTX, which is larger but also forward compatible to future GPU generations.
40- build :cuda --repo_env HERMETIC_CUDA_COMPUTE_CAPABILITIES="sm_60,sm_70,sm_80,compute_90"
41- build :cuda --crosstool_top="@local_config_cuda//crosstool:toolchain"
42- build :cuda --@local_config_cuda//:enable_cuda
40+ common :cuda --repo_env HERMETIC_CUDA_COMPUTE_CAPABILITIES="sm_60,sm_70,sm_80,compute_90"
41+ common :cuda --crosstool_top="@local_config_cuda//crosstool:toolchain"
42+ common :cuda --@local_config_cuda//:enable_cuda
4343# Default hermetic CUDA and CUDNN versions.
44- build :cuda --@local_config_cuda//cuda:include_cuda_libs=true
45- build :cuda --@local_config_cuda//:cuda_compiler=nvcc
46- # build :cuda --@local_config_nvshmem//:override_include_nvshmem_libs=true
47- # build :cuda --@local_config_nvshmem//cuda:include_nvshmem_libs=true
44+ common :cuda --@local_config_cuda//cuda:include_cuda_libs=true
45+ common :cuda --@local_config_cuda//:cuda_compiler=nvcc
46+ # common :cuda --@local_config_nvshmem//:override_include_nvshmem_libs=true
47+ # common :cuda --@local_config_nvshmem//cuda:include_nvshmem_libs=true
4848
4949
50- build :rocm --crosstool_top=@local_config_rocm//crosstool:toolchain
51- build :rocm --define=using_rocm=true --define=using_rocm_hipcc=true
52- build :rocm --repo_env TF_NEED_ROCM=1
53- build :rocm --action_env TF_ROCM_AMDGPU_TARGETS="gfx900,gfx906,gfx908,gfx90a,gfx940,gfx941,gfx942,gfx1030,gfx1100,gfx1200,gfx1201"
50+ common :rocm --crosstool_top=@local_config_rocm//crosstool:toolchain
51+ common :rocm --define=using_rocm=true --define=using_rocm_hipcc=true
52+ common :rocm --repo_env TF_NEED_ROCM=1
53+ common :rocm --action_env TF_ROCM_AMDGPU_TARGETS="gfx900,gfx906,gfx908,gfx90a,gfx940,gfx941,gfx942,gfx1030,gfx1100,gfx1200,gfx1201"
5454
5555# Build with hipcc for ROCm and clang for the host.
56- build :rocm --action_env=TF_ROCM_CLANG="1"
57- build :rocm --action_env=CLANG_COMPILER_PATH="/usr/lib/llvm-18/bin/clang"
58- build :rocm --copt=-Wno-gnu-offsetof-extensions
59- build :rocm --copt=-Qunused-arguments
60- build :rocm --action_env=TF_HIPCC_CLANG="1"
56+ common :rocm --action_env=TF_ROCM_CLANG="1"
57+ common :rocm --action_env=CLANG_COMPILER_PATH="/usr/lib/llvm-18/bin/clang"
58+ common :rocm --copt=-Wno-gnu-offsetof-extensions
59+ common :rocm --copt=-Qunused-arguments
60+ common :rocm --action_env=TF_HIPCC_CLANG="1"
0 commit comments