Skip to content

Commit

Permalink
Set env var directly before compile
Browse files Browse the repository at this point in the history
  • Loading branch information
samjwu committed Apr 24, 2024
1 parent 72a96c2 commit 48923e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,8 @@ jobs:
sudo apt-get update
sudo apt-get install -y cmake
- name: Configure environment variables for ROCm
- name: Check ROCm
run: |
export ROCM_PATH=/opt/rocm
export CMAKE_PREFIX_PATH=/opt/rocm:/opt/rocm/bin:/opt/rocm/include:/opt/rocm/lib
ls /opt/rocm -R
# Initializes the CodeQL tools for scanning.
Expand All @@ -96,7 +94,9 @@ jobs:
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- if: matrix.build-mode == 'manual'
run: |
echo 'Using "manual" build mode'
echo 'Using manual build mode'
export ROCM_PATH=/opt/rocm
export CMAKE_PREFIX_PATH=/opt/rocm:/opt/rocm/bin:/opt/rocm/include:/opt/rocm/lib
echo 'Building library with install script'
./install --install
exit 1
Expand Down

0 comments on commit 48923e1

Please sign in to comment.