summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorketsubouchi <67359246+ketsubouchi@users.noreply.github.com>2020-07-07 18:28:55 +0900
committerGitHub <noreply@github.com>2020-07-07 11:28:55 +0200
commitd65a076c0d8dc16fd84feffb837e7f145f3df157 (patch)
treecf70a17217e3b032ad5f487d86195bd0a8de6ae7
parent845139740f75c42ad7b55047d179cd1eb3b5299e (diff)
downloadspack-d65a076c0d8dc16fd84feffb837e7f145f3df157.tar.gz
spack-d65a076c0d8dc16fd84feffb837e7f145f3df157.tar.bz2
spack-d65a076c0d8dc16fd84feffb837e7f145f3df157.tar.xz
spack-d65a076c0d8dc16fd84feffb837e7f145f3df157.zip
bliss: add spaces to __DATE__ (#17385)
C++11 requires a space between literal and string macro.
-rw-r--r--var/spack/repos/builtin/packages/bliss/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/bliss/package.py b/var/spack/repos/builtin/packages/bliss/package.py
index 7878f16cb0..b42e9cac9c 100644
--- a/var/spack/repos/builtin/packages/bliss/package.py
+++ b/var/spack/repos/builtin/packages/bliss/package.py
@@ -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]