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')`
This commit is contained in:
parent
2d53043361
commit
e758820ed7
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user