Skip to content

Commit

Permalink
Force serialbox' compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
dominichofer committed Aug 8, 2024
1 parent ad0a4e9 commit 988477c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions repos/c2sm/packages/icon/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ class Icon(AutotoolsPackage, CudaPackage):

for x in serialization_values:
depends_on('serialbox+fortran', when='serialization={0}'.format(x))
# WORKAROUND: A build and link dependency should imply that the same compiler is used. This enforces it.
depends_on('serialbox %nvhpc', when='%nvhpc')
depends_on('serialbox %gcc', when='%gcc')

depends_on('libcdi-pio+fortran+netcdf', when='+cdi-pio')
depends_on('libcdi-pio grib2=eccodes', when='+cdi-pio+grib2')
Expand Down

0 comments on commit 988477c

Please sign in to comment.