Skip to content

Commit

Permalink
Try setvars for IPP caching
Browse files Browse the repository at this point in the history
  • Loading branch information
sudara authored Feb 6, 2024
1 parent a5018c3 commit 198fff7
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/cmake_ctest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ jobs:
key: ipp-v4
path: C:\Program Files (x86)\Intel

- name: Set IPP_ROOT for CMake
if: runner.os == 'Windows'
shell: bash
run: echo "IPP_ROOT=${{ env.ProgramFiles(x86) }}/Intel/oneAPI/ipp/latest/lib/cmake/ipp/" >> $GITHUB_ENV

- name: Install IPP (Windows)
if: (runner.os == 'Windows') && (steps.cache-ipp.outputs.cache-hit != 'true')
shell: bash
Expand All @@ -76,6 +71,13 @@ jobs:
./oneapi.exe -s -x -f oneapi
./oneapi/bootstrapper.exe -s -c --action install --components=intel.oneapi.win.ipp.devel --eula=accept -p=NEED_VS2022_INTEGRATION=1 --log-dir=.
- name: Set IPP_ROOT and setvars for CMake
if: runner.os == 'Windows'
shell: bash
run: |
echo "IPP_ROOT=${{ env.ProgramFiles(x86) }}/Intel/oneAPI/ipp/latest/lib/cmake/ipp/" >> $GITHUB_ENV
C:\Program Files (x86)\Intel\Intel\oneAPI\setvars-vcvarsall.bat
- name: Save IPP cache (even on CI fail)
if: runner.os == 'Windows' && (steps.cache-ipp.outputs.cache-hit != 'true')
uses: actions/cache/save@v3
Expand Down

0 comments on commit 198fff7

Please sign in to comment.