2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 05:22:45 +00:00

Only boost-install boost_numpy when it's being built

This commit is contained in:
Peter Dimov
2019-04-18 00:02:52 +03:00
parent fdc9ec760f
commit 8c8b0dc215

View File

@@ -30,8 +30,6 @@ else
;
}
if [ python.configured ]
{
project boost/python
: source-location ../src
;
@@ -123,7 +121,7 @@ lib boost_numpy
<library>boost_python
<python-debugging>on:<define>BOOST_DEBUG_PYTHON
-<tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag
<tag>@$(__name__).python-tag
<tag>@$(__name__).python-tag
<conditional>@python.require-py
: # default build
@@ -142,8 +140,16 @@ lib boost_numpy
# `install` installs the two libraries and their dependencies and is similar
# to issuing `b2 --with-python install` from top level
boost-install boost_python boost_numpy ;
if [ python.configured ]
{
if [ python.numpy ]
{
boost-install boost_python boost_numpy ;
}
else
{
boost-install boost_python ;
}
}
else
{