summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorketsubouchi <67359246+ketsubouchi@users.noreply.github.com>2020-07-02 15:11:56 +0900
committerGitHub <noreply@github.com>2020-07-02 08:11:56 +0200
commit8a9fa9bd18f226f34574a440d1ae6e13917a78d2 (patch)
treeb958141d1cbbdcaa3146a23aab14902f1d37329e
parenta5eabfad9117c1423bb0bfc33bbe0571c5e17c04 (diff)
downloadspack-8a9fa9bd18f226f34574a440d1ae6e13917a78d2.tar.gz
spack-8a9fa9bd18f226f34574a440d1ae6e13917a78d2.tar.bz2
spack-8a9fa9bd18f226f34574a440d1ae6e13917a78d2.tar.xz
spack-8a9fa9bd18f226f34574a440d1ae6e13917a78d2.zip
biobloom: use the correct standard library for Fujitsu compilers (#17327)
-rw-r--r--var/spack/repos/builtin/packages/sdsl-lite/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/sdsl-lite/package.py b/var/spack/repos/builtin/packages/sdsl-lite/package.py
index d5d2a251c0..ba2485c6b7 100644
--- a/var/spack/repos/builtin/packages/sdsl-lite/package.py
+++ b/var/spack/repos/builtin/packages/sdsl-lite/package.py
@@ -32,5 +32,11 @@ class SdslLite(Package):
tar('-xvf', self.stage.archive_file)
with working_dir('sdsl-lite-{0}'.format(spec.version.dotted)):
+ if self.spec.satisfies('%fj'):
+ filter_file(
+ 'stdlib=libc',
+ 'stdlib=libstdc',
+ './CMakeLists.txt'
+ )
helper = Executable('./install.sh')
helper(prefix)