mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-04 15:09:40 +00:00
Toolchain: Use ninja to bootstrap CMake
For some reason (for me) on Ubuntu 22.04 the standard make generator fails: --------------------------------------------- CMake has bootstrapped. Now run gmake. make: make: Permission denied make: *** [Makefile:166: all] Error 127 This seems to be because Source/kwsys/CMakeFiles/cmsys.dir/depend is missing or not generated. Using ninja works fine though, and as it is already the default for Serenity proper, it seems reasonable to switch it here too.
This commit is contained in:
parent
36c8c1129b
commit
4c2ad70066
|
@ -77,7 +77,7 @@ mkdir -p "${PREFIX_DIR}"
|
|||
mkdir -p "${BUILD_DIR}"
|
||||
|
||||
pushd "${BUILD_DIR}"
|
||||
"${TARBALLS_DIR}"/cmake-"${CMAKE_VERSION}"/bootstrap --prefix="${PREFIX_DIR}" --parallel="${MAKEJOBS}"
|
||||
make -j "${MAKEJOBS}"
|
||||
make install
|
||||
"${TARBALLS_DIR}"/cmake-"${CMAKE_VERSION}"/bootstrap --generator="Ninja" --prefix="${PREFIX_DIR}" --parallel="${MAKEJOBS}"
|
||||
ninja -j "${MAKEJOBS}"
|
||||
ninja install
|
||||
popd
|
||||
|
|
Loading…
Reference in a new issue