2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 00:52:16 +00:00
Commit Graph

62 Commits

Author SHA1 Message Date
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
Rene Rivera
9a895a9625 Do not refer to nonexistent target when python is not configured.
[SVN r40215]
2007-10-20 16:35:58 +00:00
Roland Schwarz
cd7aabdb8d Merge from RC_1_34_0 (CVS 1.12.2.53) to trunk. CVS RC_1_34_0 - 1.12.2.23 and CVS HEAD - 1.51 are the last versions that were equal. Between these and trunk was only a small diff for HPUX that removed pthread lib. This fix seems to be already present in the merged in version.
[SVN r38803]
2007-08-20 19:14:14 +00:00
Boris Gubenko
4efc8a5ea1 pthread is unnecessary on HP-UX
[SVN r38066]
2007-06-22 22:43:51 +00:00
Dave Abrahams
af335fa167 Get rid of debugging message
[SVN r36902]
2007-02-06 21:52:48 +00:00
Douglas Gregor
dca25d906b Publish the python interpreter and version number, because others need it
[SVN r36846]
2007-01-30 15:23:09 +00:00
Dave Abrahams
e73e73f8cc Minor fixes for python on Windows.
Handle spaces in pathnames in testing.jam


[SVN r36713]
2007-01-12 22:21:04 +00:00
Dave Abrahams
46424db068 Patch for HPUX from Boris Grubenko
[SVN r36466]
2006-12-20 13:27:15 +00:00
Vladimir Prus
be5b9377d6 Don't remove python scripts for Python tests.
[SVN r36073]
2006-11-18 08:56:43 +00:00
Vladimir Prus
349d1deea0 tools/
* python.jam (python-test-generator.run): Set dependency
	on other python sources only for the result, not for
	extension module.
	Set ARGS variable on capture-output.


[SVN r35609]
2006-10-14 10:45:31 +00:00
Vladimir Prus
3b4cca1b35 Improve the hanling of "inline" targets, like:
alias foo : [ run a.cpp ] ;

and

	exe main : main.cpp [ lib helpers : helpers.cpp ] ;

Now inline targets are marked explicit, so that they are not
build unless requested, and for the alias target, the names
of inline targets are not qualified by the name of top-level target.

	build/
	* alias.jam (alias): Pass 'no-renaming' to
	target.main-target-sources.
	* target.jam (main-target-sources): New parameter
	'no-renaming'. Make inline target explicit.
	* builtin.jam (lib): Declare 'result' variable,
	to avoid implicit declaration of a global one.

	tools/
	* testing.jam (test-suite): Make synonymous with 'alias'.

	test/
	* inline.py: Adjust to the fact that alias no longer
	changes names of inline targets. Check that inline
	targets are explicit.


[SVN r35607]
2006-10-14 10:28:03 +00:00
Dave Abrahams
5df7fec847 Fix more python configuration bugs
[SVN r35455]
2006-10-03 13:45:22 +00:00
Dave Abrahams
664ab23ef5 Fix bug in the generation of the path to the python binary for unix.
Also make the comments clearer.


[SVN r35442]
2006-10-02 15:14:48 +00:00
Vladimir Prus
1e8ca8e8cc Add comment
[SVN r35430]
2006-09-30 09:30:46 +00:00
Dave Abrahams
7ff406cb6b Correctly report python library path
[SVN r35391]
2006-09-28 17:15:52 +00:00
Dave Abrahams
67a8f7ed2b Attempt to get tests linking on OSF again by adding missing -lz.
Strip out loads of detritus.


[SVN r35390]
2006-09-28 17:13:35 +00:00
Douglas Gregor
6700290a3e Fix linking of libboost_python on Mac OS X
[SVN r35307]
2006-09-24 12:36:22 +00:00
Dave Abrahams
b18cb60cf9 Fix version syntax checking
[SVN r35200]
2006-09-19 13:54:57 +00:00
Dave Abrahams
90cce1293f More informative error messages
Better autoconfiguration


[SVN r35140]
2006-09-17 02:41:20 +00:00
Dave Abrahams
01bf84ffbc Default to Python 2.4 in Unix builds
Applied contributed patches http://tinyurl.com/ndljr and
http://tinyurl.com/18r


