Skip to content

Commit 57ebca8

Browse files
committed
CMake: Break some dependency cycles between compiler libraries.
- Remove cycle between swiftIRGen and swiftTBGen. - Remove cycle between swiftSIL and swiftSerialization. - Remove cycle between swiftFrontendTool and swiftIDE.
1 parent ac131df commit 57ebca8

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

lib/FrontendTool/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ target_link_libraries(swiftFrontendTool PRIVATE
1717
swiftDemangling
1818
swiftDependencyScan
1919
swiftFrontend
20-
swiftIDE
2120
swiftImmediate
2221
swiftIndex
2322
swiftIRGen

lib/IRGen/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ target_link_libraries(swiftIRGen PRIVATE
7373
swiftLLVMPasses
7474
swiftSIL
7575
swiftSILGen
76-
swiftSILOptimizer
77-
swiftTBDGen)
76+
swiftSILOptimizer)
7877

7978
set_swift_llvm_is_available(swiftIRGen)

lib/SIL/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ add_swift_host_library(swiftSIL STATIC
33
target_link_libraries(swiftSIL PUBLIC
44
swiftDemangling)
55
target_link_libraries(swiftSIL PRIVATE
6-
swiftSema
7-
swiftSerialization)
6+
swiftSema)
87

98
add_subdirectory(IR)
109
add_subdirectory(Utils)

0 commit comments

Comments
 (0)