phist: new version 1.12.0 (#39616)

This commit is contained in:
Jonas Thies 2023-08-25 03:12:42 +02:00 committed by GitHub
parent 91d674f5d0
commit 884a5b8b07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,6 +34,9 @@ class Phist(CMakePackage):
version("develop", branch="devel") version("develop", branch="devel")
version("master", branch="master") version("master", branch="master")
# compatible with trilinos@14:
version("1.12.0", sha256="0f02e39b16d14cf7c47a3c468e788c7c0e71857eb1c0a4edb601e1e5b67e8668")
# compatible with python@3.11: and cray-libsci as BLAS/LAPACK provider # compatible with python@3.11: and cray-libsci as BLAS/LAPACK provider
version("1.11.2", sha256="e23f76307c26b930f7331a734b0a864ea6d7fb4a13c12f3c5d70c2c41481747b") version("1.11.2", sha256="e23f76307c26b930f7331a734b0a864ea6d7fb4a13c12f3c5d70c2c41481747b")
@ -131,6 +134,8 @@ class Phist(CMakePackage):
description="generate Fortran 2003 bindings (requires Python3 and " "a Fortran compiler)", description="generate Fortran 2003 bindings (requires Python3 and " "a Fortran compiler)",
) )
# 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 # Build error with cray-libsci because they define macro 'I', workaround in phist-1.11.2
conflicts("^cray-libsci", when="@:1.11.1") conflicts("^cray-libsci", when="@:1.11.1")
# phist@1.11.2 got rid of some deprecated python code # phist@1.11.2 got rid of some deprecated python code
@ -248,6 +253,7 @@ def cmake_args(self):
lapacke_include_dir = spec["lapack:c"].headers.directories[0] lapacke_include_dir = spec["lapack:c"].headers.directories[0]
args = [ args = [
"-DCMAKE_FIND_DEBUG_MODE=On",
"-DPHIST_USE_CCACHE=OFF", "-DPHIST_USE_CCACHE=OFF",
"-DPHIST_KERNEL_LIB=%s" % kernel_lib, "-DPHIST_KERNEL_LIB=%s" % kernel_lib,
"-DPHIST_OUTLEV=%s" % outlev, "-DPHIST_OUTLEV=%s" % outlev,