summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMark W. Krentel <krentel@rice.edu>2018-11-14 19:05:08 -0600
committerPeter Scheibel <scheibel1@llnl.gov>2018-11-14 19:05:08 -0600
commitb53eb2026a3da007dd8342cba62e8d5b2b58c5e1 (patch)
tree5d317d0a3720b61e83bd845bc9043bacb5296672 /var
parent2554e24d0945e712eaaebc5c3f65c3c9a545d371 (diff)
downloadspack-b53eb2026a3da007dd8342cba62e8d5b2b58c5e1.tar.gz
spack-b53eb2026a3da007dd8342cba62e8d5b2b58c5e1.tar.bz2
spack-b53eb2026a3da007dd8342cba62e8d5b2b58c5e1.tar.xz
spack-b53eb2026a3da007dd8342cba62e8d5b2b58c5e1.zip
elfutils: add version 0.174. (#9812)
Pass cflags to configure so that configure gets the values from the spack install line. Disable -Werror so that we don't fail the build over a stray warning.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/elfutils/package.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/elfutils/package.py b/var/spack/repos/builtin/packages/elfutils/package.py
index 1234f5007a..2285a7fb62 100644
--- a/var/spack/repos/builtin/packages/elfutils/package.py
+++ b/var/spack/repos/builtin/packages/elfutils/package.py
@@ -4,6 +4,8 @@
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
+import glob
+import os.path
class Elfutils(AutotoolsPackage):
@@ -20,6 +22,7 @@ class Elfutils(AutotoolsPackage):
list_url = "https://sourceware.org/elfutils/ftp"
list_depth = 1
+ version('0.174', '48bec24c0c8b2c16820326956dff9378')
version('0.173', '35decb1ebfb90d565e4c411bee4185cc')
version('0.170', '03599aee98c9b726c7a732a2dd0245d5')
version('0.168', '52adfa40758d0d39e5d5c57689bf38d6')
@@ -50,6 +53,14 @@ class Elfutils(AutotoolsPackage):
# elfutils with gcc, and then link it to clang-built libraries.
conflicts('%clang')
+ # Elfutils uses -Wall and we don't want to fail the build over a
+ # stray warning.
+ def patch(self):
+ files = glob.glob(os.path.join('*', 'Makefile.in'))
+ filter_file('-Werror', '', *files)
+
+ flag_handler = AutotoolsPackage.build_system_flags
+
def configure_args(self):
spec = self.spec
args = []