summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordorier <dorier@users.noreply.github.com>2018-05-14 03:54:12 +0100
committerAdam J. Stewart <ajstewart426@gmail.com>2018-05-13 21:54:12 -0500
commite758820ed72cc8bbd7ac5157b9e00ba6f369b7db (patch)
treeb9b39e3edda0ea5c6d34b7324e64c5451ea37771 /var
parent2d53043361559714161be43b0e3e5e24464b5b6a (diff)
downloadspack-e758820ed72cc8bbd7ac5157b9e00ba6f369b7db.tar.gz
spack-e758820ed72cc8bbd7ac5157b9e00ba6f369b7db.tar.bz2
spack-e758820ed72cc8bbd7ac5157b9e00ba6f369b7db.tar.xz
spack-e758820ed72cc8bbd7ac5157b9e00ba6f369b7db.zip
boost: added the +numpy variant which enables building libboost_numpy (#8104)
* added the +numpy variant which enables building the libboost_numpy libraries * Update package.py Added `type=('build', 'run')`
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/boost/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/boost/package.py b/var/spack/repos/builtin/packages/boost/package.py
index fb1ade8bcc..5666df8baa 100644
--- a/var/spack/repos/builtin/packages/boost/package.py
+++ b/var/spack/repos/builtin/packages/boost/package.py
@@ -144,14 +144,18 @@ class Boost(Package):
description="Augment library layout with versioned subdirs")
variant('clanglibcpp', default=False,
description='Compile with clang libc++ instead of libstdc++')
+ variant('numpy', default=False,
+ description='Build the Boost NumPy library (requires +python)')
depends_on('icu4c', when='+icu')
depends_on('python', when='+python')
depends_on('mpi', when='+mpi')
depends_on('bzip2', when='+iostreams')
depends_on('zlib', when='+iostreams')
+ depends_on('py-numpy', when='+numpy', type=('build', 'run'))
conflicts('+taggedlayout', when='+versionedlayout')
+ conflicts('+numpy', when='~python')
# Patch fix from https://svn.boost.org/trac/boost/ticket/11856
patch('boost_11856.patch', when='@1.60.0%gcc@4.4.7')