|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80025 - trunk/tools/build/v2/tools
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-14 01:09:22
Author: jurko
Date: 2012-08-14 01:09:21 EDT (Tue, 14 Aug 2012)
New Revision: 80025
URL: http://svn.boost.org/trac/boost/changeset/80025
Log:
Boost Build cleanup - removed support for Boost Jam versions prior to version 3.1.17 in the tools/python.jam module. The backward compatibility code was ugly and compatibility with such versions has already been broken in other places (not to mention that such old versions have known defects and should not be used anywhere in the first place, and even if they are, they should be used with their corresponding old Boost Build version). Trimmed trailing spaces.
Text files modified:
trunk/tools/build/v2/tools/python.jam | 15 +++------------
1 files changed, 3 insertions(+), 12 deletions(-)
Modified: trunk/tools/build/v2/tools/python.jam
==============================================================================
--- trunk/tools/build/v2/tools/python.jam (original)
+++ trunk/tools/build/v2/tools/python.jam 2012-08-14 01:09:21 EDT (Tue, 14 Aug 2012)
@@ -34,7 +34,6 @@
import feature ;
import set ;
import builtin ;
-import version ;
# Make this module a project.
@@ -477,14 +476,6 @@
}
# Invoke Python and ask it for all those values.
- if [ version.check-jam-version 3 1 17 ] || ( [ os.name ] != NT )
- {
- # Prior to version 3.1.17 Boost Jam's SHELL command did not support
- # quoted commands correctly on Windows. This means that on that
- # platform we do not support using a Python command interpreter
- # executable whose path contains a space character.
- python-cmd = \"$(python-cmd)\" ;
- }
local full-cmd =
$(python-cmd)" -c \"from sys import *; print('"$(format:J=\\n)"' % ("$(exprs:J=,)"))\"" ;
@@ -654,7 +645,7 @@
case aix : return <library>pthread <library>dl ;
- case * : return <library>pthread <library>dl
+ case * : return <library>pthread <library>dl
<toolset>gcc:<library>util <toolset-intel:platform>linux:<library>util ;
}
}
@@ -855,7 +846,7 @@
}
target-requirements += <python>$(version:E=default) ;
}
-
+
target-requirements += <target-os>$(target-os) ;
# See if we can find a framework directory on darwin.
@@ -1098,7 +1089,7 @@
local pyversion = [ $(property-set).get <python> ] ;
local python ;
local other-pythons ;
-
+
# Make new target that converting Python source by 2to3 when running with Python 3.
local rule make-2to3-source ( source )
{
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk