diff options
author | Cyrus Harrison <cyrush@llnl.gov> | 2022-02-01 03:18:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-01 12:18:48 +0100 |
commit | f5a70dece808a2b501952597b66943c3cc7f91f4 (patch) | |
tree | d42f1657fecb4765a271646e8c827bd39d42255d /var | |
parent | d7e7542486461252dbb9676143cd01192a17948e (diff) | |
download | spack-f5a70dece808a2b501952597b66943c3cc7f91f4.tar.gz spack-f5a70dece808a2b501952597b66943c3cc7f91f4.tar.bz2 spack-f5a70dece808a2b501952597b66943c3cc7f91f4.tar.xz spack-f5a70dece808a2b501952597b66943c3cc7f91f4.zip |
ascent: add patch for gcc 10 + 11 (#28592)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/ascent/ascent-gcc-11-pr753.patch | 21 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/ascent/package.py | 7 |
2 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ascent/ascent-gcc-11-pr753.patch b/var/spack/repos/builtin/packages/ascent/ascent-gcc-11-pr753.patch new file mode 100644 index 0000000000..1aa3dd7a56 --- /dev/null +++ b/var/spack/repos/builtin/packages/ascent/ascent-gcc-11-pr753.patch @@ -0,0 +1,21 @@ +From 627b2eb21a0885f5ac2133aac00c1da3ecbfc083 Mon Sep 17 00:00:00 2001 +From: Charles Gueunet <charles.gueunet@gmail.com> +Date: Mon, 7 Jun 2021 11:55:31 +0200 +Subject: [PATCH] Fix: missing include for G++11 + +--- + src/utilities/holo_compare/holo_compare.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/utilities/holo_compare/holo_compare.cpp b/src/utilities/holo_compare/holo_compare.cpp +index 4b2f66eaf..c3b5c934e 100644 +--- a/src/utilities/holo_compare/holo_compare.cpp ++++ b/src/utilities/holo_compare/holo_compare.cpp +@@ -55,6 +55,7 @@ + #include <vector> + #include <algorithm> + #include <cmath> ++#include <limits> + + void usage() + { diff --git a/var/spack/repos/builtin/packages/ascent/package.py b/var/spack/repos/builtin/packages/ascent/package.py index 1a2034b972..b734eac345 100644 --- a/var/spack/repos/builtin/packages/ascent/package.py +++ b/var/spack/repos/builtin/packages/ascent/package.py @@ -90,6 +90,13 @@ class Ascent(CMakePackage, CudaPackage): variant("babelflow", default=False, description="Build with BabelFlow") ########################################################################## + # patches + ########################################################################### + # patch for gcc 10 and 11, changes already on develop, here + # so folks can build 0.7.1 with those compilers + patch("ascent-gcc-11-pr753.patch", when="@0.7.1") + + ########################################################################## # package dependencies ########################################################################### |