]> git.pld-linux.org Git - packages/boost.git/blob - boost-dual-python-build.patch
up to 1.82.0
[packages/boost.git] / boost-dual-python-build.patch
1 --- boost_1_63_0/tools/build/src/tools/python.jam.orig  2017-02-16 18:51:14.005483084 +0000
2 +++ boost_1_63_0/tools/build/src/tools/python.jam       2017-02-16 18:51:24.912497496 +0000
3 @@ -926,27 +926,27 @@
4      # for a particular target OS as the default. This makes it so that we can
5      # select a python interpreter with only knowledge of the target OS. And hence
6      # can configure different Pythons based on the target OS only.
7 -    local toolset-requirements = [ toolset.requirements ] ;
8 -    local toolset-target-os-requirements
9 -        = [ property.evaluate-conditionals-in-context
10 -            [ $(toolset-requirements).raw ] : <target-os>$(target-os) ] ;
11 -    if ! <python> in $(toolset-target-os-requirements:G)
12 -    {
13 -        toolset.add-requirements <target-os>$(target-os):<python>$(version:E=default) ;
14 -    }
15 +    #local toolset-requirements = [ toolset.requirements ] ;
16 +    #local toolset-target-os-requirements
17 +    #    = [ property.evaluate-conditionals-in-context
18 +    #        [ $(toolset-requirements).raw ] : <target-os>$(target-os) ] ;
19 +    #if ! <python> in $(toolset-target-os-requirements:G)
20 +    #{
21 +    #    toolset.add-requirements <target-os>$(target-os):<python>$(version:E=default) ;
22 +    #}
23  
24      # We also set a default requirement that assigns the first python configured
25      # for a particular target OS as the default. This makes it so that we can
26      # select a python interpreter with only knowledge of the target OS. And hence
27      # can configure different Pythons based on the target OS only.
28 -    local toolset-requirements = [ toolset.requirements ] ;
29 -    local toolset-target-os-requirements
30 -        = [ property.evaluate-conditionals-in-context
31 -            [ $(toolset-requirements).raw ] : <target-os>$(target-os) ] ;
32 -    if ! <python> in $(toolset-target-os-requirements:G)
33 -    {
34 -        toolset.add-requirements <target-os>$(target-os):<python>$(version:E=default) ;
35 -    }
36 +    #local toolset-requirements = [ toolset.requirements ] ;
37 +    #local toolset-target-os-requirements
38 +    #    = [ property.evaluate-conditionals-in-context
39 +    #        [ $(toolset-requirements).raw ] : <target-os>$(target-os) ] ;
40 +    #if ! <python> in $(toolset-target-os-requirements:G)
41 +    #{
42 +    #    toolset.add-requirements <target-os>$(target-os):<python>$(version:E=default) ;
43 +    #}
44  
45      # Register the right suffix for extensions.
46      register-extension-suffix $(extension-suffix) : $(target-requirements) ;
This page took 0.063895 seconds and 3 git commands to generate.