diff options
author | alalazo <massimiliano.culpo@googlemail.com> | 2017-08-03 17:05:49 +0200 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2018-02-13 02:18:28 -0800 |
commit | efd2a957810511589fc135e10b1bf9aada03c2eb (patch) | |
tree | b0d49b0431ea4cc13238e0b9379cadf9940ee08a /var | |
parent | c62b3eef559e9d47ee6fe5136a2edebca5111fad (diff) | |
download | spack-efd2a957810511589fc135e10b1bf9aada03c2eb.tar.gz spack-efd2a957810511589fc135e10b1bf9aada03c2eb.tar.bz2 spack-efd2a957810511589fc135e10b1bf9aada03c2eb.tar.xz spack-efd2a957810511589fc135e10b1bf9aada03c2eb.zip |
find has been changed to accept glob expressions
Following the discussion with Todd and Adam, find has been modified to
accept glob expressions. This should not affect performance as every
glob implementation I inspected has 3 cases (no wildcard, wildcard but
no directories involved, wildcard and directories involved) and uses
fnmatch underneath.
Mixins have been changed to do by default a non-recursive search (but
a recursive search can still be triggered using the recursive keyword).
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/openmpi/package.py | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py index 889455aae0..3919863558 100644 --- a/var/spack/repos/builtin/packages/openmpi/package.py +++ b/var/spack/repos/builtin/packages/openmpi/package.py @@ -214,23 +214,7 @@ class Openmpi(AutotoolsPackage): conflicts('fabrics=pmi', when='@:1.5.4') # PMI support was added in 1.5.5 conflicts('fabrics=mxm', when='@:1.5.3') # MXM support was added in 1.5.4 - filter_compiler_wrappers( - 'mpicc-vt-wrapper-data.txt', - 'mpicc-wrapper-data.txt', - 'ortecc-wrapper-data.txt', - 'shmemcc-wrapper-data.txt', - 'mpic++-vt-wrapper-data.txt', - 'mpic++-wrapper-data.txt', - 'ortec++-wrapper-data.txt', - 'mpifort-vt-wrapper-data.txt', - 'mpifort-wrapper-data.txt', - 'shmemfort-wrapper-data.txt', - 'mpif90-vt-wrapper-data.txt', - 'mpif90-wrapper-data.txt', - 'mpif77-vt-wrapper-data.txt', - 'mpif77-wrapper-data.txt', - relative_root=os.path.join('share', 'openmpi') - ) + filter_compiler_wrappers('openmpi/*-wrapper-data*', relative_root='share') def url_for_version(self, version): url = "http://www.open-mpi.org/software/ompi/v{0}/downloads/openmpi-{1}.tar.bz2" |