We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 19b55ed + 9b6ff03 commit eb02f20Copy full SHA for eb02f20
utils/build-script-impl
@@ -1988,6 +1988,15 @@ for host in "${ALL_HOSTS[@]}"; do
1988
-DINTERNAL_INSTALL_PREFIX="local"
1989
)
1990
1991
+ if [[ "$(uname -s)" == "Linux" ]] ; then
1992
+ # On Linux build LLVM and subprojects with -gsplit-dwarf which is more
1993
+ # space/time efficient than -g on that platform.
1994
+ llvm_cmake_options=(
1995
+ "${llvm_cmake_options[@]}"
1996
+ -DLLVM_USE_SPLIT_DWARF:BOOL=YES
1997
+ )
1998
+ fi
1999
+
2000
if [[ "${DARWIN_TOOLCHAIN_VERSION}" ]] ; then
2001
swift_cmake_options=(
2002
"${swift_cmake_options[@]}"
0 commit comments