diff options
author | Thomas Madlener <thomas.madlener@desy.de> | 2020-10-11 03:07:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-10 20:07:43 -0500 |
commit | 31772844d8f7ed693ff0d03e0f84a5b6c917d4a6 (patch) | |
tree | 5a5bf420bc9f98415d07d724feba89e990bdf500 /var | |
parent | ba04e8b890134081d46681f3589a193095615e13 (diff) | |
download | spack-31772844d8f7ed693ff0d03e0f84a5b6c917d4a6.tar.gz spack-31772844d8f7ed693ff0d03e0f84a5b6c917d4a6.tar.bz2 spack-31772844d8f7ed693ff0d03e0f84a5b6c917d4a6.tar.xz spack-31772844d8f7ed693ff0d03e0f84a5b6c917d4a6.zip |
[whizard] Add compiler constraints and minimal ocaml version (#19231)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/whizard/package.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/whizard/package.py b/var/spack/repos/builtin/packages/whizard/package.py index 022e6d8c5d..367a50e336 100644 --- a/var/spack/repos/builtin/packages/whizard/package.py +++ b/var/spack/repos/builtin/packages/whizard/package.py @@ -55,8 +55,8 @@ class Whizard(AutotoolsPackage): variant('latex', default=False, description="data visualization with latex") - depends_on('ocaml', type='build', when="@3:") - depends_on('ocaml~force-safe-string', type='build', when="@:2.99.99") + depends_on('ocaml@4.02.3:', type='build', when="@3:") + depends_on('ocaml@4.02.3:~force-safe-string', type='build', when="@:2.99.99") depends_on('hepmc', when="hepmc=2") depends_on('hepmc3', when="hepmc=3") depends_on('lcio', when="+lcio") @@ -69,6 +69,14 @@ class Whizard(AutotoolsPackage): depends_on('texlive', when="+latex") depends_on('zlib') + conflicts('%gcc@:5.0.99', + msg='gfortran needs to support Fortran 2008. For more detailed information see https://whizard.hepforge.org/compilers.html') + conflicts('%gcc@6.5.0', + msg='Due to severe regressions, gfortran 6.5.0 can not be used. See https://whizard.hepforge.org/compilers.html') + + conflicts('%intel@:17', + msg='The fortran compiler needs to support Fortran 2008. For more detailed information see https://whizard.hepforge.org/compilers.html') + def setup_build_environment(self, env): # whizard uses the compiler during runtime, # and seems incompatible with |