Skip to content

Commit

Permalink
Load openmpi, and use git.version spack version
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronrutherford authored Sep 19, 2024
1 parent 4306636 commit d5f805f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/spack_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ jobs:
run: spack -e . external find --all --exclude python --exclude curl --exclude openssl

- name: Spack develop HiOp
run: spack -e . develop --path=$(pwd) hiop@develop
run: spack -e . develop --path=$(pwd) hiop@develop@git."${{ github.head_ref || github.ref_name }}"=develop

- name: Concretize
run: spack -e . concretize --fresh
Expand All @@ -176,7 +176,11 @@ jobs:
spack -d -e . install --keep-stage --verbose --show-log-on-error --only package
- name: Test Build
run: cd $(spack -e . location --build-dir hiop@develop) && ctest -VV
run: |
# Not all pipelines have `+mpi`, so this command might fail
spack -e . load openmpi || true
cd $(spack -e . location --build-dir hiop@develop)
ctest -VV
- name: Push binaries to buildcache
run: |
Expand Down

0 comments on commit d5f805f

Please sign in to comment.