[bazel] Gate NVPTXCodeGen behind llvm_targets (#208041)
Fixes another case of issue #63135
This commit is contained in:
parent
6c2f267a20
commit
4452323fef
1 changed files with 1 additions and 2 deletions
|
|
@ -5855,8 +5855,7 @@ cc_library(
|
|||
"//llvm:Target",
|
||||
] + if_cuda_available([
|
||||
":NVVMToLLVMIRTranslation",
|
||||
"//llvm:NVPTXCodeGen",
|
||||
]),
|
||||
] + (["//llvm:NVPTXCodeGen"] if "NVPTX" in llvm_targets else [])),
|
||||
)
|
||||
|
||||
cc_library(
|
||||
|
|
|
|||
Loading…
Reference in a new issue