mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03: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
Notes:
sideshowbarker
2024-07-17 06:51:10 +09:00
Author: https://github.com/MacDue Commit: https://github.com/SerenityOS/serenity/commit/4c2ad70066 Pull-request: https://github.com/SerenityOS/serenity/pull/18679 Reviewed-by: https://github.com/gmta ✅
@ -77,7 +77,7 @@ mkdir -p "${PREFIX_DIR}"
|
|||||||
mkdir -p "${BUILD_DIR}"
|
mkdir -p "${BUILD_DIR}"
|
||||||
|
|
||||||
pushd "${BUILD_DIR}"
|
pushd "${BUILD_DIR}"
|
||||||
"${TARBALLS_DIR}"/cmake-"${CMAKE_VERSION}"/bootstrap --prefix="${PREFIX_DIR}" --parallel="${MAKEJOBS}"
|
"${TARBALLS_DIR}"/cmake-"${CMAKE_VERSION}"/bootstrap --generator="Ninja" --prefix="${PREFIX_DIR}" --parallel="${MAKEJOBS}"
|
||||||
make -j "${MAKEJOBS}"
|
ninja -j "${MAKEJOBS}"
|
||||||
make install
|
ninja install
|
||||||
popd
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user