Skip to content

Commit

Permalink
#8027: change sentry python_env caching to use create_venv.sh inste…
Browse files Browse the repository at this point in the history
…ad of `build_metal.sh`
  • Loading branch information
vtangTT committed May 16, 2024
1 parent 925a14e commit c5b2fa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/install-python-deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit c5b2fa9

Please sign in to comment.