[SVN r35138]
2006-09-16 18:43:53 +00:00
Dave Abrahams
a2b5a33a7c Fix CodeWarrior compatibility
[SVN r35064]
2006-09-10 23:45:20 +00:00
Vladimir Prus
ec9f39dc0e Revive pthread & python comment
[SVN r35009]
2006-08-31 08:08:15 +00:00
Vladimir Prus
a40b61a423 Really remove the dot from the Python version when forming library name.
[SVN r35007]
2006-08-31 08:01:13 +00:00
Dave Abrahams
efbda895ea Added missing cygwin support.
[SVN r35004]
2006-08-31 02:48:23 +00:00
Dave Abrahams
eae24883f5 Fix QNX's dependency on pthread (which doesn't exist on those systems).
Clean up the comments a bit.


[SVN r35002]
2006-08-30 20:56:26 +00:00
Vladimir Prus
2f2510e80e Replace <find-library> with <find-shared-library> as the former is old
spelling that has no effect.


[SVN r34946]
2006-08-25 07:22:22 +00:00
Dave Abrahams
42f6bb7bf0 Attempted QNX workaround
[SVN r34887]
2006-08-15 17:35:24 +00:00
Dave Abrahams
680a224dbd Fix detection of QNX for inclusion of libutil
[SVN r34869]
2006-08-11 15:45:25 +00:00
Dave Abrahams
18584ebf69 Partial fix for not finding the Python library on NT.
[SVN r34852]
2006-08-08 17:55:56 +00:00
Markus Schöpflin
ee8b2ded17 Added librt when linking on Tru64/gcc.
[SVN r34802]
2006-08-02 08:05:44 +00:00
Vladimir Prus
ce92b0f468 Fix logic for adding 'rt' on Sun.
[SVN r34750]
2006-07-27 06:55:52 +00:00
Vladimir Prus
7115edc2ba Link to rt on Sun
[SVN r34693]
2006-07-24 06:14:29 +00:00
Vladimir Prus
eea24b89c1 Don't link Boost.Python to python library, and don't require
<threading>multi for embedding applications.

* libs/python/build/Jamfile.v2: (boost_python): Don't link
  to /python//python. Use /python//python_for_extensions.

* libs/python/test/Jamfile.v2: Remove <threading>multi project
  requirements.
  (py-run): Link to /python//python.
  (exec): Likewise.

* tools/build/v2/tools/python.jam: (pthread): Declare.
  (init-unix): Add 'pthread' to extra-libs.
  (


[SVN r34662]
2006-07-22 07:12:10 +00:00
Vladimir Prus
5f65035c81 Fix syntax error.
[SVN r34521]
2006-07-13 07:39:58 +00:00
Dave Abrahams
5b8b9f4a02 Correct extra-libs logic for QNX
[SVN r34520]
2006-07-12 23:11:56 +00:00
Vladimir Prus
0cb799820a Respect RUN_PATH variable when running Python tests.
[SVN r34159]
2006-06-04 06:55:48 +00:00
Vladimir Prus
74f8c07c87 Attempt the fix python on OSX.
[SVN r34000]
2006-05-18 11:02:29 +00:00
Vladimir Prus
91b01acc3b Make it possible to suppress 'lib' prefix for a target type derived from 'LIB'.
[SVN r33576]
2006-04-07 07:32:09 +00:00
Vladimir Prus
01447a62c3 Make dependents of Python link to 'util' library on Unix.
[SVN r33440]
2006-03-22 14:13:43 +00:00
Vladimir Prus
f10aa46a3e Declare 'dl' target only once, to avoid ambiguity if several python
versions are configured.


[SVN r33437]
2006-03-22 10:14:00 +00:00
Vladimir Prus
a85b6d2aab Force all dependents of python to get 'dl' library on Linux.
[SVN r33433]
2006-03-22 09:51:24 +00:00
Vladimir Prus
0390c210ca When Python is initialized several times, for different toolsets,
use only one interpreter command when running Boost.Python tests, not
all initialized ones.


[SVN r33428]
2006-03-22 06:56:28 +00:00
Vladimir Prus
ed6079fb3d Quick fix to allow configure different Python versions for different toolsets.
[SVN r33421]
2006-03-21 16:26:47 +00:00