Commit Graph

1083 Commits

Author SHA1 Message Date
Peter Dimov df91243a1d Whether wchar_t is signed is implementation-defined 2021-08-21 20:28:47 +03:00
Andrey Semashev f4b3d5dba6 Merge pull request #93 from sdarwin/feature/gha_fix
Small GHA fix, create destination dir
boost-1.77.0
2021-07-27 23:53:44 +03:00
sdarwin 9f0b97c80b Small GHA fix, create destination dir 2021-07-27 13:35:51 -05:00
Andrey Semashev ce53cc1f8f Changed quotes in format() expression. boost-1.77.0.beta1 2021-07-02 20:38:22 +03:00
Andrey Semashev 8fad14b804 Use gcc-7 toolchain for clang-8 CI job. 2021-07-02 20:35:45 +03:00
Andrey Semashev 24b6d89e7f Changed CI concurrency group format.
This should fix CI and also make concurrncy work for PRs.
2021-07-02 20:34:19 +03:00
Andrey Semashev ffd79a28e1 Added concurrency settings to auto-cancel redundant CI jobs. 2021-07-02 20:03:50 +03:00
Andrey Semashev aa97e418f2 Increased git fetch jobs on Windows and use CPU count for build jobs. 2021-07-02 19:33:06 +03:00
Andrey Semashev f563d50d42 Use more git fetch jobs to speed up clones. 2021-07-02 19:19:48 +03:00
Andrey Semashev c55a20dff2 Reverted gcc package removal and instead setup a dummy gcc toolset tree.
Removing gcc and libstdc++ packages did not fix the clang-8 test failures.

Instead, setup a dummy gcc toolset tree and point clang to it to force
the compiler detect and use an older libstdc++.
2021-07-02 19:14:04 +03:00
Andrey Semashev bc508f8b4c Remove gcc-10 for clang-8 testing.
This is another attempt to make clang-8 tests not fail in C++20 mode. Remove
gcc-10 and libstdc++-10 to prevent clang using it.

Also, use apt-get instead of apt since the former is recommended to use in
scripts. This should silence apt warnings.
2021-07-02 16:15:59 +03:00
Andrey Semashev 03c5481dd4 Moved clang-8 to Bionic and gcc-10,11 to Focal.
clang-8 jobs fail in C++20 mode since it doesn't support
std::is_constant_evaluated, which is called from libstdc++-10 that is installed
in Focal image. Moving it back to Bionic should work around the issue
as it should use an older libstdc++ version.

gcc-10 and 11 were moved to Focal just to make this configuration tested.

