From ac8333dee170207641c3f36d55916c35d8601652 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 11 Mar 2024 08:27:02 -0500 Subject: [PATCH 1/7] Make the library modular usable. --- build.jam | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 build.jam diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..9f24b1d --- /dev/null +++ b/build.jam @@ -0,0 +1,23 @@ +# 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/align + : common-requirements + /boost/assert//boost_assert + /boost/config//boost_config + /boost/core//boost_core + /boost/static_assert//boost_static_assert + include + ; + +explicit + [ alias boost_align ] + [ alias all : boost_align test ] + ; + +call-if : boost-library align + ; From cde1ba008d16616aea0a85c387e4acc39492ae38 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 29 Mar 2024 21:12:36 -0500 Subject: [PATCH 2/7] Switch to library requirements instead of source. As source puts extra source in install targets. --- build.jam | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.jam b/build.jam index 9f24b1d..e46fc69 100644 --- a/build.jam +++ b/build.jam @@ -7,10 +7,10 @@ import project ; project /boost/align : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config - /boost/core//boost_core - /boost/static_assert//boost_static_assert + /boost/assert//boost_assert + /boost/config//boost_config + /boost/core//boost_core + /boost/static_assert//boost_static_assert include ; From 1a465248f243a6d4f7b7534faa04ebe1457d7f91 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 5 May 2024 09:00:00 -0500 Subject: [PATCH 3/7] 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 e46fc69..d4a7c92 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/align From d9ee9876b255cf66a79fb18fb1d162907b2b596e Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 14 Jun 2024 11:33:55 -0500 Subject: [PATCH 4/7] 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 d4a7c92..cb1f914 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/align : common-requirements From 2e4e554fa0c9144f3828d25b837be9e8707c8231 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 22:52:05 -0500 Subject: [PATCH 5/7] Update copyright dates. --- build.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.jam b/build.jam index cb1f914..193b910 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 6cf458a53b2c9f834fe431dd76ee7e9d0d011c59 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 23 Jul 2024 22:34:23 -0500 Subject: [PATCH 6/7] Move inter-lib dependencies to a project variable and into the build targets. --- build.jam | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/build.jam b/build.jam index 193b910..3e7417e 100644 --- a/build.jam +++ b/build.jam @@ -5,19 +5,22 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/assert//boost_assert + /boost/config//boost_config + /boost/core//boost_core + /boost/static_assert//boost_static_assert ; + project /boost/align : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config - /boost/core//boost_core - /boost/static_assert//boost_static_assert include ; explicit - [ alias boost_align ] + [ alias boost_align : : : : $(boost_dependencies) ] [ alias all : boost_align test ] ; call-if : boost-library align ; + From 083b2c5a6284a4f0a149547eec9b31c5fbf3a77d Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 27 Jul 2024 10:30:40 -0500 Subject: [PATCH 7/7] Adjust self dependencies as inter-lib deps no longer apply globally. --- test/Jamfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/Jamfile b/test/Jamfile index 2004932..a082b92 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -6,6 +6,8 @@ import testing ; +project : requirements /boost/align//boost_align ; + run align_test.cpp ; run align_overflow_test.cpp ; run align_down_test.cpp ;