Skip to content

Add support for modular build structure. #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 17 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
137 changes: 70 additions & 67 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,89 +13,90 @@ jobs:
fail-fast: false
matrix:
include:
- toolset: gcc-4.8
standard: "03,11"
os: ubuntu-18.04
install: g++-4.8
- toolset: gcc-5
standard: "03,11,14,1z"
os: ubuntu-18.04
install: g++-5
- toolset: gcc-6
standard: "03,11,14,1z"
os: ubuntu-18.04
install: g++-6
- toolset: gcc-7
standard: "03,11,14,17"
os: ubuntu-18.04
- toolset: gcc-8
standard: "03,11,14,17,2a"
os: ubuntu-18.04
install: g++-8
# - toolset: gcc-4.8
# standard: "03,11"
# os: ubuntu-18.04
# install: g++-4.8
# - toolset: gcc-5
# standard: "03,11,14,1z"
# os: ubuntu-18.04
# install: g++-5
# - toolset: gcc-6
# standard: "03,11,14,1z"
# os: ubuntu-18.04
# install: g++-6
# - toolset: gcc-7
# standard: "03,11,14,17"
# os: ubuntu-18.04
# - toolset: gcc-8
# standard: "03,11,14,17,2a"
# os: ubuntu-18.04
# install: g++-8
- toolset: gcc-9
standard: "03,11,14,17,2a"
os: ubuntu-18.04
os: ubuntu-24.04
install: g++-9
- toolset: gcc-10
standard: "03,11,14,17,2a"
os: ubuntu-20.04
os: ubuntu-24.04
install: g++-10
- toolset: gcc-11
standard: "03,11,14,17,2a"
os: ubuntu-20.04
os: ubuntu-24.04
install: g++-11
# - toolset: clang
# compiler: clang++-3.9
# standard: "03,11,14"
# os: ubuntu-18.04
# install: clang-3.9
# - toolset: clang
# compiler: clang++-4.0
# standard: "03,11,14"
# os: ubuntu-18.04
# install: clang-4.0
# - toolset: clang
# compiler: clang++-5.0
# standard: "03,11,14,1z"
# os: ubuntu-18.04
# install: clang-5.0
# - toolset: clang
# compiler: clang++-6.0
# standard: "03,11,14,17"
# os: ubuntu-18.04
# install: clang-6.0
# - toolset: clang
# compiler: clang++-7
# standard: "03,11,14,17"
# os: ubuntu-18.04
# install: clang-7
- toolset: clang
compiler: clang++-3.9
standard: "03,11,14"
os: ubuntu-18.04
install: clang-3.9
- toolset: clang
compiler: clang++-4.0
standard: "03,11,14"
os: ubuntu-18.04
install: clang-4.0
- toolset: clang
compiler: clang++-5.0
standard: "03,11,14,1z"
os: ubuntu-18.04
install: clang-5.0
- toolset: clang
compiler: clang++-6.0
compiler: clang++-15
standard: "03,11,14,17"
os: ubuntu-18.04
install: clang-6.0
os: ubuntu-24.04
install: clang-15
- toolset: clang
compiler: clang++-7
standard: "03,11,14,17"
os: ubuntu-18.04
install: clang-7
- toolset: clang
compiler: clang++-8
standard: "03,11,14,17"
os: ubuntu-20.04
install: clang-8
- toolset: clang
compiler: clang++-9
compiler: clang++-16
standard: "03,11,14,17,2a"
os: ubuntu-20.04
install: clang-9
os: ubuntu-24.04
install: clang-16
- toolset: clang
compiler: clang++-10
compiler: clang++-17
standard: "03,11,14,17,2a"
os: ubuntu-20.04
install: clang-10
os: ubuntu-24.04
install: clang-17
- toolset: clang
compiler: clang++-11
compiler: clang++-18
cxxstd: "03,11,14,17,2a"
os: ubuntu-20.04
install: clang-11
os: ubuntu-24.04
install: clang-18
- toolset: clang
compiler: clang++-12
compiler: clang++-19
cxxstd: "03,11,14,17,2a"
os: ubuntu-20.04
install: clang-12
os: ubuntu-24.04
install: clang-19
- toolset: clang
standard: "03,11,14,17,2a"
os: macos-10.15
os: macos-latest

runs-on: ${{matrix.os}}

Expand All @@ -116,6 +117,7 @@ jobs:
git submodule init libs/config
git submodule init libs/core
git submodule init libs/static_assert
git submodule init libs/throw_exception
git submodule init libs/headers
git submodule init tools/build
git submodule init tools/boost_install
Expand All @@ -138,10 +140,10 @@ jobs:
fail-fast: false
matrix:
include:
- toolset: msvc-14.1
standard: "14,17,latest"
target: 32,64
os: windows-2016
# - toolset: msvc-14.1
# standard: "14,17,latest"
# target: 32,64
# os: windows-2016
- toolset: msvc-14.2
standard: "14,17,latest"
target: 32,64
Expand Down Expand Up @@ -171,6 +173,7 @@ jobs:
git submodule init libs/config
git submodule init libs/core
git submodule init libs/static_assert
git submodule init libs/throw_exception
git submodule init libs/headers
git submodule init tools/build
git submodule init tools/boost_install
Expand Down
25 changes: 25 additions & 0 deletions build.jam
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# 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)

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
;

explicit
[ alias boost_align : : :
: <include>include <library>$(boost_dependencies) ]
[ alias all : boost_align test ]
;

call-if : boost-library align
;

2 changes: 2 additions & 0 deletions test/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

import testing ;

project : requirements <library>/boost/align//boost_align ;

run align_test.cpp ;
run align_overflow_test.cpp ;
run align_down_test.cpp ;
Expand Down