Also, changed 2a to 20 for compilers that support this.
2021-07-02 11:52:44 +03:00
Andrey Semashev 8e7ee90080 Merge pull request #92 from evanmiller/develop
Restore support for ancient Mac OS
2021-07-02 01:59:50 +03:00
Evan Miller 128d9314d6 Restore support for ancient Mac OS
Mac OS 10.4 and earlier lack Availability.h, causing compilation to
fail. Rearrange the macro logic to include Availability.h only if we
already think there may be support for uncaught exceptions.
2021-07-01 16:32:40 -04:00
Peter Dimov 012d96a72b Use non-const references in non-variadic branch as well 2021-06-10 10:09:46 +03:00
Peter Dimov 27d700ec01 Use non-const references in ignore_unused to avoid g++-11 warning 2021-06-10 09:54:51 +03:00
Peter Dimov 507c182f4c Revert "Initialize variables in ignore_unused_test to avoid a g++-11 warning"
This reverts commit 1a011cde56.
2021-06-10 09:40:08 +03:00
Peter Dimov 1a011cde56 Initialize variables in ignore_unused_test to avoid a g++-11 warning 2021-06-10 08:25:28 +03:00
Peter Dimov 71c3d320d5 Update ci.yml 2021-06-10 07:20:24 +03:00
Peter Dimov b3fa7ca565 Take care of gcc-4.4 in addition to gcc-4.4.7 2021-06-10 04:58:17 +03:00
Peter Dimov d3aa4a2f12 Update .travis.yml 2021-06-10 04:56:26 +03:00
Peter Dimov 67107dbaf9 Update ci.yml 2021-06-10 04:22:36 +03:00
Peter Dimov 0b74f0d394 Update CMakeLists.txt 2021-06-10 02:03:10 +03:00
Peter Dimov e53393357f Update .github/workflows 2021-04-19 18:11:37 +03:00
Peter Dimov 7daee1d41b Add -DBUILD_TESTING=ON to .yml files; it's not default anymore 2021-03-19 03:53:31 +02:00
Glen Fernandes ddbaa242a9 Update copyright comments boost-1.76.0 boost-1.76.0.beta1 2021-02-16 02:14:14 -05:00
Glen Fernandes 86bff4c2d3 Revise allocator access utilities
Now supports MSVC 2013, and no workarounds use allocator_traits.
2021-02-15 22:11:41 -05:00
Peter Dimov 2e5ecbe6f6 Add test for typeid(struct X) across libraries 2021-02-11 04:43:05 +02:00
Peter Dimov 1c43651533 Test (signed char)-1 instead of 1 2021-01-20 02:40:37 +02:00
Peter Dimov afba04cf7f Output non-printable chars as \xXY 2021-01-20 02:38:57 +02:00
Peter Dimov 0ae16756eb Add run-fail test for BOOST_TEST_NE and character types 2021-01-20 02:04:30 +02:00
Peter Dimov 2729beab83 Print char types as numeric values (C++20 deletes these ostream overloads) 2021-01-20 01:54:37 +02:00
Peter Dimov 71d60a3fb7 Fix typos in macro names 2021-01-20 01:39:09 +02:00
Peter Dimov 2642ad4562 Add test for BOOST_TEST_EQ and character types 2021-01-20 01:10:57 +02:00
Peter Dimov f7c1f6c6ab Merge pull request #85 from eldiener/develop
[skip ci] Add "cxxstd" json field
2021-01-20 00:28:10 +02:00
Edward Diener 10eb5cdf7c [skip ci] Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries in order to specify the minumum C++ standard compilation level. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out. 2021-01-19 13:08:18 -05:00
Glen Fernandes 82a51aea40 Merge branch 'develop' into feature/update-travis 2020-12-31 13:54:01 -05:00
Glen Fernandes 5726534f6d Correct unit test for allocator_size_type 2020-12-31 11:41:04 -05:00
Peter Dimov a13a82f8c1 Fix Travis configurations 2020-12-31 17:48:48 +02:00
Peter Dimov cb94f76a5e Remove redundant configurations from Travis; add non-redundant ones 2020-12-30 20:58:04 +02:00
Peter Dimov a6cab03127 Add documentation for bit.hpp 2020-12-30 20:34:34 +02:00
Peter Dimov fa82b680cf Work around clang++ 3.3 failure 2020-12-30 19:40:52 +02:00
Peter Dimov 16e9536146 Implement boost::core::endian 2020-12-29 02:41:15 +02:00
Peter Dimov 919b98d425 Use __builtin_popcount 2020-12-29 02:06:56 +02:00
Peter Dimov e8aa0c75b4 Use _BitScanForward 2020-12-29 02:02:33 +02:00
Peter Dimov 8bd2239b0b Use __builtin_ctz 2020-12-29 01:56:34 +02:00
Peter Dimov c838ebc003 Use _BitScanReverse 2020-12-29 01:53:30 +02:00
Peter Dimov aca46fae91 Use __builtin_clz 2020-12-29 01:28:59 +02:00
Peter Dimov 409c809cd8 Add popcount 2020-12-29 01:06:22 +02:00
Peter Dimov dc8aa5eb39 Update test_bit_floor 2020-12-29 00:30:54 +02:00