summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Beal <james.beal+github@sanger.ac.uk>2024-01-15 19:08:04 +0000
committerGitHub <noreply@github.com>2024-01-15 12:08:04 -0700
commit7a8a168b813446905f56de3c425deb395d102a6e (patch)
treea814af799047ee72532fd5f3b7275761147496d0
parentcf3f275716460ad5cc27bc20f9c7666e2c23cb00 (diff)
downloadspack-7a8a168b813446905f56de3c425deb395d102a6e.tar.gz
spack-7a8a168b813446905f56de3c425deb395d102a6e.tar.bz2
spack-7a8a168b813446905f56de3c425deb395d102a6e.tar.xz
spack-7a8a168b813446905f56de3c425deb395d102a6e.zip
The signature of filter_file is (#42092)
-rw-r--r--var/spack/repos/builtin/packages/itensor/package.py4
-rw-r--r--var/spack/repos/builtin/packages/skilion-onedrive/package.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/itensor/package.py b/var/spack/repos/builtin/packages/itensor/package.py
index d121e086a0..037050af2c 100644
--- a/var/spack/repos/builtin/packages/itensor/package.py
+++ b/var/spack/repos/builtin/packages/itensor/package.py
@@ -80,10 +80,10 @@ class Itensor(MakefilePackage):
vinc += " -fpermissive"
vinc += " -DHAVE_LAPACK_CONFIG_H"
vinc += " -DLAPACK_COMPLEX_STRUCTURE"
- filter_file("#PLATFORM=lapack", vinc, mf, String=True)
+ filter_file("#PLATFORM=lapack", vinc, mf, string=True)
elif ltype == "intel-mkl":
vpla = "PLATFORM=mkl"
- filter_file("#PLATFORM=lapack", vinc, mf, String=True)
+ filter_file("#PLATFORM=lapack", vinc, mf, string=True)
filter_file(r"^PLATFORM.+", vpla, mf)
filter_file(r"^BLAS_LAPACK_LIBFLAGS.+", vlib, mf)
diff --git a/var/spack/repos/builtin/packages/skilion-onedrive/package.py b/var/spack/repos/builtin/packages/skilion-onedrive/package.py
index 87befed09d..116864412f 100644
--- a/var/spack/repos/builtin/packages/skilion-onedrive/package.py
+++ b/var/spack/repos/builtin/packages/skilion-onedrive/package.py
@@ -28,7 +28,7 @@ class SkilionOnedrive(MakefilePackage):
makefile.filter("$(shell git describe --tags)", "{0}".format(spec.version), string=True)
# Patch sqlite.d https://github.com/skilion/onedrive/issues/392
sqlited = FileFilter("src/sqlite.d")
- sqlited.filter("std.c.stdlib", "core.stdc.stdlib", String=True)
+ sqlited.filter("std.c.stdlib", "core.stdc.stdlib", string=True)
def build(self, spec, prefix):
make("onedrive", "DESTDIR={0}".format(prefix), "PREFIX=/")