From c5b2fa96be8a2a07bcbb44d5b48981dbf05beb74 Mon Sep 17 00:00:00 2001 From: Vincent Tang Date: Thu, 16 May 2024 23:02:41 +0000 Subject: [PATCH] #8027: change sentry python_env caching to use `create_venv.sh` instead of `build_metal.sh` --- .github/actions/install-python-deps/action.yml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/install-python-deps/action.yml b/.github/actions/install-python-deps/action.yml index c61d08be2c4..1aab6cc6520 100644 --- a/.github/actions/install-python-deps/action.yml +++ b/.github/actions/install-python-deps/action.yml @@ -18,4 +18,4 @@ runs: cache-dependency-path: | tt_metal/python_env/requirements-dev.txt pyproject.toml - install-cmd: CONFIG=ci ./build_metal.sh + install-cmd: ./scripts/build_scripts/create_venv.sh diff --git a/setup.py b/setup.py index f7ecee9c4f0..232726e63b8 100644 --- a/setup.py +++ b/setup.py @@ -134,7 +134,7 @@ def run(self) -> None: nproc = subprocess.check_output(["nproc"]).decode().strip() build_args = [f"-j{nproc}"] - subprocess.check_call(["cmake", source_dir, *cmake_args], cwd=build_dir, env=build_env) + subprocess.check_call(["cmake", "-G", "Ninja", source_dir, *cmake_args], cwd=build_dir, env=build_env) subprocess.check_call( ["cmake", "--build", ".", "--target", "install", *build_args], cwd=build_dir, env=build_env )