Skip to content

Commit

Permalink
Get rid of "env." prefix as it is not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
thilinarmtb committed Jan 6, 2025
1 parent 6e1eb04 commit 6ebb1fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ jobs:
- name: Compiler info
if: ${{ !matrix.useCMake }}
run: make PREFIX=${{ env.OCCA_INSTALL_DIR }} -j 16 info
run: make PREFIX=${OCCA_INSTALL_DIR} -j 16 info

- name: CMake configure
if: ${{ matrix.useCMake && !matrix.useoneAPI}}
run: |
cmake -S . -B build \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_INSTALL_PREFIX=${{ env.OCCA_INSTALL_DIR }} \
-DCMAKE_INSTALL_PREFIX=${OCCA_INSTALL_DIR} \
-DCMAKE_C_COMPILER=${CC} \
-DCMAKE_CXX_COMPILER=${CXX} \
-DCMAKE_Fortran_COMPILER=${FC} \
Expand All @@ -131,7 +131,7 @@ jobs:
source /opt/intel/oneapi/setvars.sh
cmake -S . -B build \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_INSTALL_PREFIX=${{ env.OCCA_INSTALL_DIR }} \
-DCMAKE_INSTALL_PREFIX=${OCCA_INSTALL_DIR} \
-DCMAKE_C_COMPILER=${CC} \
-DCMAKE_CXX_COMPILER=${CXX} \
-DCMAKE_Fortran_COMPILER=${FC} \
Expand Down

0 comments on commit 6ebb1fa

Please sign in to comment.