diff --git a/build/Jamfile b/build/Jamfile deleted file mode 100644 index 92f715c2..00000000 --- a/build/Jamfile +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright David Abrahams 2001-2006. Distributed under the Boost -# Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -# -# Boost.Python library Jamfile - - -# declare the location of this subproject relative to the root -subproject libs/python/build ; - -# bring in the rules for python -import python ; - -if [ check-python-config ] -{ - - local bpl-linkflags ; - - if $(UNIX) && ( $(OS) = AIX ) - { - bpl-linkflags = "-e initlibboost_python" ; - } - - # Enabling intrinsics (/0i) or maximize speed (/02) seem to cause - # internal compiler errors with this toolset. - local msvc-stlport-workarounds - = off "-Ogty -O1 -Gs" ; - - local sources = - numeric.cpp - list.cpp - long.cpp - dict.cpp - tuple.cpp - str.cpp - slice.cpp - - aix_init_module.cpp - converter/from_python.cpp - converter/registry.cpp - converter/type_id.cpp - object/enum.cpp - object/class.cpp - object/function.cpp - object/inheritance.cpp - object/life_support.cpp - object/pickle_support.cpp - errors.cpp - module.cpp - converter/builtin_converters.cpp - converter/arg_to_python_base.cpp - object/iterator.cpp - object/stl_iterator.cpp - object_protocol.cpp - object_operators.cpp - wrapper.cpp - exec.cpp - import.cpp - ; - - dll boost_python - : ../src/$(sources) - : $(BOOST_PYTHON_V2_PROPERTIES) - BOOST_PYTHON_SOURCE - $(bpl-linkflags) - $(msvc-stlport-workarounds) - <*>-bind_at_load - <*>-bind_at_load - ; - - template extension - : boost_python - : ../../.. - ; - - lib boost_python - : # sources - ../src/$(sources) - - : # requirements - $(BOOST_PYTHON_V2_PROPERTIES) - BOOST_PYTHON_SOURCE - BOOST_STATIC_LIB - $(bpl-linkflags) - $(msvc-stlport-workarounds) - ; - - stage bin-stage : boost_python boost_python - : "_debug" - "_pydebug" - : - debug release - ; - - install python lib - : boost_python boost_python - ; -} diff --git a/test/Jamfile b/test/Jamfile deleted file mode 100644 index 9203332b..00000000 --- a/test/Jamfile +++ /dev/null @@ -1,240 +0,0 @@ -# Copyright David Abrahams 2006. Distributed under the Boost -# Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -# -# To run all tests quietly: jam test -# To run all tests with verbose output: jam -sPYTHON_TEST_ARGS=-v test -# -subproject libs/python/test ; - -# bring in the rules for python and testing -import python ; - -if [ check-python-config ] -{ - -# A bug in the Win32 intel compilers causes compilation of one of our -# tests to take forever when debug symbols are enabled. This rule -# turns them off when added to the requirements section -rule turn-off-intel-debug-symbols ( toolset variant : properties * ) -{ - if $(NT) && [ MATCH (.*intel.*) : $(toolset) ] - { - properties = [ difference $(properties) : on ] off ; - } - return $(properties) ; -} - -# Some tests hang when compiled with HP-CXX and executed on Tru64. -rule disable-for-cxx-tru64 ( toolset variant : properties * ) -{ - if $(UNIX) && $(OS) = OSF - { - switch $(toolset) - { - case tru64cxx* : properties = - [ replace-properties $(properties) : no ] ; - } - } - return $(properties) ; -} - -template py-unit-test - : - : $(PYTHON_PROPERTIES) BOOST_PYTHON_SUPPRESS_REGISTRY_INITIALIZATION - [ difference $(PYTHON_PROPERTIES) : BOOST_PYTHON_DYNAMIC_LIB ] BOOST_PYTHON_STATIC_LIB - ; - -# Convenience rule makes declaring tests faster -rule bpl-test ( name ? : files * : requirements * ) -{ - files ?= $(name).py $(name).cpp ; - - local modules ; - local py ; - for local f in $(files) - { - if $(f:S) = .py - { - if $(py) - { - EXIT too many python drivers specified: "$(py)" "$(f)" ; - } - py = $(f) ; - } - } - - name ?= $(py:S=) ; - - for local f in $(files) - { - if $(f:S) != .py - { - local m = $(f:S=) ; - - if $(m) = $(py:S=) - { - m = $(name) ; - - if $(m) = $(py:S=) - { - m = $(m)_ext ; - } - } - extension $(m) : $(f)