From 0f080b38f4c81221f030554d7e723d7f3c303f9b Mon Sep 17 00:00:00 2001 From: downloadico Date: Tue, 12 Mar 2024 15:04:35 -0600 Subject: abinit: add version 9.10.5 (#43148) set the FC variable to the MPI Fortran compiler and also set the F90 variable to the same compiler for versions 9.8 and up. FC needs to be set because the configure script still uses FC. --- var/spack/repos/builtin/packages/abinit/package.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/var/spack/repos/builtin/packages/abinit/package.py b/var/spack/repos/builtin/packages/abinit/package.py index 37ff8afb9c..47c69fc402 100644 --- a/var/spack/repos/builtin/packages/abinit/package.py +++ b/var/spack/repos/builtin/packages/abinit/package.py @@ -26,10 +26,10 @@ class Abinit(AutotoolsPackage): homepage = "https://www.abinit.org/" url = "https://www.abinit.org/sites/default/files/packages/abinit-8.6.3.tar.gz" - license("Apache-2.0") maintainers("downloadico") + version("9.10.5", sha256="a9e0f0e058baa6088ea93d26ada369ccf0fe52dc9d4a865b1c38c20620148cd5") version("9.10.3", sha256="3f2a9aebbf1fee9855a09dd687f88d2317b8b8e04f97b2628ab96fb898dce49b") version("9.8.4", sha256="a086d5045f0093b432e6a044d5f71f7edf5a41a62d67b3677cb0751d330c564a") version("9.8.3", sha256="de823878aea2c20098f177524fbb4b60de9b1b5971b2e835ec244dfa3724589b") @@ -181,10 +181,9 @@ class Abinit(AutotoolsPackage): if "+mpi" in spec: oapp(f"CC={spec['mpi'].mpicc}") oapp(f"CXX={spec['mpi'].mpicxx}") + oapp(f"FC={spec['mpi'].mpifc}") if spec.satisfies("@9.8:"): oapp(f"F90={spec['mpi'].mpifc}") - else: - oapp(f"FC={spec['mpi'].mpifc}") # MPI version: # let the configure script auto-detect MPI support from mpi_prefix -- cgit v1.2.3-70-g09d2