Skip to content

[pull] develop from boostorg:develop #2

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 87 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
8ee7c5a
Update ci.yml
pdimov Jul 14, 2022
c633a95
Change macos-10.15 to macos-11 in ci.yml
pdimov Aug 15, 2022
4c5f254
add boost_variant2.natvis and interface source files
vinniefalco Aug 18, 2022
78a9744
Update ci.yml
pdimov Oct 14, 2022
6fe1c69
Add Drone support
pdimov Oct 17, 2022
4a5f3dc
Add variant<monostate, T>::emplace tests to fish out -Wmaybe-uninitia…
pdimov Oct 17, 2022
457147d
Suppress -Wmaybe-uninitialized in emplace_impl
pdimov Oct 18, 2022
67a1219
Add JSON support (refs #28)
pdimov Oct 18, 2022
1f8c4a1
Replace polymorphic lambdas with function objects for C++11
pdimov Oct 18, 2022
aad1f86
Reflect the change in is_null_like
pdimov Oct 18, 2022
423d350
Remove unneeded forward declarations
pdimov Oct 18, 2022
32862d6
Add missing std::move
pdimov Oct 18, 2022
a948b85
Update revision history
pdimov Oct 18, 2022
bcb8796
Add /permissive- jobs to Drone and Appveyor
pdimov Oct 24, 2022
376925a
Work around msvc-14.1 /permissive- failure
pdimov Oct 24, 2022
4d1fd43
Update supported compilers in documentation and README
pdimov Oct 27, 2022
604d370
Add CMake tests to Appveyor
pdimov Jan 12, 2023
1b34c20
Update appveyor.yml
pdimov Jan 12, 2023
a74ebd3
Update appveyor.yml
pdimov Jan 12, 2023
fcf9746
Merge branch 'develop' of https://github.com/vinniefalco/boost-varian…
pdimov Jan 12, 2023
ec2819a
Update CMakeLists.txt
pdimov Jan 12, 2023
95a8c5f
Update .drone.jsonnet
pdimov Jan 23, 2023
2659528
Add variant<>::uses_double_storage(). Refs #37.
pdimov Jun 28, 2023
129e27c
Update Drone files
pdimov Jun 28, 2023
30afb9e
Update test/Jamfile to fix Drone issues
pdimov Jun 29, 2023
82b98fb
Cast 3.14f to float because FLT_EVAL_METHOD (see https://gcc.gnu.org/…
pdimov Jun 29, 2023
2c59071
Use the exact 3.125f in variant_visit_r.cpp
pdimov Jun 29, 2023
362224a
Update ci.yml
pdimov Jun 29, 2023
e2546b7
Document uses_double_storage(). Refs #37.
pdimov Jun 29, 2023
a5cb058
Make tag_invoke_L2 more msvc-14.0-friendly
pdimov Sep 3, 2023
db12c36
Remove unnecessary includes
pdimov Oct 11, 2023
55f1332
Suppress -Wuninitialized in emplace_impl
13steinj Oct 23, 2023
9e4234b
Merge pull request #39 from 13steinj/develop
pdimov Oct 24, 2023
9cf3298
Add missing dots in visit_by_index docs
Lastique Jan 11, 2024
c3071b7
Merge pull request #40 from Lastique/patch-1
pdimov Jan 11, 2024
a38839f
Update ci.yml
pdimov Jan 11, 2024
3298078
Update .drone.jsonnet
pdimov Jan 11, 2024
c125b32
Add msvc-14.3 /permissive- to Drone
pdimov Feb 8, 2024
5c34125
Make the library modular usable.
grafikrobot Mar 11, 2024
77234b5
Improve natvis:
K-ballo Mar 23, 2024
a936eae
Add test/variant_derived_construct2. Refs #43.
pdimov Mar 24, 2024
f0acc93
Work around MSVC failures in variant_derived_construct2. Refs #43.
pdimov Mar 24, 2024
ff36c3a
Merge pull request #42 from K-ballo/more-natvis
pdimov Mar 25, 2024
09f3802
Switch to library requirements instead of source. As source puts extr…
grafikrobot Mar 30, 2024
02303d6
Sync from upstream.
grafikrobot Apr 10, 2024
1324e32
Add missing import-search for cconfig/predef checks.
grafikrobot May 5, 2024
bb13b5b
Add requires-b2 check to top-level build file.
grafikrobot May 5, 2024
78796d0
Increase workaround to < 1950, because VS2022 has reached _MSC_VER=19…
pdimov May 17, 2024
65ab0f8
Update ci.yml
pdimov May 17, 2024
38293da
Update .drone.jsonnet
pdimov May 17, 2024
f9bdafd
Remove C++11 requirements from test/Jamfile
pdimov May 18, 2024
429a82a
Sync from upstream.
grafikrobot May 20, 2024
4f207d7
Bump B2 require to 5.2
grafikrobot Jun 14, 2024
fc088e7
Change all <source> references to <library>.
grafikrobot Jul 21, 2024
f874a2c
Update copyright dates.
grafikrobot Jul 21, 2024
d4f0e57
Update .drone.jsonnet
pdimov Jul 21, 2024
e3cf721
Define BOOST_ALLOW_DEPRECATED in JSON tests for g++ 4.x
pdimov Jul 21, 2024
0e325dc
Update ci.yml
pdimov Jul 21, 2024
f5cd36a
Update MSVC workaround
pdimov Jul 21, 2024
ea43949
Move inter-lib dependencies to a project variable and into the build …
grafikrobot Jul 24, 2024
f78343e
Sync from upstream.
grafikrobot Jul 25, 2024
acf2445
Update build.jam, test/Jamfile
pdimov Aug 28, 2024
c7c5eb2
Update .drone.jsonnet
pdimov Aug 28, 2024
a4b167b
Add VERBATIM to add_custom_target
pdimov Aug 28, 2024
79061e4
Update ci.yml
pdimov Nov 22, 2024
1202390
Update .drone.jsonnet
pdimov Nov 22, 2024
9061e42
Add test/variant_visit_cx.cpp. Refs #47.
pdimov Nov 23, 2024
bdc1098
Add test/variant_visit_r_cx.cpp. Refs #47.
pdimov Nov 23, 2024
19b75ff
Add test/variant_visit_cx_2.cpp. Refs #47.
pdimov Nov 23, 2024
8333e9a
Apply Node20 workaround
pdimov Dec 12, 2024
47e5449
Added missing std namespace qualifiers.
Lastique Dec 17, 2024
509ce1d
Merge pull request #49 from Lastique/patch-1
pdimov Dec 18, 2024
306a602
Compute the index type with a metafunction. Refs #50.
pdimov Dec 21, 2024
e2fc107
Add test/variant_index_type.cpp. Refs #50.
pdimov Dec 21, 2024
94749d0
Disable variant_index_type.cpp for MSVC 32 bit
pdimov Dec 22, 2024
639bd02
Add -ftemplate-depth=1024 for Clang (3.x needs it)
pdimov Dec 22, 2024
2f5dbc1
Remove cxxstd=1z for Clang 5.0
pdimov Dec 22, 2024
7b8e8c3
Disable variant_index_type.cpp for msvc-14.0, because GHA fails with …
pdimov Dec 22, 2024
7c64abd
Remove clang-5.0/cxxstd=1z from Drone as well
pdimov Dec 22, 2024
183aea2
Only use -ftemplate-depth for Clang on Linux, because clang-cl doesn'…
pdimov Dec 22, 2024
8f69185
Use -j2 on GHA and Appveyor to avoid MSVC out of heap errors
pdimov Dec 22, 2024
d77d61c
Avoid use of mp_back in variant_index_type.cpp
pdimov Dec 22, 2024
010c785
Split variant_index_type into separate runs for each variant size
pdimov Dec 22, 2024
2630b3e
Use the smallest appropriate unsigned type for the index. Closes #50.
pdimov Dec 22, 2024
df84f1f
Work around Clang 3.x failures
pdimov Dec 22, 2024
6669e07
Work around GCC 5, 6 failures
pdimov Dec 22, 2024
8caa1a3
Update revision history
pdimov Jan 15, 2025
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
440 changes: 440 additions & 0 deletions .drone.jsonnet

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions .drone/drone.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
@REM Copyright 2022 Peter Dimov
@REM Distributed under the Boost Software License, Version 1.0.
@REM https://www.boost.org/LICENSE_1_0.txt

@ECHO ON

set LIBRARY=%1
set DRONE_BUILD_DIR=%CD%

set BOOST_BRANCH=develop
if "%DRONE_BRANCH%" == "master" set BOOST_BRANCH=master
cd ..
git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
cd boost-root
git submodule update --init tools/boostdep
xcopy /s /e /q %DRONE_BUILD_DIR% libs\%LIBRARY%\
python tools/boostdep/depinst/depinst.py %LIBRARY%
cmd /c bootstrap
b2 -d0 headers

if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
if not "%ADDRMD%" == "" set ADDRMD=address-model=%ADDRMD%
if not "%CXXFLAGS%" == "" set CXXFLAGS=cxxflags=%CXXFLAGS%
b2 -j3 libs/%LIBRARY%/test toolset=%TOOLSET% %CXXSTD% %ADDRMD% %CXXFLAGS% variant=debug,release embed-manifest-via=linker
25 changes: 25 additions & 0 deletions .drone/drone.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash

# Copyright 2022 Peter Dimov
# Distributed under the Boost Software License, Version 1.0.
# https://www.boost.org/LICENSE_1_0.txt

set -ex
export PATH=~/.local/bin:/usr/local/bin:$PATH

DRONE_BUILD_DIR=$(pwd)

BOOST_BRANCH=develop
if [ "$DRONE_BRANCH" = "master" ]; then BOOST_BRANCH=master; fi

cd ..
git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
cd boost-root
git submodule update --init tools/boostdep
cp -r $DRONE_BUILD_DIR/* libs/$LIBRARY
python tools/boostdep/depinst/depinst.py $LIBRARY
./bootstrap.sh
./b2 -d0 headers

echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam
./b2 -j3 libs/$LIBRARY/test toolset=$TOOLSET cxxstd=$CXXSTD variant=debug,release ${ADDRMD:+address-model=$ADDRMD} ${UBSAN:+undefined-sanitizer=norecover debug-symbols=on} ${ASAN:+address-sanitizer=norecover debug-symbols=on} ${LINKFLAGS:+linkflags=$LINKFLAGS}
Loading