Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 495704 Details for
Bug 631590
dev-libs/boost-1.65.0: library boost_numpy is not built
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
boost-1.65.0-fix-python-numpy.patch
boost-1.65.0-fix-python-numpy.patch (text/plain), 1.54 KB, created by
Quentin Minster
on 2017-09-20 22:05:39 UTC
(
hide
)
Description:
boost-1.65.0-fix-python-numpy.patch
Filename:
MIME Type:
Creator:
Quentin Minster
Created:
2017-09-20 22:05:39 UTC
Size:
1.54 KB
patch
obsolete
>--- a/libs/python/build/Jamfile 2017-09-19 23:46:59.678671355 +0200 >+++ b/libs/python/build/Jamfile 2017-09-19 23:58:12.152612953 +0200 >@@ -115,8 +115,48 @@ > ; > } > >-libraries = boost_python ; >+rule lib_boost_numpy >+{ >+ local python_major_version = [ MATCH "^([^.]+)" : [ feature.values python ] ] ; >+ local python2 ; >+ if $(python_major_version) = 2 >+ { >+ python2 = true ; >+ } >+ >+ numpy-include = [ python.numpy-include ] ; >+ lib boost_numpy >+ : # sources >+ numpy/dtype.cpp >+ numpy/matrix.cpp >+ numpy/ndarray.cpp >+ numpy/numpy.cpp >+ numpy/scalars.cpp >+ numpy/ufunc.cpp >+ : # requirements >+ <link>static:<define>BOOST_NUMPY_STATIC_LIB >+ <define>BOOST_NUMPY_SOURCE >+ [ cond $(python2) : <cxxflags>-fno-strict-aliasing ] >+ [ cond [ python.numpy ] : <library>/python//python ] >+ [ unless [ python.numpy ] : <build>no ] >+ <include>$(numpy-include) >+ <library>boost_python >+ <python-debugging>on:<define>BOOST_DEBUG_PYTHON >+ >+ -<tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag >+ <tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).python-tag >+ >+ : # default build >+ <link>shared >+ : # usage requirements >+ <link>static:<define>BOOST_NUMPY_STATIC_LIB >+ <python-debugging>on:<define>BOOST_DEBUG_PYTHON >+ ; >+} >+ >+libraries = boost_python boost_numpy ; > > lib_boost_python ; >+lib_boost_numpy ; > > boost-install $(libraries) ;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 631590
: 495704 |
495708