File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1640,6 +1640,12 @@ if(SWIFT_ENABLE_NEW_RUNTIME_BUILD)
1640
1640
set (stdlib_deployment_version_flag -DCMAKE_OSX_DEPLOYMENT_TARGET=${SWIFT_SDK_${sdk}_DEPLOYMENT_VERSION} )
1641
1641
endif ()
1642
1642
1643
+ if (sdk STREQUAL "OSX" AND SWIFT_SDK_${sdk}_DEPLOYMENT_VERSION VERSION_LESS "10.15" )
1644
+ set (build_concurrency NO )
1645
+ else ()
1646
+ set (build_concurrency YES )
1647
+ endif ()
1648
+
1643
1649
ExternalProject_Add ("${stdlib_target} -core"
1644
1650
SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR} /Runtimes/Core"
1645
1651
# TODO: Add this once we're ready to start swapping out the libraries
@@ -1665,7 +1671,7 @@ if(SWIFT_ENABLE_NEW_RUNTIME_BUILD)
1665
1671
-DCMAKE_COLOR_DIAGNOSTICS:BOOLEAN=${CMAKE_COLOR_DIAGNOSTICS}
1666
1672
-DCMAKE_MAKE_PROGRAM=${CMAKE_MAKE_PROGRAM}
1667
1673
-DSwiftCore_INSTALL_NESTED_SUBDIR=YES
1668
- -DSwiftCore_ENABLE_CONCURRENCY=YES )
1674
+ -DSwiftCore_ENABLE_CONCURRENCY=${build_concurrency} )
1669
1675
if (NOT ${CMAKE_CROSSCOMPILING} )
1670
1676
add_dependencies ("${stdlib_target} -core" swift-frontend )
1671
1677
endif ()
You can’t perform that action at this time.
0 commit comments