Skip to content

Commit

Permalink
In CI, only install hwloc if it's needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
insertinterestingnamehere committed Oct 20, 2023
1 parent f52de83 commit e051092
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
sudo apt-add-repository 'deb https://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main' && break || sleep 1
- name: install compiler
run: sudo apt-get install ${{ matrix.compiler }}
- name: install hwloc
- if: ${{ matrix.topology != 'no' }}
run: |
sudo apt-get install hwloc libhwloc-dev
hwloc-ls --version
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - && break || sleep 1
sudo apt-add-repository 'deb https://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main' && break || sleep 1
sudo apt-get install clang-17
- name: install hwloc
- if: ${{ matrix.topology != "no" }}
run: |
sudo apt-get install hwloc libhwloc-dev
hwloc-ls --version
Expand Down

0 comments on commit e051092

Please sign in to comment.