bliss: add spaces to __DATE__ (#17385)

C++11 requires a space between literal and string macro.
This commit is contained in:
ketsubouchi 2020-07-07 18:28:55 +09:00 committed by GitHub
parent 845139740f
commit d65a076c0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,7 @@ class Bliss(Package):
patch("Makefile.spack.patch")
def install(self, spec, prefix):
filter_file('__DATE__', ' __DATE__ ', 'bliss.cc')
# The Makefile isn't portable; use our own instead
makeargs = ["-f", "Makefile.spack",
"PREFIX=%s" % prefix, "GMP_PREFIX=%s" % spec["gmp"].prefix]