From 19fcec84d8d7d21e796c7624e521b60d28ee21ed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:45:59 +0200 Subject: Adding upstream version 16.2.11+ds. Signed-off-by: Daniel Baumann --- src/boost/libs/chrono/build/Jamfile.v2 | 113 +++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 src/boost/libs/chrono/build/Jamfile.v2 (limited to 'src/boost/libs/chrono/build/Jamfile.v2') diff --git a/src/boost/libs/chrono/build/Jamfile.v2 b/src/boost/libs/chrono/build/Jamfile.v2 new file mode 100644 index 000000000..1d887e2f6 --- /dev/null +++ b/src/boost/libs/chrono/build/Jamfile.v2 @@ -0,0 +1,113 @@ +# Boost Chrono Library Build Jamfile + +# Copyright Beman Dawes 2002, 2006, 2008 +# Copyright 2009-2012 Vicente J.Botet Escriba. + +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt) + +# See library home page at http://www.boost.org/libs/chrono + +project boost/chrono + : source-location ../src + : requirements + freebsd:"-lrt" + linux:"-lrt -lpthread" + pgi:"-lrt" + #single:BOOST_CHRONO_THREAD_DISABLED + #BOOST_ERROR_CODE_HEADER_ONLY + #BOOST_COMMON_TYPE_USES_STATIC_ASSERT + #BOOST_RATIO_USES_STATIC_ASSERT + #BOOST_CHRONO_USES_STATIC_ASSERT + #BOOST_COMMON_TYPE_USES_MPL_ASSERT + #BOOST_RATIO_USES_MPL_ASSERT + #BOOST_CHRONO_USES_MPL_ASSERT + #BOOST_COMMON_TYPE_USES_ARRAY_ASSERT + #BOOST_RATIO_USES_ARRAY_ASSERT + #BOOST_CHRONO_USES_ARRAY_ASSERT + sun:__typeof__=__typeof__ + #gcc-3.4.4:--enable-auto-import + #gcc-4.3.4:--enable-auto-import + #gcc-mingw-4.4.0:--enable-auto-import + #gcc-mingw-4.5.0:--enable-auto-import + all + gcc:-Wextra + #gcc:-pedantic + clang:on + gcc:-Wno-long-long + #gcc:-Wno-variadic-macros + gcc-4:-Wno-variadic-macros + gcc-5:-Wno-variadic-macros + darwin:-Wextra + darwin:-pedantic + darwin:-Wno-long-long + #darwin:-Wno-variadic-macros + darwin-4:-Wno-variadic-macros + darwin-5:-Wno-variadic-macros + #pathscale:-Wextra + pathscale:-Wno-long-long + pathscale:-pedantic + clang:-Wextra + clang:-pedantic + clang:-Wno-long-long + clang:-Wno-variadic-macros + gcc-4.4.0,windows:-fdiagnostics-show-option + gcc-4.5.0,windows:-fdiagnostics-show-option + gcc-4.6.0,windows:-fdiagnostics-show-option + gcc-4.6.3,windows:-fdiagnostics-show-option + gcc-4.7.0,windows:-fdiagnostics-show-option + gcc-4.8.0,windows:-fdiagnostics-show-option + msvc:/wd4512 + +# Note: Some of the remarks from the Intel compiler are disabled +# remark #193: zero used for undefined preprocessing identifier "XXX" +# remark #304: access control not specified ("public" by default) +# remark #383: value copied to temporary, reference to temporary used +# remark #444: destructor for base class "XXX" (declared at line YYY") is not virtual +# remark #593: variable "XXX" was set but never used +# remark #981: operands are evaluated in unspecified order +# remark #1418: external function definition with no prior declaration +# remark #2415: variable "XXX" of static storage duration was declared but never referenced + + intel:-wd193,304,383,444 + intel:-wd593,981 + intel:-wd1418 + intel:-wd2415 + + + + : usage-requirements # pass these requirement to dependents (i.e. users) + single:BOOST_CHRONO_THREAD_DISABLED + #BOOST_ERROR_CODE_HEADER_ONLY + #BOOST_COMMON_TYPE_USES_STATIC_ASSERT + #BOOST_RATIO_USES_STATIC_ASSERT + #BOOST_CHRONO_USES_STATIC_ASSERT + #BOOST_COMMON_TYPE_USES_MPL_ASSERT + #BOOST_RATIO_USES_MPL_ASSERT + #BOOST_CHRONO_USES_MPL_ASSERT + #BOOST_COMMON_TYPE_USES_ARRAY_ASSERT + #BOOST_RATIO_USES_ARRAY_ASSERT + #BOOST_CHRONO_USES_ARRAY_ASSERT + #vacpp:BOOST_COMMON_TYPE_DONT_USE_TYPEOF + vacpp:BOOST_TYPEOF_EMULATION + sun:__typeof__=__typeof__ + + shared:BOOST_CHRONO_DYN_LINK=1 + static:BOOST_CHRONO_STATIC_LINK=1 + gcc-3.4.4:--enable-auto-import + gcc-4.3.4:--enable-auto-import + gcc-4.4.0,windows:--enable-auto-import + gcc-4.5.0,windows:--enable-auto-import + ; + +SOURCES = chrono thread_clock process_cpu_clocks ; + + +lib boost_chrono + : $(SOURCES).cpp + : + shared:BOOST_ALL_DYN_LINK=1 # tell source we're building dll's + static:BOOST_All_STATIC_LINK=1 # tell source we're building static lib's + ; + +boost-install boost_chrono ; -- cgit v1.2.3