2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-18 14:02:11 +00:00
Commit Graph

4768 Commits

Author SHA1 Message Date
Rene Rivera
74d8dd29c8 More fixes and cleanups to make the translation now comparable to the XSLT translator.
[SVN r37325]
2007-04-01 04:45:31 +00:00
Victor A. Wagner Jr.
c1b72d77e8 Get rid of the trailing blanks
[SVN r37322]
2007-03-31 05:03:31 +00:00
Dave Abrahams
ebaa69393b Remove -lpthread for SunOS
[SVN r37320]
2007-03-31 00:08:28 +00:00
Dave Abrahams
01a0c6864f Fix the use of system library dependencies
[SVN r37310]
2007-03-28 12:44:08 +00:00
Boris Gubenko
cd301db7c8 remove hard-coded -mt
[SVN r37308]
2007-03-28 12:28:22 +00:00
Rene Rivera
09a0182e98 More cleanup. Finish commenting functions.
[SVN r37306]
2007-03-28 03:43:27 +00:00
Dave Abrahams
6c13901b8c Fix a bug wherein multiple python interpreters could get set on a
target.  My explanation from a mail to Martin Wille:


  IIUC, your
  configuration looks like:

     using python : 2.4 : ... ;
     using python : 2.4 : ... : : : <toolset>gcc <toolset-gcc:version>4.1.2_linux_x86_64 ;
     using python : 2.4 : ... : : : <toolset>gcc <toolset-gcc:version>4.1.0_linux_x86_64 ;

  The intention is of course that the latter pythons will be used in
  preference to the former one if their conditions are matched more
  explicitly.

  We are using the "flags" rule to directly associate the interpreter
  command with targets being built, provided the condition passed is
  matched.

      # Set up the PYTHON variable to point at the interpreter.
      flags python.capture-output PYTHON $(condition:J=/) : $(interpreter-cmd) ;

  Here's an excerpt of docs for the condition parameter on flags:

               condition * :    # A condition when this flag should be applied.
                                # Should be set of property sets. If one of
                                # those property sets is contained in build
                                # properties, the flag will be used.

  So what happens is that, because it's less specific, the flags
  invocation for the first python matches when either of the latter
  pythons was supposed to match, and the PYTHON variable that is used to
  hold the interpreter command on the testing target accumulates both
  interpreters.

  We have a mechanism for "choose the closest property match," but it
  doesn't apply to the flags rule: it's target alternatives.  Since we
  define target alternatives for the python library anyway, I think I
  can handle this by creating a property to hold the interpreter command
  and associating it with the appropriate target alternative, then
  keying off *that* command to set up flags.


