From 3ba8b836616c65f429676e26260343e499806909 Mon Sep 17 00:00:00 2001 From: Tommy Gatti Date: Fri, 19 Apr 2024 17:38:11 +1000 Subject: [PATCH] spack.yaml: Now requires variants rather than prefers --- spack.yaml | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/spack.yaml b/spack.yaml index 429d389..04c67d0 100644 --- a/spack.yaml +++ b/spack.yaml @@ -7,27 +7,35 @@ spack: - access-om3@git.2024.04.0 packages: access-om3-nuopc: - require: '@git.0.3.0' - variants: +install_libraries + require: + - '@git.0.3.0' + - +install_libraries esmf: - require: '@8.5.0' - variants: +debug + require: + - '@8.5.0' + - +debug parallelio: - require: '@2.6.2' - variants: build_type=RelWithDebInfo fflags='-qno-opt-dynamic-align -convert big_endian -assume byterecl -ftz -traceback -assume realloc_lhs -fp-model source' cflags='-qno-opt-dynamic-align -fp-model precise -std=gnu99' + require: + - '@2.6.2' + - build_type=RelWithDebInfo fflags='-qno-opt-dynamic-align -convert big_endian -assume byterecl -ftz -traceback -assume realloc_lhs -fp-model source' cflags='-qno-opt-dynamic-align -fp-model precise -std=gnu99' netcdf-c: - require: '@4.9.2' - variants: build_system=cmake build_type=RelWithDebInfo + require: + - '@4.9.2' + - build_system=cmake build_type=RelWithDebInfo netcdf-fortran: - require: '@4.6.1' + require: + - '@4.6.1' fms: - require: '@2023.02' - variants: precision=64 +large_file +deprecated_io ~gfs_phys ~openmp ~quad_precision build_type=RelWithDebInfo + require: + - '@2023.02' + - precision=64 +large_file +deprecated_io ~gfs_phys ~openmp ~quad_precision build_type=RelWithDebInfo openmpi: - require: '@4.1.5' + require: + - '@4.1.5' fortranxml: - require: '@4.1.2' + require: + - '@4.1.2' all: compiler: [intel@2021.6.0]