Fix var/spack/repos/builtin/packages/ectrans/package.py: instead of declaring a conflict with Intel LLVM compilers, apply patch from upstream (#48687)

This commit is contained in:
Dom Heinzeller 2025-01-23 17:18:48 -07:00 committed by GitHub
parent 27a0593104
commit 51fc195d14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,7 +59,11 @@ class Ectrans(CMakePackage):
depends_on("fiat+mpi", when="+mpi")
# https://github.com/ecmwf-ifs/ectrans/issues/194
conflicts("%oneapi@2025:", when="@1.3.1:1.5.1")
patch(
"https://github.com/ecmwf-ifs/ectrans/commit/98f0d505d5b0866cab68a15e86e1a495bafd93d2.patch?full_index=1",
sha256="17999486a320a5c6a1a442adcdf2c341b49d005f45d09ad0e525594d50bdc39c",
when="@1.3.1:1.5.1",
)
def cmake_args(self):
args = [