From bfd058db2427bc57c405222730010385ac6b30b2 Mon Sep 17 00:00:00 2001 From: haralmha <47558670+haralmha@users.noreply.github.com> Date: Mon, 8 Aug 2022 16:23:27 +0200 Subject: [PATCH] crmc: add necessary boost variants and allow argument mismatch for clang (#31928) --- var/spack/repos/builtin/packages/crmc/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/crmc/package.py b/var/spack/repos/builtin/packages/crmc/package.py index b2f96a2ef0..90aadddac6 100644 --- a/var/spack/repos/builtin/packages/crmc/package.py +++ b/var/spack/repos/builtin/packages/crmc/package.py @@ -23,7 +23,7 @@ class Crmc(CMakePackage): version("1.5.6", sha256="a546a9352dcbdb8a1df3d63530eacf16f8b64a190e224b72afd434f78388a8a0") depends_on("hepmc") - depends_on("boost") + depends_on("boost+filesystem+iostreams+system+program_options") depends_on("root") patch( @@ -50,6 +50,6 @@ def cmake_args(self): ] if self.spec.satisfies("@1.6.0:"): args.append("-D__HIJING__=ON") - if self.spec.satisfies("%gcc@9:"): + if self.spec.satisfies("%gcc@9:") or self.spec.satisfies("%clang@13:"): args.append("-DCMAKE_Fortran_FLAGS=-fallow-argument-mismatch") return args