File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
swift-ci/sdks/static-linux/scripts Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,15 @@ function run() {
229
229
" $@ "
230
230
}
231
231
232
+ header " Building CMake from source"
233
+
234
+ quiet_pushd ${source_dir} /swift-project/cmake
235
+ run ./bootstrap --no-qt-gui -- -DCMAKE_USE_OPENSSL=OFF
236
+ run make -j$parallel_jobs
237
+ run export PATH=${source_dir} /swift-project/cmake/bin:$PATH
238
+ quiet_popd
239
+ run cmake --version
240
+
232
241
header " Patching Musl"
233
242
234
243
echo -n " Patching Musl for locale support... "
642
651
--musl-path=${build_dir} /sdk_root \
643
652
--linux-static-arch=$arch \
644
653
--install-destdir=$sdk_root \
654
+ --cmake=${source_dir} /swift-project/cmake/bin/cmake \
645
655
--install-prefix=/usr \
646
656
--swift-install-components=" libexec;stdlib;sdk-overlay" \
647
657
--extra-cmake-options=" -DSWIFT_SHOULD_BUILD_EMBEDDED_STDLIB=NO -DLLVM_USE_LINKER=lld -DLLVM_NO_DEAD_STRIP=On" \
You can’t perform that action at this time.
0 commit comments