phist: new version 1.12.1 and conflict some compiler/library combinations for earlier versions (#46802)

This commit is contained in:
Jonas Thies 2024-10-07 23:07:03 +02:00 committed by GitHub
parent 717d4800e1
commit d8c7cbe8f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ class Phist(CMakePackage):
"""
homepage = "https://bitbucket.org/essex/phist/"
url = "https://bitbucket.org/essex/phist/get/phist-1.11.2.tar.gz"
url = "https://bitbucket.org/essex/phist/get/phist-1.12.1.tar.gz"
git = "https://bitbucket.org/essex/phist.git"
maintainers("jthies")
@ -36,6 +36,9 @@ class Phist(CMakePackage):
version("develop", branch="devel")
version("master", branch="master")
# fixes for tpetra/ghost, clang/Intel-LLVM
version("1.12.1", sha256="6b8fe8a994bf6baf698aa691fc2cbecd62cc60219073e48bfe6fd954c0303b9f")
# compatible with trilinos@14:
version("1.12.0", sha256="0f02e39b16d14cf7c47a3c468e788c7c0e71857eb1c0a4edb601e1e5b67e8668")
@ -140,6 +143,9 @@ class Phist(CMakePackage):
description="generate Fortran 2003 bindings (requires Python3 and " "a Fortran compiler)",
)
# Build error with LLVM and recent Trilinos, fixed in phist-1.12.1
conflicts("%clang", when="kernel_lib=tpetra @:1.12.0")
conflicts("%oneapi", when="kernel_lib=tpetra @:1.12.0")
# Trilinos 14 had some tpetra/kokkos API changes that are reflected in the phist 1.12 tag
conflicts("^trilinos@14:", when="@:1.11.2")
# Build error with cray-libsci because they define macro 'I', workaround in phist-1.11.2