summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsnehring <snehring@users.noreply.github.com>2021-10-04 10:59:01 -0500
committerGitHub <noreply@github.com>2021-10-04 17:59:01 +0200
commit9a8712f4cb5c1c9750d67a74c720209ac0bd4cd9 (patch)
tree7386f5608160f2667a1f9bb98c7c4e78b601eb7e
parent90fa50d9df0705f8a986d0281064fe1ed875a5e0 (diff)
downloadspack-9a8712f4cb5c1c9750d67a74c720209ac0bd4cd9.tar.gz
spack-9a8712f4cb5c1c9750d67a74c720209ac0bd4cd9.tar.bz2
spack-9a8712f4cb5c1c9750d67a74c720209ac0bd4cd9.tar.xz
spack-9a8712f4cb5c1c9750d67a74c720209ac0bd4cd9.zip
masurca: Fix build with glibc-2.32+ (#26173)
remove sysctl.h which is not used by the build
-rw-r--r--var/spack/repos/builtin/packages/masurca/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/masurca/package.py b/var/spack/repos/builtin/packages/masurca/package.py
index 2e32305a73..d77db7b7fa 100644
--- a/var/spack/repos/builtin/packages/masurca/package.py
+++ b/var/spack/repos/builtin/packages/masurca/package.py
@@ -25,6 +25,8 @@ class Masurca(Package):
patch('arm.patch', when='target=aarch64:')
def patch(self):
+ filter_file('#include <sys/sysctl.h>', '',
+ 'global-1/CA8/src/AS_BAT/memoryMappedFile.H')
if self.spec.target.family == 'aarch64':
for makefile in 'Makefile.am', 'Makefile.in':
m = join_path('global-1', 'prepare', makefile)