summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Thies <16190001+jthies@users.noreply.github.com>2022-10-29 19:12:26 +0200
committerGitHub <noreply@github.com>2022-10-29 10:12:26 -0700
commit83b49070e60c44362638381c949147ef06fbe52c (patch)
tree8adf8550e1c83109d4f12b80c47aa5b76e6c5689
parentef8c15c5eff460d9ae3aa783c212722c6fd581e2 (diff)
downloadspack-83b49070e60c44362638381c949147ef06fbe52c.tar.gz
spack-83b49070e60c44362638381c949147ef06fbe52c.tar.bz2
spack-83b49070e60c44362638381c949147ef06fbe52c.tar.xz
spack-83b49070e60c44362638381c949147ef06fbe52c.zip
phist: add/update conflicts with cray-libsci and/or python@3.11: for … (#33587)
* phist: add/update conflicts with cray-libsci and/or python@3.11: for versions <1.11.2 * phist: style fix
-rw-r--r--var/spack/repos/builtin/packages/phist/package.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/phist/package.py b/var/spack/repos/builtin/packages/phist/package.py
index 94c868589b..840b6e1d67 100644
--- a/var/spack/repos/builtin/packages/phist/package.py
+++ b/var/spack/repos/builtin/packages/phist/package.py
@@ -21,7 +21,7 @@ class Phist(CMakePackage):
"""
homepage = "https://bitbucket.org/essex/phist/"
- url = "https://bitbucket.org/essex/phist/get/phist-1.9.6.tar.gz"
+ url = "https://bitbucket.org/essex/phist/get/phist-1.11.2.tar.gz"
git = "https://bitbucket.org/essex/phist.git"
maintainers = ["jthies"]
@@ -34,7 +34,9 @@ class Phist(CMakePackage):
version("develop", branch="devel")
version("master", branch="master")
+ # compatible with python@3.11: and cray-libsci as BLAS/LAPACK provider
version("1.11.2", sha256="e23f76307c26b930f7331a734b0a864ea6d7fb4a13c12f3c5d70c2c41481747b")
+
# updated lapack interface to work with openblas and netlib-lapack
version("1.11.0", sha256="36e6cc41a13884ba0a26f7be03e3f1882b1a2d14ca04353a609c0eec0cfb7a77")
@@ -129,6 +131,10 @@ class Phist(CMakePackage):
description="generate Fortran 2003 bindings (requires Python3 and " "a Fortran compiler)",
)
+ # Build error with cray-libsci because they define macro 'I', workaround in phist-1.11.2
+ conflicts("^cray-libsci", when="@:1.11.1")
+ # phist@1.11.2 got rid of some deprecated python code
+ conflicts("^python@3.11:", when="@:1.11.1")
# The builtin kernels switched from the 'mpi' to the 'mpi_f08' module in
# phist 1.9.6, which causes compile-time errors with mpich and older
# GCC versions.