Skip to content

Commit

Permalink
Remove llvm dep
Browse files Browse the repository at this point in the history
  • Loading branch information
alekstheod committed Nov 15, 2024
1 parent 0b6df5c commit 6c2992d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
18 changes: 0 additions & 18 deletions third_party/gpus/rocm/BUILD.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ cc_library(
":hipsolver",
":hipsparse",
":hsa-rocr",
":llvm",
":miopen",
":rocblas",
":rocm_config",
Expand Down Expand Up @@ -294,23 +293,6 @@ cc_library(
deps = [":rocm_config"],
)

cc_library(
name = "llvm",
srcs = select({
"@platforms//cpu:x86_64": glob(["%{rocm_root}/lib/llvm/lib/**/*x86_64.so*"]),
"@platforms//cpu:x86_32": glob(["%{rocm_root}/lib/llvm/lib/**/*i386.so*"]),
"//conditions:default": glob(["%{rocm_root}/lib/llvm/lib/**/*x86_64.so*"]),
}),
hdrs = glob(["%{rocm_root}/lib/llvm/lib/**/*.h"]),
data = glob(["%{rocm_root}/lib/llvm/**"]),
include_prefix = "rocm",
strip_include_prefix = "%{rocm_root}",
visibility = ["//visibility:public"],
deps = [
":rocm_config",
],
)

filegroup(
name = "rocm_root",
srcs = [
Expand Down
18 changes: 0 additions & 18 deletions third_party/xla/third_party/tsl/third_party/gpus/rocm/BUILD.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ cc_library(
":hiprand",
":hipsolver",
":hipsparse",
":llvm",
":miopen",
":rocblas",
":rocm_config",
Expand Down Expand Up @@ -294,23 +293,6 @@ cc_library(
deps = [":rocm_config"],
)

cc_library(
name = "llvm",
srcs = select({
"@platforms//cpu:x86_64": glob(["%{rocm_root}/lib/llvm/lib/**/*x86_64.so*"]),
"@platforms//cpu:x86_32": glob(["%{rocm_root}/lib/llvm/lib/**/*i386.so*"]),
"//conditions:default": glob(["%{rocm_root}/lib/llvm/lib/**/*x86_64.so*"]),
}),
hdrs = glob(["%{rocm_root}/lib/llvm/lib/**/*.h"]),
data = glob(["%{rocm_root}/lib/llvm/**"]),
include_prefix = "rocm",
strip_include_prefix = "%{rocm_root}",
visibility = ["//visibility:public"],
deps = [
":rocm_config",
],
)

filegroup(
name = "rocm_root",
srcs = [
Expand Down

0 comments on commit 6c2992d

Please sign in to comment.