[SVN r37272]
2007-03-23 14:21:49 +00:00
Dave Abrahams
a5c9a2a414 Removed pthread from hpux system libs per request of Boris
Grubenko (see http://docs.hp.com/en/8759/options.htm#opt-mt)


[SVN r37270]
2007-03-23 13:35:11 +00:00
Dave Abrahams
0f445e4efb Fix extension module suffix on HPUX for Python 2.4 and below
[SVN r37269]
2007-03-23 04:43:27 +00:00
Dave Abrahams
5322b17b5d factor out the search through Wow6432node in the registry of software
Make path-to-native work on zero or more paths, which simplifies lots
of code.

Factor native path translation out of compute-default-paths and into its caller.

Remove the path-to-native translation on the prefix from
candidate-interpreters, as the passed prefix has to be native anyway.

Fix the capturing of the exec_prefix for use in setting dll-path for
windows targets.


[SVN r37255]
2007-03-21 17:44:24 +00:00
Vladimir Prus
a358499259 Merge: Remove outdated comment
[SVN r37254]
2007-03-21 15:53:57 +00:00
Vladimir Prus
a3d2843111 Remove outdated comment
[SVN r37253]
2007-03-21 15:52:56 +00:00
Dave Abrahams
90acae9278 Some simplifications. Building on Cygwin from an NT bjam is broken again :(
[SVN r37252]
2007-03-21 08:02:27 +00:00
Dave Abrahams
d691e3cd0f Properly set up <dll-path> for windows embedding targets.
[SVN r37251]
2007-03-21 05:42:31 +00:00
Vladimir Prus
0c4a03c607 Fix python's generator error
[SVN r37243]
2007-03-20 16:48:05 +00:00
Vladimir Prus
108b40fb96 Merge
[SVN r37239]
2007-03-20 07:37:16 +00:00
Vladimir Prus
65aaa1dde6 Quoted DEF_FILE.
Patch from David Deakins.


[SVN r37238]
2007-03-20 07:36:14 +00:00
Dave Abrahams
ac28d1cb89 tools/build/v2/tools/python.jam:
* add ".lib" to the target name for libpython.  *** This is a kluge!
   I don't know why it should be necessary ***, but when I was
   inserting debugging code that did

      ECHO [ $(target).name ] ;

   it would always drop the 2nd digit, e.g. python-2.4 would come out
   as "python-2".  This change prevented it.

 * Fixed spelling and grammar in comments

 * Fix the incorrect assumption in capture-output that only one Python
   extension will participate (also in tools/build/v2/testing.jam).


[SVN r37215]
2007-03-17 20:25:04 +00:00
Dave Abrahams
549a94389e Make sure sys.platform isn't required
Update darwin handler so it will fall back to the standard *nix method
if Python isn't installed as a framework.


[SVN r37211]
2007-03-16 23:26:35 +00:00
Dave Abrahams
444fa3c254 Make sure that the libpython target is declared with distinct requirements each time, thus forming valid target alternatives.
[SVN r37210]
2007-03-16 23:05:14 +00:00
Dave Abrahams
7adced1aea Fix failure to print the cmd-or-prefix argument when --debug-configuration is passed.
[SVN r37203]
2007-03-16 16:15:55 +00:00
Dave Abrahams
d16686f3c0 Fix bug reported by Markus Schöpflin
[SVN r37202]
2007-03-16 15:40:24 +00:00
Rene Rivera
7ecc6ebc29 Add some implementation comments. Fix bug that prevented some default arguments values from being generated.
[SVN r37187]
2007-03-15 05:24:12 +00:00
Dave Abrahams
9b89c2f459 ** This comment represents the aggregate changes merged from the **
** bbv2python branch.                                            **

gcc.jam: build and use import libraries on Cygwin and Windows, but
         accept DLL-only linking with prebuilt DLLs.

builtin.jam: fix default-host-os so that <target-os> actually becomes
             a functional feature.  Improve English in comments

property-set.jam: add str method so we can print them in generator
                  debugging output.

generators.jam: improved debugging output

build-system.jam: add missing semicolon

python.jam:
* fix cross-NT/CYGWIN build support
* add condition to the build requirements of the python targets

os.jam:
* add the ability to get constants for a particular OS

builtin.jam:
* remove "optional" attribute from host-os
* fix confusing indents

python.jam
----------

* Removed comments about known problems because they make no sense.

* Unified MacOS initialization with NT and *nix

* Updated comment describing init behavior

* Support for passing Python command as first argument

* Removed unused get-python-interpreter and get-python-version rules,
  since they can't work with that interface.  Working versions of
  these will be reinstated for Doug Gregor in the near future.

* When invoking Python to collect configuration info, collect it all at at once.

* When a Cygwin symlink is found by an NT build of bjam, give hints
  about where to find the file it points at.

* Lots of refactoring

* Make the logic work plausibly even when no Python executable can be found


darwin.jam
----------

* Simplified logic for setting up FRAMEWORK_PATH

* Corrected logic for setting up -framework option


feature.jam
-----------

* Make feature.defaults, feature.attributes, feature.values, and
  feature.get-values resilient to feature names being passed without
  grist.


gcc.jam, python.jam, builtin.jam
--------------------------------

* Include some progress volodya has made toward support for <suppress-import-lib>


[SVN r37186]
2007-03-15 04:02:25 +00:00
Daniel James
5d9082ee5f Change STLport links to point to the sourceforge home page, which is the home
page for more recent releases.


[SVN r37110]
2007-02-28 00:01:33 +00:00
Daniel James
e82bee852a Change STLport links to point to the sourceforge page.
[SVN r37108]
2007-02-27 23:59:40 +00:00
Rene Rivera
300be29a3b Improve the detection logic so that it work under vc8 running a Win64 OS. It is now possible to build a 64bit variant of bjam with vc8. Document the new buid script syntax and the numerous bjam options.
[SVN r37055]
2007-02-24 20:43:24 +00:00
Dave Abrahams
e429e3cc64 Add missing semicolon
[SVN r37054]
2007-02-24 20:22:54 +00:00
Dave Abrahams
a4f34953b7 Some support for amd64; correct broken ia64 option
[SVN r37053]
2007-02-24 11:41:19 +00:00
Dave Abrahams
030bae5c32 Some support for amd64; correct broken ia64 option
[SVN r37053]
2007-02-24 11:41:19 +00:00
Douglas Gregor
3bd1ec671a Auto-detection of Microsoft's MPI toolchain
[SVN r36980]
2007-02-16 21:02:58 +00:00
Rene Rivera
6f591e928a Add compiler path to RUN_PATH.
[SVN r36945]
2007-02-15 06:27:07 +00:00
Douglas Gregor
16c4523aa6 Import doxygen bits from 1.34.0 branch
[SVN r36910]
2007-02-08 19:27:41 +00:00
Dave Abrahams
96e4e6f2b2 Get rid of debugging message
[SVN r36902]
2007-02-06 21:52:48 +00:00
Dave Abrahams
b94163f0fd Get rid of debugging message
[SVN r36902]
2007-02-06 21:52:48 +00:00
Vladimir Prus
a302ed41de Merge: Use -soname, not -h, since the latter does not
work with intel-9.0, for unknown reason.


[SVN r36900]
2007-02-06 18:27:41 +00:00
Vladimir Prus
972cebe7c9 Use -soname, not -h, since the latter does not
work with intel-9.0, for unknown reason.


[SVN r36899]
2007-02-06 18:26:02 +00:00
Rene Rivera
2c00e117a3 Update scanner to handle the newer quickbook include systax wqhich allows whitespace before "include".
[SVN r36868]
2007-02-01 04:00:53 +00:00
Jürgen Hunold
219d35992e Prepare for separate include, library and binary prefixes for preinstalled Qt.
[SVN r36864]
2007-01-31 19:45:54 +00:00
Douglas Gregor
f3be310698 Publish the python interpreter and version number, because others need it
[SVN r36846]
2007-01-30 15:23:09 +00:00
Douglas Gregor
87c5729380 Publish the python interpreter and version number, because others need it
[SVN r36846]
2007-01-30 15:23:09 +00:00
Vladimir Prus
62d1dc7631 Merge: increase page size for tlib
[SVN r36845]
2007-01-30 10:11:58 +00:00
Vladimir Prus
bedc74fa7e Increase page size for tlib.
[SVN r36844]
2007-01-30 10:11:02 +00:00
Vladimir Prus
2c6000e793 Merge: Fix run-fail tests
[SVN r36770]
2007-01-23 20:51:39 +00:00
Vladimir Prus
8e07468164 Fix run-fail tests
[SVN r36769]
2007-01-23 20:50:55 +00:00
Dave Abrahams
44fe76ff09 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
dd0eba7a7c Added --abbreviate-paths feature to help with windows length limitations.
[SVN r36709]
2007-01-12 17:58:53 +00:00
Dave Abrahams
cdeea386de Added --abbreviate-paths feature to help with windows length limitations.
[SVN r36709]
2007-01-12 17:58:53 +00:00
Dave Abrahams
4e73ce5c41 add missing quoting for Win32
[SVN r36702]
2007-01-12 05:18:26 +00:00
Dave Abrahams
b4400ed476 small fixes for Windows; big fixes to come later
[SVN r36700]
2007-01-12 03:28:36 +00:00