-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #201 from LLNL/bugfix/hdf5-lib
hdf5 lib issue
- Loading branch information
Showing
7 changed files
with
75 additions
and
27 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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Test external build. | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- .uberenv_config.json | ||
- scripts/spack/** | ||
- scripts/devtools/** | ||
|
||
env: | ||
REGISTRY: ghcr.io | ||
IMAGE_NAME: llnl/spheral | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Log into registry ${{ env.REGISTRY }} | ||
if: github.event_name != 'pull_request' | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: build env image | ||
run: docker build --target spheral-build-env-local --tag spheral-build-env . | ||
|
||
- name: build spheral image | ||
run: docker build --target spheral --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest --network none . | ||
|
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
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 |
---|---|---|
@@ -1 +1,5 @@ | ||
set(${lib_name}_libs libhdf5.a libhdf5_hl.a) | ||
set(${lib_name}_libs libhdf5.so libhdf5_hl.so) | ||
|
||
if(ENABLE_STATIC_TPL) | ||
string(REPLACE ".so" ".a;" ${lib_name}_libs ${${lib_name}_libs}) | ||
endif() |
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
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
import socket | ||
import os | ||
|
||
class Spheral(CachedCMakePackage, CudaPackage, PythonPackage): | ||
class Spheral(CachedCMakePackage, CudaPackage): | ||
"""Spheral++ provides a steerable parallel environment for performing coupled hydrodynamical and gravitational numerical simulations.""" | ||
|
||
homepage = "https://spheral.readthedocs.io/" | ||
|
@@ -44,14 +44,14 @@ class Spheral(CachedCMakePackage, CudaPackage, PythonPackage): | |
depends_on('m-aneos') | ||
depends_on('py-polyclipper') | ||
depends_on('[email protected]', type='build') | ||
depends_on('[email protected] ~shared ~mpi +hl', type='build', when='~mpi') | ||
depends_on('[email protected] ~shared +mpi +hl', type='build', when='+mpi') | ||
depends_on('[email protected] ~mpi +hl', type='build', when='~mpi') | ||
depends_on('[email protected] +mpi +hl', type='build', when='+mpi') | ||
|
||
depends_on('[email protected] +hdf5', type='build') | ||
|
||
# Zlib fix has been merged into conduit, using develop until next release. | ||
depends_on('[email protected] +shared +mpi +hdf5 -test', type='build', when='+mpi') | ||
depends_on('[email protected] +shared ~mpi +hdf5 -test', type='build', when='~mpi') | ||
depends_on('[email protected] +shared +mpi +hdf5 -test ~parmetis', type='build', when='+mpi') | ||
depends_on('[email protected] +shared ~mpi +hdf5 -test ~parmetis', type='build', when='~mpi') | ||
|
||
depends_on('[email protected] ~shared +mpi +hdf5 -lua -examples -python -fortran -umpire -raja', type='build', when='+mpi') | ||
depends_on('[email protected] ~shared ~mpi +hdf5 -lua -examples -python -fortran -umpire -raja', type='build', when='~mpi') | ||
|