aboutsummaryrefslogtreecommitdiff
path: root/.ci/scripts/clang/docker.sh
diff options
context:
space:
mode:
authorliushuyu <liushuyu011@gmail.com>2021-12-23 04:43:24 -0700
committerliushuyu <liushuyu011@gmail.com>2022-07-04 21:21:56 -0600
commit43a1948d5807469b5ddcea0e3f69b5659171d742 (patch)
tree712ae23c8edda7166d5243f59bcd82b413b9bcbc /.ci/scripts/clang/docker.sh
parenta1815b617ceebf9a0a43c6fb89a13ac7f37f9ba4 (diff)
CI: use Ninja to build stuff faster
Diffstat (limited to '.ci/scripts/clang/docker.sh')
-rwxr-xr-x.ci/scripts/clang/docker.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.ci/scripts/clang/docker.sh b/.ci/scripts/clang/docker.sh
index 4bb07105a..94a9ca0ec 100755
--- a/.ci/scripts/clang/docker.sh
+++ b/.ci/scripts/clang/docker.sh
@@ -6,9 +6,9 @@ set -e
ccache -s
mkdir build || true && cd build
-cmake .. -DDISPLAY_VERSION=$1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/lib/ccache/clang -DCMAKE_CXX_COMPILER=/usr/lib/ccache/clang++ -DYUZU_ENABLE_COMPATIBILITY_REPORTING=${ENABLE_COMPATIBILITY_REPORTING:-"OFF"} -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DUSE_DISCORD_PRESENCE=ON -DENABLE_QT_TRANSLATION=ON -DCMAKE_INSTALL_PREFIX="/usr"
+cmake .. -GNinja -DDISPLAY_VERSION=$1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/lib/ccache/clang -DCMAKE_CXX_COMPILER=/usr/lib/ccache/clang++ -DYUZU_ENABLE_COMPATIBILITY_REPORTING=${ENABLE_COMPATIBILITY_REPORTING:-"OFF"} -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DUSE_DISCORD_PRESENCE=ON -DENABLE_QT_TRANSLATION=ON -DCMAKE_INSTALL_PREFIX="/usr"
-make -j$(nproc)
+ninja
ccache -s