The signature of filter_file is (#42092)
This commit is contained in:
parent
cf3f275716
commit
7a8a168b81
@ -80,10 +80,10 @@ def edit(self, spec, prefix):
|
|||||||
vinc += " -fpermissive"
|
vinc += " -fpermissive"
|
||||||
vinc += " -DHAVE_LAPACK_CONFIG_H"
|
vinc += " -DHAVE_LAPACK_CONFIG_H"
|
||||||
vinc += " -DLAPACK_COMPLEX_STRUCTURE"
|
vinc += " -DLAPACK_COMPLEX_STRUCTURE"
|
||||||
filter_file("#PLATFORM=lapack", vinc, mf, String=True)
|
filter_file("#PLATFORM=lapack", vinc, mf, string=True)
|
||||||
elif ltype == "intel-mkl":
|
elif ltype == "intel-mkl":
|
||||||
vpla = "PLATFORM=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"^PLATFORM.+", vpla, mf)
|
||||||
filter_file(r"^BLAS_LAPACK_LIBFLAGS.+", vlib, mf)
|
filter_file(r"^BLAS_LAPACK_LIBFLAGS.+", vlib, mf)
|
||||||
|
@ -28,7 +28,7 @@ def edit(self, spec, prefix):
|
|||||||
makefile.filter("$(shell git describe --tags)", "{0}".format(spec.version), string=True)
|
makefile.filter("$(shell git describe --tags)", "{0}".format(spec.version), string=True)
|
||||||
# Patch sqlite.d https://github.com/skilion/onedrive/issues/392
|
# Patch sqlite.d https://github.com/skilion/onedrive/issues/392
|
||||||
sqlited = FileFilter("src/sqlite.d")
|
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):
|
def build(self, spec, prefix):
|
||||||
make("onedrive", "DESTDIR={0}".format(prefix), "PREFIX=/")
|
make("onedrive", "DESTDIR={0}".format(prefix), "PREFIX=/")
|
||||||
|
Loading…
Reference in New Issue
Block a user