2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-23 03:32:12 +00:00
Commit Graph

10944 Commits

Author SHA1 Message Date
Dave Abrahams
3e78309c01 Bringing forward BBv2/Python support and a few other things that were
obviously more up-to-date on the RC branch.

Removed the Boost.Python v1 zip archive.


[SVN r37346]
2007-04-03 17:10:53 +00:00
Dave Abrahams
4f0eaeede0 Bringing forward BBv2/Python support and a few other things that were
obviously more up-to-date on the RC branch.

Removed the Boost.Python v1 zip archive.


[SVN r37346]
2007-04-03 17:10:53 +00:00
Dave Abrahams
9e7f5f50c9 Support for --with-pydebug builds.
python.jam:

  Support for the specification of "_d" extension suffix.

  In compute-default-paths, fixed the check for residence in
  a "PCBuild.*" directory so we can build against Windows Python built
  in a source distribution.

common.jam:

  Fixed generation of the "y" tag to look for <python-debugging>on
  rather than the whole debug-python build variant.

  Fixed some grammar and spelling.

virtual-target.jam:

  Added the ability to forego the prepending of "." to a
  generated-target-suffix by specifying the suffix enclosed in <...>

libs/python/build/Jamfile.v2:

  #define BOOST_DEBUG_PYTHON when <python-debugging>on


[SVN r37326]
2007-04-02 00:51:15 +00:00
Dave Abrahams
d99a280ef5 Support for --with-pydebug builds.
python.jam:

  Support for the specification of "_d" extension suffix.

  In compute-default-paths, fixed the check for residence in
  a "PCBuild.*" directory so we can build against Windows Python built
  in a source distribution.

common.jam:

  Fixed generation of the "y" tag to look for <python-debugging>on
  rather than the whole debug-python build variant.

  Fixed some grammar and spelling.

virtual-target.jam:

  Added the ability to forego the prepending of "." to a
  generated-target-suffix by specifying the suffix enclosed in <...>

libs/python/build/Jamfile.v2:

  #define BOOST_DEBUG_PYTHON when <python-debugging>on


[SVN r37326]
2007-04-02 00:51:15 +00:00
Rene Rivera
86d8ad3a39 More fixes and cleanups to make the translation now comparable to the XSLT translator.
[SVN r37325]
2007-04-01 04:45:31 +00:00
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
67c8babc89 Get rid of the trailing blanks
[SVN r37322]
2007-03-31 05:03: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
1d08e7f9dd Remove -lpthread for SunOS
[SVN r37320]
2007-03-31 00:08:28 +00:00
Dave Abrahams
ebaa69393b Remove -lpthread for SunOS
[SVN r37320]
2007-03-31 00:08:28 +00:00
Dave Abrahams
d38e995161 Fix the use of system library dependencies
[SVN r37310]
2007-03-28 12:44:08 +00:00
Dave Abrahams
01a0c6864f Fix the use of system library dependencies
[SVN r37310]
2007-03-28 12:44:08 +00:00
Boris Gubenko
2b8b44530c remove hard-coded -mt
[SVN r37308]
2007-03-28 12:28:22 +00:00
Boris Gubenko
cd301db7c8 remove hard-coded -mt
[SVN r37308]
2007-03-28 12:28:22 +00:00
Rene Rivera
702af60143 More cleanup. Finish commenting functions.
[SVN r37306]
2007-03-28 03:43:27 +00:00
Rene Rivera
09a0182e98 More cleanup. Finish commenting functions.
[SVN r37306]
2007-03-28 03:43:27 +00:00
Dave Abrahams
76572484ed 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
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
de81f5be4f 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
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
18d905490d Fix extension module suffix on HPUX for Python 2.4 and below
[SVN r37269]
2007-03-23 04:43:27 +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
1c4b621eba 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
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
9fcc9247f1 Merge: Remove outdated comment
[SVN r37254]
2007-03-21 15:53:57 +00:00
Vladimir Prus
a358499259 Merge: Remove outdated comment
[SVN r37254]
2007-03-21 15:53:57 +00:00
Vladimir Prus
07e1cdeb8b Remove outdated comment
[SVN r37253]
2007-03-21 15:52:56 +00:00
Vladimir Prus
a3d2843111 Remove outdated comment
[SVN r37253]
2007-03-21 15:52:56 +00:00
Dave Abrahams
b7bd9d6748 Some simplifications. Building on Cygwin from an NT bjam is broken again :(
[SVN r37252]
2007-03-21 08:02:27 +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
a2454307d1 Properly set up <dll-path> for windows embedding targets.
[SVN r37251]
2007-03-21 05:42:31 +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
0ff87fbbb9 Fix python's generator error
[SVN r37243]
2007-03-20 16:48:05 +00:00
Vladimir Prus
0c4a03c607 Fix python's generator error
[SVN r37243]
2007-03-20 16:48:05 +00:00
Vladimir Prus
1a0e9f436b Merge
[SVN r37239]
2007-03-20 07:37:16 +00:00
Vladimir Prus
108b40fb96 Merge
[SVN r37239]
2007-03-20 07:37:16 +00:00
Vladimir Prus
d536640e8e Quoted DEF_FILE.
Patch from David Deakins.


[SVN r37238]
2007-03-20 07:36:14 +00:00
Vladimir Prus
65aaa1dde6 Quoted DEF_FILE.
Patch from David Deakins.


[SVN r37238]
2007-03-20 07:36:14 +00:00
Dave Abrahams
89de7521a3 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
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
567a3f7566 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
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
5a5288af94 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
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
3beb2c1966 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
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
57d0dda79b Fix bug reported by Markus Schöpflin
[SVN r37202]
2007-03-16 15:40:24 +00:00
Dave Abrahams
d16686f3c0 Fix bug reported by Markus Schöpflin
[SVN r37202]
2007-03-16 15:40:24 +00:00
Rene Rivera
4a55b80b48 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
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