summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatish Balay <balay@mcs.anl.gov>2019-02-07 09:09:23 -0600
committerGitHub <noreply@github.com>2019-02-07 09:09:23 -0600
commitb8684b318c8b39ceff958ffc778da07fdaaa07a8 (patch)
tree4db62634222c72c1400881c25288bc9bb2253f31
parent1d71a5ea573cfdd2ad5dfb4c9969a23e142aed9f (diff)
downloadspack-b8684b318c8b39ceff958ffc778da07fdaaa07a8.tar.gz
spack-b8684b318c8b39ceff958ffc778da07fdaaa07a8.tar.bz2
spack-b8684b318c8b39ceff958ffc778da07fdaaa07a8.tar.xz
spack-b8684b318c8b39ceff958ffc778da07fdaaa07a8.zip
petsc: petscvariables is used from user makefiles - so it should not have spack compilers listed (#10365)
-rw-r--r--var/spack/repos/builtin/packages/petsc/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/petsc/package.py b/var/spack/repos/builtin/packages/petsc/package.py
index 70c6707c2e..53c03ff225 100644
--- a/var/spack/repos/builtin/packages/petsc/package.py
+++ b/var/spack/repos/builtin/packages/petsc/package.py
@@ -87,6 +87,10 @@ class Petsc(Package):
# 3.8.0 has a build issue with MKL - so list this conflict explicitly
conflicts('^intel-mkl', when='@3.8.0')
+ filter_compiler_wrappers(
+ 'petscvariables', relative_root='lib/petsc/conf'
+ )
+
# temporary workaround Clang 8.1.0 with XCode 8.3 on macOS, see
# https://bitbucket.org/petsc/petsc/commits/4f290403fdd060d09d5cb07345cbfd52670e3cbc
# the patch is an adaptation of the original commit to 3.7.5