use ninja instead of make

This commit is contained in:
lyon1998 2022-04-08 11:25:23 +08:00
parent fa7d8ec71f
commit 1c706af8b8
3 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
cd Release && make -j
cd Release && ninja -j8
cd ..
RUN_TIMES=$1

View File

@ -16,14 +16,14 @@ rm build -rf
mkdir build
sh api-make.sh
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug ..
cd $ROOT
rm Release -rf
mkdir Release
cd Release
cmake -DCMAKE_BUILD_TYPE=Release -DPIKA_CONFIG_ENABLE=ON ..
make -j
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DPIKA_CONFIG_ENABLE=ON ..
ninja -j0
cd $ROOT
sh make.sh

View File

@ -1,3 +1,3 @@
sh api-make.sh
cd build
make -j
ninja -j0