Skip to content

Commit a46aa12

Browse files
committed
[CMAKE][AMDGPU] fix build failure caused by PR llvm#133619
While clangCodeGenTargetBuiltins and clangCodeGenTargets are static libraries clangCodeGen is not and so this is creating a circular reference in the linux amdgpu-offload CIs on ubuntu and RHEL. removing the circular reference doesn't break anything and looks to be a vestigial element of the origional PR.
1 parent c1bf5e6 commit a46aa12

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

clang/lib/CodeGen/TargetBuiltins/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,3 @@ add_clang_library(clangCodeGenTargetBuiltins STATIC
1212
WebAssembly.cpp
1313
X86.cpp
1414
)
15-
16-
target_link_libraries(clangCodeGenTargetBuiltins
17-
PRIVATE
18-
clangCodeGen
19-
)

clang/lib/CodeGen/Targets/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,3 @@ add_clang_library(clangCodeGenTargets STATIC
2828
X86.cpp
2929
XCore.cpp
3030
)
31-
32-
target_link_libraries(clangCodeGenTargets
33-
PRIVATE
34-
clangCodeGen
35-
)

0 commit comments

Comments
 (0)