File tree 4 files changed +4
-19
lines changed
4 files changed +4
-19
lines changed Original file line number Diff line number Diff line change @@ -62,21 +62,6 @@ if (LLDB_ENABLE_SWIFT_SUPPORT)
62
62
endif ()
63
63
endif ()
64
64
65
- # When we have the early SwiftSyntax build, we can include its parser.
66
- if (LLDB_ENABLE_SWIFT_SUPPORT)
67
- if (SWIFT_PATH_TO_EARLYSWIFTSYNTAX_BUILD_DIR)
68
- set (SWIFT_PATH_TO_EARLYSWIFTSYNTAX_TARGETS
69
- ${SWIFT_PATH_TO_EARLYSWIFTSYNTAX_BUILD_DIR} /cmake/SwiftSyntaxTargets.cmake)
70
- if (NOT EXISTS "${SWIFT_PATH_TO_EARLYSWIFTSYNTAX_TARGETS} " )
71
- message (STATUS "Skipping Swift Swift parser integration due to missing early SwiftSyntax" )
72
- else ()
73
- set (SWIFT_SWIFT_PARSER TRUE )
74
- include (${SWIFT_PATH_TO_EARLYSWIFTSYNTAX_TARGETS} )
75
- endif ()
76
- endif ()
77
- endif ()
78
- # END - Swift Mods
79
-
80
65
# Define the LLDB_CONFIGURATION_xxx matching the build type.
81
66
if (uppercase_CMAKE_BUILD_TYPE STREQUAL "DEBUG" )
82
67
add_definitions (-DLLDB_CONFIGURATION_DEBUG)
Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ function(add_properties_for_swift_modules target reldir)
191
191
endif ()
192
192
193
193
if (NOT BOOTSTRAPPING_MODE)
194
- if (SWIFT_SWIFT_PARSER )
194
+ if (SWIFT_BUILD_SWIFT_SYNTAX )
195
195
set (APSM_BOOTSTRAPPING_MODE "HOSTTOOLS" )
196
196
endif ()
197
197
else ()
@@ -238,7 +238,7 @@ function(add_properties_for_swift_modules target reldir)
238
238
endif ()
239
239
endif ()
240
240
241
- if (SWIFT_SWIFT_PARSER )
241
+ if (SWIFT_BUILD_SWIFT_SYNTAX )
242
242
if (CMAKE_SYSTEM_NAME MATCHES "Darwin" )
243
243
set_property (TARGET ${target}
244
244
APPEND PROPERTY BUILD_RPATH "@loader_path/${build_reldir} lib/swift/host" )
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ target_include_directories(lldb-server PRIVATE "${LLDB_SOURCE_DIR}/source")
70
70
target_link_libraries (lldb-server PRIVATE ${LLDB_SYSTEM_LIBS} )
71
71
72
72
# BEGIN Swift Mods
73
- if (SWIFT_SWIFT_PARSER )
73
+ if (SWIFT_BUILD_SWIFT_SYNTAX )
74
74
add_properties_for_swift_modules(lldb-server "../" )
75
75
endif ()
76
76
# END Swift Mods
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ function(add_lldb_unittest test_name)
36
36
target_link_libraries (${test_name} PRIVATE ${ARG_LINK_LIBS} )
37
37
38
38
# BEGIN Swift Mods
39
- if (SWIFT_SWIFT_PARSER )
39
+ if (SWIFT_BUILD_SWIFT_SYNTAX )
40
40
add_properties_for_swift_modules(${test_name} "../" )
41
41
endif ()
42
42
# END Swift Mods
You can’t perform that action at this time.
0 commit comments