From 90b02de6279b13695d559421761a28f10f6d569f Mon Sep 17 00:00:00 2001 From: Bill Teng <135061747+TT-billteng@users.noreply.github.com> Date: Tue, 14 May 2024 17:30:06 -0700 Subject: [PATCH] Revert "Revert "#8280: use Ninja for build_artifacts and build.yaml"" This reverts commit 83fcbf346d57448bbbd8dddb879db7bffbf14404. --- .github/workflows/build-artifact.yaml | 2 +- .github/workflows/build.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-artifact.yaml b/.github/workflows/build-artifact.yaml index d8f96b8095e..51b908f0332 100644 --- a/.github/workflows/build-artifact.yaml +++ b/.github/workflows/build-artifact.yaml @@ -24,7 +24,7 @@ jobs: - uses: ./.github/actions/install-python-deps - name: Build tt-metal and libs run: | - cmake -B build + cmake -B build -G Ninja cmake --build build --target tests -- -j`nproc` cmake --build build --target metal-install - name: 'Tar files' diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e775c690fc6..c170a40fbdb 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -38,7 +38,7 @@ jobs: echo "TT_METAL_HOME=$(pwd)" >> $GITHUB_ENV - name: Build tt-metal libraries run: | - cmake -B build + cmake -B build -G Ninja cmake --build build -- -j`nproc` - name: Remove unnecessary artifacts run: | @@ -80,7 +80,7 @@ jobs: - name: Build tt-metal tests run: | rm -f build/CMakeCache.txt - cmake -B build + cmake -B build -G Ninja cmake --build build --target tests -- -j`nproc` make-build-lib: strategy: