mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
Add non-rbe nvcc+clang config to bazelrc
PiperOrigin-RevId: 603457045
This commit is contained in:
parent
8340931506
commit
6c2ee9b54d
10
.bazelrc
10
.bazelrc
|
|
@ -255,6 +255,14 @@ build:cuda_clang_official --action_env=CLANG_CUDA_COMPILER_PATH="/usr/lib/llvm-1
|
|||
build:cuda_clang_official --action_env=LD_LIBRARY_PATH="/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64"
|
||||
build:cuda_clang_official --crosstool_top="@sigbuild-r2.16-clang_config_cuda//crosstool:toolchain"
|
||||
|
||||
# Build with nvcc for CUDA and clang for host
|
||||
build:nvcc_clang --config=cuda
|
||||
# Unfortunately, cuda_configure.bzl demands this for using nvcc + clang
|
||||
build:nvcc_clang --action_env=TF_CUDA_CLANG="1"
|
||||
build:nvcc_clang --action_env=TF_NVCC_CLANG="1"
|
||||
build:nvcc_clang --@local_config_cuda//:cuda_compiler=nvcc
|
||||
|
||||
|
||||
# Debug config
|
||||
build:dbg -c dbg
|
||||
# Only include debug info for files under tensorflow/, excluding kernels, to
|
||||
|
|
@ -527,8 +535,8 @@ build:rbe_linux_cuda --repo_env=TF_NCCL_CONFIG_REPO="@sigbuild-r2.16-clang_confi
|
|||
test:rbe_linux_cuda --test_env=LD_LIBRARY_PATH="/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64"
|
||||
|
||||
build:rbe_linux_cuda_nvcc --config=rbe_linux_cuda
|
||||
build:rbe_linux_cuda_nvcc --config=nvcc_clang
|
||||
build:rbe_linux_cuda_nvcc --repo_env TF_NCCL_USE_STUB=1
|
||||
build:rbe_linux_cuda_nvcc --action_env=TF_NVCC_CLANG="1"
|
||||
|
||||
# TODO(kanglan): Remove rbe_win and rbe_win_py3* after b/289091160 is fixed
|
||||
build:rbe_win --config=rbe_base
|
||||
|
|
|
|||
10
third_party/xla/.bazelrc
vendored
10
third_party/xla/.bazelrc
vendored
|
|
@ -255,6 +255,14 @@ build:cuda_clang_official --action_env=CLANG_CUDA_COMPILER_PATH="/usr/lib/llvm-1
|
|||
build:cuda_clang_official --action_env=LD_LIBRARY_PATH="/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64"
|
||||
build:cuda_clang_official --crosstool_top="@sigbuild-r2.16-clang_config_cuda//crosstool:toolchain"
|
||||
|
||||
# Build with nvcc for CUDA and clang for host
|
||||
build:nvcc_clang --config=cuda
|
||||
# Unfortunately, cuda_configure.bzl demands this for using nvcc + clang
|
||||
build:nvcc_clang --action_env=TF_CUDA_CLANG="1"
|
||||
build:nvcc_clang --action_env=TF_NVCC_CLANG="1"
|
||||
build:nvcc_clang --@local_config_cuda//:cuda_compiler=nvcc
|
||||
|
||||
|
||||
# Debug config
|
||||
build:dbg -c dbg
|
||||
# Only include debug info for files under tensorflow/, excluding kernels, to
|
||||
|
|
@ -527,8 +535,8 @@ build:rbe_linux_cuda --repo_env=TF_NCCL_CONFIG_REPO="@sigbuild-r2.16-clang_confi
|
|||
test:rbe_linux_cuda --test_env=LD_LIBRARY_PATH="/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64"
|
||||
|
||||
build:rbe_linux_cuda_nvcc --config=rbe_linux_cuda
|
||||
build:rbe_linux_cuda_nvcc --config=nvcc_clang
|
||||
build:rbe_linux_cuda_nvcc --repo_env TF_NCCL_USE_STUB=1
|
||||
build:rbe_linux_cuda_nvcc --action_env=TF_NVCC_CLANG="1"
|
||||
|
||||
# TODO(kanglan): Remove rbe_win and rbe_win_py3* after b/289091160 is fixed
|
||||
build:rbe_win --config=rbe_base
|
||||
|
|
|
|||
10
third_party/xla/third_party/tsl/.bazelrc
vendored
10
third_party/xla/third_party/tsl/.bazelrc
vendored
|
|
@ -255,6 +255,14 @@ build:cuda_clang_official --action_env=CLANG_CUDA_COMPILER_PATH="/usr/lib/llvm-1
|
|||
build:cuda_clang_official --action_env=LD_LIBRARY_PATH="/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64"
|
||||
build:cuda_clang_official --crosstool_top="@sigbuild-r2.16-clang_config_cuda//crosstool:toolchain"
|
||||
|
||||
# Build with nvcc for CUDA and clang for host
|
||||
build:nvcc_clang --config=cuda
|
||||
# Unfortunately, cuda_configure.bzl demands this for using nvcc + clang
|
||||
build:nvcc_clang --action_env=TF_CUDA_CLANG="1"
|
||||
build:nvcc_clang --action_env=TF_NVCC_CLANG="1"
|
||||
build:nvcc_clang --@local_config_cuda//:cuda_compiler=nvcc
|
||||
|
||||
|
||||
# Debug config
|
||||
build:dbg -c dbg
|
||||
# Only include debug info for files under tensorflow/, excluding kernels, to
|
||||
|
|
@ -527,8 +535,8 @@ build:rbe_linux_cuda --repo_env=TF_NCCL_CONFIG_REPO="@sigbuild-r2.16-clang_confi
|
|||
test:rbe_linux_cuda --test_env=LD_LIBRARY_PATH="/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64"
|
||||
|
||||
build:rbe_linux_cuda_nvcc --config=rbe_linux_cuda
|
||||
build:rbe_linux_cuda_nvcc --config=nvcc_clang
|
||||
build:rbe_linux_cuda_nvcc --repo_env TF_NCCL_USE_STUB=1
|
||||
build:rbe_linux_cuda_nvcc --action_env=TF_NVCC_CLANG="1"
|
||||
|
||||
# TODO(kanglan): Remove rbe_win and rbe_win_py3* after b/289091160 is fixed
|
||||
build:rbe_win --config=rbe_base
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user