mirror of
https://github.com/boostorg/boost.git
synced 2025-04-14 09:00:36 +00:00
Implement --python-buildid.
Fixes #3544. Patch from Gaudenz Steinlin. [SVN r59987]
This commit is contained in:
parent
284ae78e0d
commit
0715213024
3 changed files with 14 additions and 2 deletions
12
Jamroot
12
Jamroot
|
@ -90,6 +90,12 @@
|
|||
# --buildid=ID Adds the specified ID to the name of built
|
||||
# libraries. The default is to not add anything.
|
||||
#
|
||||
# --python-buildid=ID Adds the specified ID to the name of built
|
||||
# libraries that depend on Python. The default
|
||||
# is to not add anything. This ID is added in
|
||||
# addition t --buildid.
|
||||
#
|
||||
#
|
||||
# --help This message.
|
||||
#
|
||||
# --with-<library> Build and install the specified <library>
|
||||
|
@ -352,6 +358,12 @@ if $(build-id)
|
|||
constant BUILD_ID : [ regex.replace $(build-id) "[*\\/:.\"\' ]" "_" ] ;
|
||||
}
|
||||
|
||||
# Python build id (only for Python libraries)
|
||||
local python-id = [ MATCH "^--python-buildid=(.*)" : [ modules.peek : ARGV ] ] ;
|
||||
if $(python-id)
|
||||
{
|
||||
constant PYTHON_ID : [ regex.replace $(python-id) "[*\\/:.\"\']" "_" ] ;
|
||||
}
|
||||
|
||||
# This rule is called by Boost.Build to determine the name of target. We use it
|
||||
# to encode the build variant, compiler name and boost version in the target
|
||||
|
|
2
libs/mpi
2
libs/mpi
|
@ -1 +1 @@
|
|||
Subproject commit 27893126b68141ebf9dff11e8a69ac75f656ccc1
|
||||
Subproject commit 2d5b14565f7ec6b36ed8637887181736681555a6
|
|
@ -1 +1 @@
|
|||
Subproject commit 16607303202acb00efba444b13a9f4e3c0b060c6
|
||||
Subproject commit 9398a63250133e1eaa6616173f16f465ff875a39
|
Loading…
Add table
Reference in a new issue