From 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 20:24:20 +0200 Subject: Adding upstream version 14.2.21. Signed-off-by: Daniel Baumann --- src/boost/libs/preprocessor/test/Jamfile.v2 | 264 ++++++++++++++++++++++++++++ 1 file changed, 264 insertions(+) create mode 100644 src/boost/libs/preprocessor/test/Jamfile.v2 (limited to 'src/boost/libs/preprocessor/test/Jamfile.v2') diff --git a/src/boost/libs/preprocessor/test/Jamfile.v2 b/src/boost/libs/preprocessor/test/Jamfile.v2 new file mode 100644 index 00000000..fbda6c0f --- /dev/null +++ b/src/boost/libs/preprocessor/test/Jamfile.v2 @@ -0,0 +1,264 @@ +#~ Copyright Rene Rivera 2008 +#~ 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) + +import testing ; +import cast ; + +project preprocessor_tests : requirements on + gcc-4.3.0:all + gcc-4.3.0:-Wno-variadic-macros + gcc-4.4.0:all + gcc-4.4.0:-Wno-variadic-macros + gcc-4.5.0:all + gcc-4.5.0:-Wno-variadic-macros + gcc-4.5.0:"-Wl,--enable-auto-import" + gcc-4.5.2:all + gcc-4.5.2:-Wno-variadic-macros + msvc:all + ; + +alias preprocessor : : + gcc + 3.4 + ; + +alias preprocessor : : + gcc + 4.1 + ; + +alias preprocessor : : + gcc + 4.2 + ; + +alias preprocessor + : + [ compile arithmetic.cpp ] + [ compile array.cpp ] + [ compile comparison.cpp ] + [ compile control.cpp ] + [ compile debug.cpp ] + [ compile facilities.cpp ] + [ compile iteration.cpp ] + [ compile list.cpp ] + [ compile logical.cpp ] + [ compile punctuation.cpp ] + [ compile repetition.cpp ] + [ compile selection.cpp ] + [ compile seq.cpp ] + [ compile slot.cpp ] + [ compile stringize.cpp ] + [ compile tuple.cpp ] + [ compile variadic.cpp ] + ; + +alias preprocessor_nvm + : + [ compile arithmetic.cpp : BOOST_PP_VARIADICS=0 : arithmetic_nvm ] + [ compile array.cpp : BOOST_PP_VARIADICS=0 : array_nvm ] + [ compile comparison.cpp : BOOST_PP_VARIADICS=0 : comparison_nvm ] + [ compile control.cpp : BOOST_PP_VARIADICS=0 : control_nvm ] + [ compile debug.cpp : BOOST_PP_VARIADICS=0 : debug_nvm ] + [ compile facilities.cpp : BOOST_PP_VARIADICS=0 : facilities_nvm ] + [ compile iteration.cpp : BOOST_PP_VARIADICS=0 : iteration_nvm ] + [ compile list.cpp : BOOST_PP_VARIADICS=0 : list_nvm ] + [ compile logical.cpp : BOOST_PP_VARIADICS=0 : logical_nvm ] + [ compile repetition.cpp : BOOST_PP_VARIADICS=0 : repetition_nvm ] + [ compile selection.cpp : BOOST_PP_VARIADICS=0 : selection_nvm ] + [ compile seq.cpp : BOOST_PP_VARIADICS=0 : seq_nvm ] + [ compile slot.cpp : BOOST_PP_VARIADICS=0 : slot_nvm ] + [ compile stringize.cpp : BOOST_PP_VARIADICS=0 : stringize_nvm ] + [ compile tuple.cpp : BOOST_PP_VARIADICS=0 : tuple_nvm ] + ; + +alias preprocessor_c + : + [ compile arithmetic.c + : + : arithmetic_c + ] + [ compile array.c + : + : array_c + ] + [ compile comparison.c + : + : comparison_c + ] + [ compile control.c + : + : control_c + ] + [ compile debug.c + : + : debug_c + ] + [ compile facilities.c + : + : facilities_c + ] + [ compile list.c + : + : list_c + ] + [ compile logical.c + : + : logical_c + ] + [ compile punctuation.c + : + : punctuation_c + ] + [ compile selection.c + : + : selection_c + ] + [ compile seq.c + : + : seq_c + ] + [ compile slot.c + : + : slot_c + ] + [ compile stringize.c + : + : stringize_c + ] + [ compile tuple.c + : + : tuple_c + ] + [ compile variadic.c + : + : variadic_c + ] + ; + +alias preprocessor_c_nvm + : + [ compile arithmetic.c + : BOOST_PP_VARIADICS=0 + : arithmetic_c_nvm + ] + [ compile array.c + : BOOST_PP_VARIADICS=0 + : array_c_nvm + ] + [ compile comparison.c + : BOOST_PP_VARIADICS=0 + : comparison_c_nvm + ] + [ compile control.c + : BOOST_PP_VARIADICS=0 + : control_c_nvm + ] + [ compile debug.c + : BOOST_PP_VARIADICS=0 + : debug_c_nvm + ] + [ compile facilities.c + : BOOST_PP_VARIADICS=0 + : facilities_c_nvm + ] + [ compile list.c + : BOOST_PP_VARIADICS=0 + : list_c_nvm + ] + [ compile logical.c + : BOOST_PP_VARIADICS=0 + : logical_c_nvm + ] + [ compile selection.c + : BOOST_PP_VARIADICS=0 + : selection_c_nvm + ] + [ compile seq.c + : BOOST_PP_VARIADICS=0 + : seq_c_nvm + ] + [ compile slot.c + : BOOST_PP_VARIADICS=0 + : slot_c_nvm + ] + [ compile stringize.c + : BOOST_PP_VARIADICS=0 + : stringize_c_nvm + ] + [ compile tuple.c + : BOOST_PP_VARIADICS=0 + : tuple_c_nvm + ] + ; + +alias preprocessor_isempty : : + gcc + 3.4 + ; + +alias preprocessor_isempty : : + gcc + 4.1 + ; + +alias preprocessor_isempty : : + gcc + 4.2 + ; + +alias preprocessor_isempty + : + [ compile isempty.cpp ] + [ compile checkempty.cpp ] + [ compile-fail isempty_variadic_standard_failure.cpp : BOOST_PP_VARIADICS=1 ] + [ compile-fail isempty_variadic_standard_failure2.cpp : BOOST_PP_VARIADICS=1 ] + [ compile vaopt.cpp ] + ; + +alias preprocessor_isempty_nvm + : + [ compile isempty.cpp : BOOST_PP_VARIADICS=0 : isempty_nvm ] + ; + +alias preprocessor_isempty_c + : + [ compile isempty.c + : + : isempty_c + ] + [ compile-fail isempty_variadic_standard_failure.c + : BOOST_PP_VARIADICS=1 + : isempty_variadic_standard_failure_c + ] + [ compile-fail isempty_variadic_standard_failure2.c + : BOOST_PP_VARIADICS=1 + : isempty_variadic_standard_failure2_c + ] + ; + +alias preprocessor_isempty_c_nvm + : + [ compile isempty.c + : BOOST_PP_VARIADICS=0 + : isempty_c_nvm + ] + ; + +alias preprocessor_config + : + [ run config_info.cpp ] + ; + +alias test_clang_cuda + : + [ compile [ cast _ cpp : clang_cuda.cu ] + : -nocudalib + -nocudainc + "-x cuda" + : clang_cuda_cu + ] + ; + +explicit test_clang_cuda ; -- cgit v1.2.3