From f9d4f30e4a84a75efa733e9b2e0c63262ace78df Mon Sep 17 00:00:00 2001 From: Mo Date: Wed, 19 Jun 2024 17:40:06 +0000 Subject: [PATCH] #9406: Remove create env from profiler build script --- .github/workflows/metal-run-microbenchmarks.yaml | 4 +++- .github/workflows/perf-device-models.yaml | 1 + .github/workflows/run-profiler-regression.yaml | 1 + .github/workflows/t3000-profiler-tests.yaml | 1 + scripts/build_scripts/build_with_profiler_opt.sh | 1 - 5 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/metal-run-microbenchmarks.yaml b/.github/workflows/metal-run-microbenchmarks.yaml index 9ff46e2b253d..3e167c2b4a75 100644 --- a/.github/workflows/metal-run-microbenchmarks.yaml +++ b/.github/workflows/metal-run-microbenchmarks.yaml @@ -32,7 +32,9 @@ jobs: run: | echo "TT_METAL_HOME=$(pwd)" >> $GITHUB_ENV - name: Build tt-metal and libs - run: ./scripts/build_scripts/build_with_profiler_opt.sh + run: | + ./scripts/build_scripts/build_with_profiler_opt.sh + ./create_venv.sh - name: Build tests run: cmake --build build --target tests -- -j`nproc` - name: Run microbenchmark tests diff --git a/.github/workflows/perf-device-models.yaml b/.github/workflows/perf-device-models.yaml index aae94526dc0a..97717bf73827 100644 --- a/.github/workflows/perf-device-models.yaml +++ b/.github/workflows/perf-device-models.yaml @@ -38,6 +38,7 @@ jobs: - name: Build tt-metal and libs run: | ./scripts/build_scripts/build_with_profiler_opt.sh + ./create_venv.sh - name: Run device performance regressions timeout-minutes: ${{ matrix.test-info.timeout }} run: | diff --git a/.github/workflows/run-profiler-regression.yaml b/.github/workflows/run-profiler-regression.yaml index 27a97c17c4c6..c31ac1dc92df 100644 --- a/.github/workflows/run-profiler-regression.yaml +++ b/.github/workflows/run-profiler-regression.yaml @@ -34,6 +34,7 @@ jobs: - name: Build tt-metal and libs run: | ./scripts/build_scripts/build_with_profiler_opt.sh + ./create_venv.sh - name: Run profiler regression tests timeout-minutes: 30 run: | diff --git a/.github/workflows/t3000-profiler-tests.yaml b/.github/workflows/t3000-profiler-tests.yaml index 99942f933141..0613f400264f 100644 --- a/.github/workflows/t3000-profiler-tests.yaml +++ b/.github/workflows/t3000-profiler-tests.yaml @@ -35,6 +35,7 @@ jobs: - name: Build tt-metal and libs run: | ./scripts/build_scripts/build_with_profiler_opt.sh + ./create_venv.sh - name: Run profiler regression tests timeout-minutes: 30 run: | diff --git a/scripts/build_scripts/build_with_profiler_opt.sh b/scripts/build_scripts/build_with_profiler_opt.sh index 773ec435d049..f4ca58a42472 100755 --- a/scripts/build_scripts/build_with_profiler_opt.sh +++ b/scripts/build_scripts/build_with_profiler_opt.sh @@ -22,4 +22,3 @@ fi cmake --build build --target install cmake --build build --target programming_examples -./create_venv.sh