-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update GCC CI to match the GSI. * Update cmake version. Update Intel CI to match GSI. * Let the OS install cmake instead of spack * Update Intel MPI compiler names * Force clean dependency installs
- Loading branch information
1 parent
bb03e17
commit 7b05931
Showing
3 changed files
with
23 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,8 @@ jobs: | |
df -h | ||
- name: checkout # This is for getting spack.yaml | ||
uses: actions/checkout@v3 | ||
if: steps.cache-env.outputs.cache-hit != 'true' | ||
uses: actions/checkout@v4 | ||
with: | ||
path: gsi-utils | ||
|
||
|
@@ -70,19 +71,21 @@ jobs: | |
source spack/share/spack/setup-env.sh | ||
spack env create gsiutils-env gsi-utils/ci/spack.yaml | ||
spack env activate gsiutils-env | ||
spack compiler find | ||
sudo apt install cmake | ||
spack external find | ||
spack add [email protected] | ||
spack concretize | ||
spack install -v --fail-fast --dirty | ||
spack clean --all | ||
gsi-monitor: | ||
gsi-utils: | ||
needs: setup | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
path: gsi-utils | ||
|
||
|
@@ -99,10 +102,11 @@ jobs: | |
run: | | ||
source spack/share/spack/setup-env.sh | ||
spack env activate gsiutils-env | ||
export CC=mpicc | ||
export FC=mpif90 | ||
cd gsi-utils | ||
mkdir -p build && cd build | ||
cmake -DCMAKE_INSTALL_PREFIX=../install -DBUILD_UTIL_ALL=ON .. | ||
make -j2 VERBOSE=1 | ||
make install | ||
env: | ||
CC: mpicc | ||
FC: mpif90 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,6 @@ spack: | |
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
view: true | ||
concretizer: | ||
unify: when_possible |