2
0
mirror of https://github.com/boostorg/compat.git synced 2026-01-21 16:52:23 +00:00

17 Commits

Author SHA1 Message Date
Peter Dimov
889d2608e6 Add VERBATIM to add_custom_target 2024-08-20 21:06:26 +03:00
Peter Dimov
787a5dd4d1 Update build.jam 2024-08-20 20:56:20 +03:00
Rene Rivera
a6520ef2e1 Sync from upstream. 2024-07-25 17:20:02 -05:00
Rene Rivera
0d2593326f Move inter-lib dependencies to a project variable and into the build targets. 2024-07-23 22:34:24 -05:00
Peter Dimov
4abae7082a Update ci.yml 2024-07-22 02:15:35 +03:00
Peter Dimov
d802b97ba8 Update .drone.jsonnet 2024-07-22 02:03:00 +03:00
Rene Rivera
e6d2faa267 Sync from upstream. 2024-07-12 08:55:45 -05:00
Rene Rivera
438e0fbbf3 Bump B2 require to 5.2 2024-06-14 11:33:55 -05:00
Rene Rivera
df5cd71735 Add requires-b2 check to top-level build file. 2024-05-05 09:00:00 -05:00
Rene Rivera
6f8c2fe8c1 Add missing import-search for cconfig/predef checks. 2024-05-04 23:28:15 -05:00
Rene Rivera
e5f0043abc Sync from upstream. 2024-04-28 20:36:12 -05:00
Rene Rivera
d5cf9802bd Add new lib dependencies. 2024-04-25 22:12:11 -05:00
Rene Rivera
28496a6a01 Sync from upstream. 2024-04-20 15:34:30 -05:00
Rene Rivera
ed8837a4ff Sync from upstream. 2024-04-10 07:58:31 -05:00
Rene Rivera
7fc7795d6b Switch to library requirements instead of source. As source puts extra source in install targets. 2024-03-29 21:15:58 -05:00
Rene Rivera
0598dd0688 Sync from upstream. 2024-03-23 07:58:05 -05:00
Rene Rivera
c511487e78 Make the library modular usable. 2024-03-11 08:27:02 -05:00
6 changed files with 59 additions and 15 deletions

View File

@@ -99,7 +99,7 @@ local windows_pipeline(name, image, environment, arch = "amd64") =
linux_pipeline(
"Linux 16.04 GCC 4.8 32/64",
"cppalliance/droneubuntu1604:1",
{ TOOLSET: 'gcc', COMPILER: 'g++', CXXSTD: '11', ADDRMD: '32,64' },
{ TOOLSET: 'gcc', COMPILER: 'g++-4.8', CXXSTD: '11', ADDRMD: '32,64' },
"g++-4.8-multilib",
),
@@ -151,23 +151,37 @@ local windows_pipeline(name, image, environment, arch = "amd64") =
),
linux_pipeline(
"Linux 23.04 GCC 13 32/64 UBSAN",
"Linux 23.04 GCC 13 32/64",
"cppalliance/droneubuntu2304:1",
{ TOOLSET: 'gcc', COMPILER: 'g++-13', CXXSTD: '11,14,17,20,2b', ADDRMD: '32,64' } + ubsan,
{ TOOLSET: 'gcc', COMPILER: 'g++-13', CXXSTD: '11,14,17,20,2b', ADDRMD: '32,64' },
"g++-13-multilib",
),
linux_pipeline(
"Linux 23.04 GCC 13 32/64 ASAN",
"cppalliance/droneubuntu2304:1",
{ TOOLSET: 'gcc', COMPILER: 'g++-13', CXXSTD: '11,14,17,20,2b', ADDRMD: '32,64' } + asan,
"g++-13-multilib",
),
linux_pipeline(
"Linux 24.04 GCC 14 32/64",
"Linux 24.04 GCC 14 32 ASAN",
"cppalliance/droneubuntu2404:1",
{ TOOLSET: 'gcc', COMPILER: 'g++-14', CXXSTD: '11,14,17,20,2b', ADDRMD: '32,64' },
{ TOOLSET: 'gcc', COMPILER: 'g++-14', CXXSTD: '11,14,17,20,2b', ADDRMD: '32' } + asan,
"g++-14-multilib",
),
linux_pipeline(
"Linux 24.04 GCC 14 64 ASAN",
"cppalliance/droneubuntu2404:1",
{ TOOLSET: 'gcc', COMPILER: 'g++-14', CXXSTD: '11,14,17,20,2b', ADDRMD: '64' } + asan,
"g++-14-multilib",
),
linux_pipeline(
"Linux 24.04 GCC 14 32 UBSAN",
"cppalliance/droneubuntu2404:1",
{ TOOLSET: 'gcc', COMPILER: 'g++-14', CXXSTD: '11,14,17,20,2b', ADDRMD: '32' } + ubsan,
"g++-14-multilib",
),
linux_pipeline(
"Linux 24.04 GCC 14 64 UBSAN",
"cppalliance/droneubuntu2404:1",
{ TOOLSET: 'gcc', COMPILER: 'g++-14', CXXSTD: '11,14,17,20,2b', ADDRMD: '64' } + ubsan,
"g++-14-multilib",
),

View File

@@ -176,6 +176,10 @@ jobs:
shell: bash
steps:
- name: Enable Node 16
run: |
echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV
- uses: actions/checkout@v3
- name: Setup container environment

22
build.jam Normal file
View File

@@ -0,0 +1,22 @@
# Copyright 2024 René Ferdinand Rivera Morell
# Copyright 2024 Peter Dimov
# Distributed under the Boost Software License, Version 1.0.
# https://www.boost.org/LICENSE_1_0.txt
require-b2 5.2 ;
constant boost_dependencies :
/boost/assert//boost_assert
/boost/config//boost_config
/boost/throw_exception//boost_throw_exception
;
project /boost/compat ;
explicit
[ alias boost_compat : : : : <include>include <library>$(boost_dependencies) ]
[ alias all : boost_compat test ]
;
call-if : boost-library compat
;

View File

@@ -4,7 +4,8 @@
# https://www.boost.org/LICENSE_1_0.txt
import testing ;
import ../../config/checks/config : requires ;
import-search /boost/config/checks ;
import config : requires ;
project
: default-build
@@ -21,6 +22,9 @@ project
<toolset>gcc:<warnings-as-errors>on
<toolset>clang:<warnings-as-errors>on
<library>/boost/core//boost_core
<library>/boost/mp11//boost_mp11
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81601
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91146
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92397

View File

@@ -14,4 +14,4 @@ target_link_libraries(quick Boost::compat)
enable_testing()
add_test(quick quick)
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)
add_custom_target(check VERBATIM COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)

View File

@@ -18,4 +18,4 @@ target_link_libraries(quick Boost::compat)
enable_testing()
add_test(quick quick)
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)
add_custom_target(check VERBATIM COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)