joriscarrier
5faca0dfca
fix: link statically against boost-python on linux ( #581 )
...
Co-authored-by: Joris Carrier <joris.carrier@ugloo.com >
2020-06-10 17:52:11 -05:00
Rene Rivera
3595602a14
Big rename from Boost.Build to B2.
2020-03-09 11:08:48 -05:00
Steven Watanabe
c53d778a37
Make the python feature symmetric and relevant to avoid problems when changing the python configuration. Refs #356 .
2018-10-16 09:15:45 -06:00
Steven Watanabe
0dacbc3df6
Make python.require-py safe to use when python is not found at all.
2018-02-20 11:38:12 -07:00
Stefan Seefeld
c95f1302bf
Add 'version-suffix' rule.
2018-02-06 21:35:16 -05:00
Steven Watanabe
0d5e76ebf2
Upgrade the scanner to handle whitespace more intelligently
...
* The new scanner is currently disabled and only issues a warning
for tokens that would be lexed differently.
* Special case a few common uses of ':', to limit breakage to
a manageable level.
* Remove the horribly outdated Jambase code inherited from Perforce Jam
* Update all of Boost.Build to work in the presence of the new lexer.
2018-01-31 14:08:36 -07:00
Steven Watanabe
ee613a6a28
Implement feature relevance.
...
* New feature <relevant> which is automatically deduced in most cases.
* Features which are not relevant do not affect target paths and
do not prevent merging of virtual targets.
* generators.jam: generator.run always returns usage-requirements
to allow usage-requirements in non-top-level generators. This
is necessary because we're using usage-requirements to track
relevance from flags.
* New rule toolset.uses-features to specify features that the rule
checks manually, instead of using toolset.flags. In the future,
we should consider restricting the properties actually passed,
to detect errors.
* Adjust tests to handle the new paths (verified by inspection).
* Add temporary option --ignore-relevance to consider all features relevant
to aid migration.
* New rule property.evaluate-conditional-relevance which helps tracking
relevance in <conditional>.
* Widely scattered changes to use the new interfaces.
2018-01-13 09:13:49 -07:00
Steven Watanabe
e350366096
Add a Jamfile in the test directory which runs test_all.py. Refs #268 .
...
* python.jam: Allow run-pyd to work with just a python script.
* BoostBuild.py: Adjust paths to work regardless of the current
working directory.
2018-01-09 07:49:59 -07:00
Steven Watanabe
df321f5a3a
Fix python tests.
2017-12-19 21:52:08 -07:00
Rene Rivera
4f5233911c
Restructure built-in feature definitions to make it easier to add and document them.
...
This moves the built-in feature definitions into a subdirectory where each feature
(or cohesive set of features) are defined in their own file. Eventually
documentation can be added in the definitions files themselves and inported into the
full documentation. Not all features got move by this. There are some features
spread out through the toolset files. Those will also get moved as needed,
and as possible.
2017-07-24 21:36:07 -05:00
Raffi Enficiaud
4f521b5b97
Python.jam: Postpone the computation of python "major-minor" version out of the "version"
...
This fixes some issues on Windows when the function "configure" is called with an empty optional "version" filled in.
2017-07-17 21:09:45 +02:00
Rene Rivera
5de8fc63d2
Fix bad python builds caused from global python version being forced.
2017-03-01 10:08:14 -06:00
Stefan Seefeld
1be1c5b42c
Fix NumPy detection bug in numpy-test.
2016-10-28 13:24:49 -04:00
Stefan Seefeld
3fc8257303
Remove obsolete code.
2016-10-27 08:38:50 -04:00
Stefan Seefeld
a1979fe91c
Improve logging.
2016-10-26 20:32:58 -04:00
Rene Rivera
ee9a70268b
Fix missing numpy tests.
...
We ensure that we don't have tests with subdirectories in the name to
avoid a log processing defficiency (and not easily resolved) of not
supporting subdirs for individual tests.
2016-10-26 16:43:55 -05:00
Stefan Seefeld
4b099e76b0
Add include path for NumPy extension.
2016-10-20 17:24:36 -04:00
Stefan Seefeld
22f41dfa32
Add support for NumPy extension.
2016-10-13 21:16:29 -04:00
Rene Rivera
a5a2536499
Add, and update, documentation build targets.
2016-10-07 23:07:37 -05:00
Rene Rivera
caeb6a9695
Fix check to avoid duplicate default python toolset requirement.
2016-07-23 12:40:14 -05:00
Rene Rivera
78ffbe0944
Fix not having a default python interpreter version on targets.
...
This change adds a toolset requirement that sets the python version
feature of the first configured python for a given target OS (usually
the host OS). This allows to correctly configure different python
interpreters for different target OSes.
2016-07-16 15:53:30 -05:00
Rene Rivera
2540d311e7
Don't accidentally remove python source tests.
2016-06-13 23:29:33 -05:00
Steven Watanabe
786a5c5e65
If we can't find the python headers and libraries, abort configuration. Otherwise, we would attempt to build Boost.Python unconditionally.
2016-04-14 08:49:00 -06:00
Steven Watanabe
1a0a48af96
Mark python as configured even if we couldn't find the includes or libraries. We try to forge ahead anyway, and saying we didn't just causes more problems. We should consider erroring out in this case, instead, but for now this change is minimally disruptive.
2016-02-27 11:41:34 -07:00
Michał Górny
8f25e81c3d
python: Determine the version if interp, incl & lib are provided
...
Fix the conditional around acquiring the data from Python interpreter to
be run if interpreter-cmd, includes and libraries are provided (but
version is not).
2015-12-14 02:19:41 -05:00
Tim D. Smith
b1c031d26b
Don't explicitly link python on darwin
...
Passing -undefined dynamic_lookup to the linker (instead of -lpython or
-framework Python) permits undefined symbols in shared libraries on OS
X. This allows a module to be linked against one Python framework and
imported from another.
2015-05-05 09:49:14 +03:00
Jessica Hamilton
7f0d33a7b0
haiku: platform support
2014-11-25 09:13:21 +03:00
Dean Moldovan
473202d250
Fixed python 2to3 translation
2014-09-01 23:29:37 +02:00
Fredrik Orderud
dc428e2ab3
Extend version-countdown to also support Python 3.1-3.4.
2013-12-18 08:41:54 +04:00
Steven Watanabe
a7b07f8d80
Only try to translate PYTHONPATH for windows/cygwin. It's not implemented for cross compilation.
...
[SVN r84908]
2013-06-27 12:53:07 +00:00
Jurko Gospodnetić
8413feefe4
Boost Build cleanup - removed support for Boost Jam versions prior to version 3.1.17 in the tools/python.jam module. The backward compatibility code was ugly and compatibility with such versions has already been broken in other places (not to mention that such old versions have known defects and should not be used anywhere in the first place, and even if they are, they should be used with their corresponding old Boost Build version). Trimmed trailing spaces.
...
[SVN r80025]
2012-08-14 05:09:21 +00:00
Steven Watanabe
d8b0f3e6ea
Fix a few oddly written returns. These only work because of the idiosyncracies of the Jam language.
...
[SVN r76058]
2011-12-19 02:24:31 +00:00
Vladimir Prus
73ff6af2c7
Remove debug prints
...
[SVN r57359]
2009-11-04 16:14:47 +00:00
Stefan Seefeld
2b8d2cc94e
Merged 2009 GSoC work from sandbox-branches/bhy/py3k branch back into trunk.
...
[SVN r56305]
2009-09-19 02:32:41 +00:00
Dave Abrahams
26dda02c04
Fix typo in example usage
...
[SVN r53658]
2009-06-05 20:13:47 +00:00
Dave Abrahams
5c69c43f95
Attempt to satisfy intel-linux 9.0's apparent need for -lutil
...
[SVN r50869]
2009-01-29 15:26:02 +00:00
Vladimir Prus
4602a7d8c5
Quote semicolon
...
[SVN r49365]
2008-10-16 16:53:36 +00:00
Jurko Gospodnetić
cab4e3eed1
Corrected a python framework directory detection bug in the Boost Build python.jam toolset module. Affected only builds running on the darwin os.
...
[SVN r48322]
2008-08-23 20:13:18 +00:00
Vladimir Prus
12eee32d2a
Do not link to -ldl on *BSD.
...
[SVN r47935]
2008-08-01 17:26:32 +00:00
Jurko Gospodnetić
596a2e2155
Made Boost Build's capture-output testing rule in the tools/python.jam module work correctly when the path to the used Python executable includes spaces.
...
[SVN r47540]
2008-07-18 06:44:42 +00:00
Jurko Gospodnetić
e72fb04608
Minor stylistic changes made in the tools/build/v2/tools/python.jam Boost Build module.
...
[SVN r47329]
2008-07-11 22:55:17 +00:00
Jurko Gospodnetić
daedeaf579
Minor stylistic comment changes in the Boost Build tools/python.jam module.
...
[SVN r47259]
2008-07-09 08:04:04 +00:00
Jurko Gospodnetić
88686a1b92
Made Boost Build's python.jam toolset module work correctly when the python command interpreter executable path contains spaces. This is not supported on Windows with Boost Jam versions prior to 3.1.17. Made python.jam toolset's cygwin symlink detection work correctly with symlinks to .cmd files. Minor stylistic changes.
...
[SVN r46109]
2008-06-04 00:51:44 +00:00
Jurko Gospodnetić
e388457ddd
Minor stylistic Boost Build Jam script cleanup.
...
[SVN r46040]
2008-06-02 08:12:47 +00:00
K. Noel Belcourt
fe18a855d5
A user-config.jam that defined multiple python toolsets exposed
...
an error in the python.jam init rule. Moved the feature
definition out of the init rule to avoid the feature redefinition
error.
[SVN r43566]
2008-03-11 17:57:54 +00:00
Vladimir Prus
6a0d9f9b3a
Add 'pythonpath' feature to specify additional PYTHONPATH elements.
...
Make bpl-test correctly set dependencies if used with multiple .pyd
sources.
Patch from Joshua Napoli.
[SVN r43526]
2008-03-06 06:06:17 +00:00
Rene Rivera
cf7bf4fe90
Add the <python.interpreter> to all requirements to allow other toolsets to use the currently configured python instead of relying on python being in the path.
...
[SVN r43335]
2008-02-20 22:50:03 +00:00
Jurko Gospodnetić
0c58c9ae6b
Minor stylistic changes such as: comment typo corrections, wrapping lines to 80 characters, indentations, removing trailing spaces, etc.
...
[SVN r42494]
2008-01-05 20:02:24 +00:00
Dave Abrahams
59268479f1
Boost.Python:
...
* Workarounds for many SunCC 5.9 bugs
* Suppression of many SunCC 5.9 warnings
* Improve the style of some test invocations in Jamfile
[SVN r41521]
2007-12-01 02:15:17 +00:00
Dave Abrahams
2214118be3
Closes #1379 . It would be good to have a much more principled approach;
...
see comments in the diffs for details.
[SVN r40468]
2007-10-25 23:19:48 +00:00