diff --git a/.github/actions/install-metal-dev-deps/dependencies.json b/.github/actions/install-metal-dev-deps/dependencies.json index 44055c7397d0..a0a2d7d58076 100644 --- a/.github/actions/install-metal-dev-deps/dependencies.json +++ b/.github/actions/install-metal-dev-deps/dependencies.json @@ -7,7 +7,8 @@ "pandoc", "libtbb-dev", "libcapstone-dev", - "pkg-config" + "pkg-config", + "ninja-build" ], "ubuntu-22.04": [ "git", @@ -15,6 +16,7 @@ "pandoc", "libtbb-dev", "libcapstone-dev", - "pkg-config" + "pkg-config", + "ninja-build" ] } diff --git a/INSTALLING.md b/INSTALLING.md index e7146bd39296..97f4bfb6ab17 100644 --- a/INSTALLING.md +++ b/INSTALLING.md @@ -119,7 +119,7 @@ Please follow the next additional steps if you want to contribute to the codebas 1. Install dependencies ```sh -sudo apt install clang-6.0=1:6.0.1-14 git git-lfs cmake=3.16.3-1ubuntu1.20.04.1 pandoc libtbb-dev libcapstone-dev pkg-config +sudo apt install clang-6.0=1:6.0.1-14 git git-lfs cmake=3.16.3-1ubuntu1.20.04.1 pandoc libtbb-dev libcapstone-dev pkg-config ninja-build ``` 2. Download and install [Doxygen](https://www.doxygen.nl/download.html), (v1.9 or higher, but less than v1.10) diff --git a/build_metal.sh b/build_metal.sh index 088de2613d5d..85dde2899313 100755 --- a/build_metal.sh +++ b/build_metal.sh @@ -18,8 +18,8 @@ else fi echo "Building tt-metal" -cmake -B build -cmake --build build -- -j`nproc` +cmake -B build -G Ninja +cmake --build build cmake --build build --target metal-install echo "Creating virtual env in: $PYTHON_ENV_DIR"