From fc1decfa083f31a4673276618864f47351feec20 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 11 Mar 2024 08:38:17 -0500 Subject: [PATCH 1/8] Make the library modular usable. --- build.jam | 29 +++++++++++++++++++++++++++++ test/Jamfile.v2 | 4 ++++ 2 files changed, 33 insertions(+) create mode 100644 build.jam diff --git a/build.jam b/build.jam new file mode 100644 index 0000000000..32378cd248 --- /dev/null +++ b/build.jam @@ -0,0 +1,29 @@ +# Copyright René Ferdinand Rivera Morell 2023 +# 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 project ; + +project /boost/type_traits + : common-requirements + /boost/config//boost_config + /boost/static_assert//boost_static_assert + include + ; + +explicit + [ alias boost_type_traits ] + [ alias all : boost_type_traits test ] + # Other Boost lib tests depend on the type_traits test checks. + [ alias testing + : # sources + : # requirements + : # default-buidl + : # usage-requirements + test + ] + ; + +call-if : boost-library type_traits + ; diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 6fe0408bf5..840375a7af 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -18,6 +18,10 @@ if [ os.environ CI ] # regular project : requirements + /boost/core//boost_core + /boost/move//boost_move + /boost/mpl//boost_mpl + # default to all warnings on: all # set warnings as errors for those compilers we know we get warning free: From 280b90422dceff5d515a3d668cd84ed57d99c12f Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 29 Mar 2024 21:16:00 -0500 Subject: [PATCH 2/8] Switch to library requirements instead of source. As source puts extra source in install targets. --- build.jam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.jam b/build.jam index 32378cd248..f8149f6311 100644 --- a/build.jam +++ b/build.jam @@ -7,8 +7,8 @@ import project ; project /boost/type_traits : common-requirements - /boost/config//boost_config - /boost/static_assert//boost_static_assert + /boost/config//boost_config + /boost/static_assert//boost_static_assert include ; From 56ffb88963a69b2ac58954c74ca3baa83a3fa7c5 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 5 May 2024 09:00:01 -0500 Subject: [PATCH 3/8] Add requires-b2 check to top-level build file. --- build.jam | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.jam b/build.jam index f8149f6311..3e06438726 100644 --- a/build.jam +++ b/build.jam @@ -3,6 +3,8 @@ # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) +require-b2 5.1 ; + import project ; project /boost/type_traits From 47e22e7887d1fd98d052800c1a06beb8cecdd441 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 14 Jun 2024 11:33:56 -0500 Subject: [PATCH 4/8] Bump B2 require to 5.2 --- build.jam | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build.jam b/build.jam index 3e06438726..bbb57890ff 100644 --- a/build.jam +++ b/build.jam @@ -3,9 +3,7 @@ # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) -require-b2 5.1 ; - -import project ; +require-b2 5.2 ; project /boost/type_traits : common-requirements From d2f66abb226994e972bb60c61c2411ef11d73215 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 21:27:13 -0500 Subject: [PATCH 5/8] Change all references to . --- test/Jamfile.v2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 840375a7af..ab3f6123e1 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -18,9 +18,9 @@ if [ os.environ CI ] # regular project : requirements - /boost/core//boost_core - /boost/move//boost_move - /boost/mpl//boost_mpl + /boost/core//boost_core + /boost/move//boost_move + /boost/mpl//boost_mpl # default to all warnings on: all From 8558d7f831354ec2af2cab2cd37cc847702491e4 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 22:52:04 -0500 Subject: [PATCH 6/8] Update copyright dates. --- build.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.jam b/build.jam index bbb57890ff..7b4118b342 100644 --- a/build.jam +++ b/build.jam @@ -1,4 +1,4 @@ -# Copyright René Ferdinand Rivera Morell 2023 +# Copyright René Ferdinand Rivera Morell 2023-2024 # 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) From 4b3480740cab3c4bd3678088119cf804813aad74 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 23 Jul 2024 22:34:23 -0500 Subject: [PATCH 7/8] Move inter-lib dependencies to a project variable and into the build targets. --- build.jam | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/build.jam b/build.jam index 7b4118b342..f309864682 100644 --- a/build.jam +++ b/build.jam @@ -5,15 +5,17 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/config//boost_config + /boost/static_assert//boost_static_assert ; + project /boost/type_traits : common-requirements - /boost/config//boost_config - /boost/static_assert//boost_static_assert include ; explicit - [ alias boost_type_traits ] + [ alias boost_type_traits : : : : $(boost_dependencies) ] [ alias all : boost_type_traits test ] # Other Boost lib tests depend on the type_traits test checks. [ alias testing @@ -27,3 +29,4 @@ explicit call-if : boost-library type_traits ; + From ba180333de60c86574d2e6835b10eabe04dedac0 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 28 Jul 2024 16:38:50 -0500 Subject: [PATCH 8/8] Adjust doc build to avoid boost-root references. --- doc/Jamfile.v2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 7b2503cdc8..6f0ab1893b 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -18,7 +18,7 @@ boostbook standalone # Index generation: # Path for links to Boost: boost.root=../../../.. - + # Some general style settings: table.footnote.number.format=1 footnote.number.format=1 @@ -36,7 +36,7 @@ boostbook standalone toc.max.depth=4 # How far down we go with TOC's generate.section.toc.level=10 - + # PDF Options: # TOC Generation: this is needed for FOP-0.9 and later: fop1.extensions=0 @@ -62,7 +62,7 @@ boostbook standalone pdf:off html:on $(here)/index.idx - $(here)/../../.. + $(here)/../include on ;