mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 00:52:16 +00:00
861cd41c2bf6bed3d4676cb97d51d155a17db8a0
* The engine can now be built with MinGW-w64 configured with --threads=win32. This is the case for i686-w64-mingw32-g++ and x86_64-w64-mingw32-g++ distributed with the last versions of Cygwin compatible with Windows XP (www.crouchingtigerhiddenfruitbat.org/Cygwin/timemachine.html). The MinGW-w64 toolchains are very powerful, just like their gcc counterparts. Even the ones with win32 threading model (as opposed to posix threading model), while not able to use std::thread, can still build-and-use Boost.Thread. (which, arguably, is more powerful than the Standard counterpart for example with its support for thread interruption -- which is less intrusive than the one offered by C++20 std::jthread). For Windows XP, MinGW-w64 toolchains might be the only ones to support C++11. Visual C++ has only been supporting C++11 since 2013 (and those versions require-and-often-target newer versions of Windows). The only part of <thread> we were using was std::thread::hardware_concurrency (in order to obtain the default value for b2's -j option). For Windows, we now use dwNumberOfProcessors (in SYSTEM_INFO) and GetSystemInfo.
= B2 B2 makes it easy to build C++ projects, everywhere. image:https://img.shields.io/badge/license-BSL%201.0-blue.svg["Boost Software License 1.0", link="LICENSE.txt"] image:https://img.shields.io/github/languages/code-size/bfgroup/b2.svg["GitHub code size in bytes", link="https://github.com/bfgroup/b2"] == License Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.txt or copy at https://www.bfgroup.xyz/b2/LICENSE.txt) == Testing Continuously tested on: * FreeBSD Clang 7, 8, 9, 10, 11, 12 * FreeBSD GCC 7, 8, 9, 10, 11 * Linux Clang 3.5, 3.6, 3.7, 3.8, 3.9, 4, 5, 6, 7, 8, 9, 10, 11, 12 * Linux GCC 4.7, 4.8, 4.9, 5, 6, 7, 8, 9, 10, 11 * macOS Xcode 10.0, 10.1, 10.2, 10.2.1, 11.2.1, 11.3, 11.3.1, 11.4.1, 11.5, 11.6, 11.7, 12.0.1, 12.1.1, 12.2, 12.3, 12.4 * Windows MinGW 8.1.0 * Windows VS 2013, 2015, 2017, 2019 image:https://img.shields.io/azure-devops/build/bfgroup/3a4e7a7e-c1b4-4e2f-9199-f52918ea06c6/3/release.svg?label=release&logo=azuredevops["Linux/Windows/macOS: release", link="https://dev.azure.com/bfgroup/B2"] image:https://img.shields.io/azure-devops/build/bfgroup/3a4e7a7e-c1b4-4e2f-9199-f52918ea06c6/3/main.svg?label=main&logo=azuredevops["Linux/Windows/macOS: main", link="https://dev.azure.com/bfgroup/B2"] image:https://img.shields.io/appveyor/build/bfgroup/b2?logo=appveyor["Windows", link="https://ci.appveyor.com/project/bfgroup/b2"] image:https://img.shields.io/cirrus/github/bfgroup/b2/release?label=release&logo=cirrus-ci["FreeBSD: release", link="https://cirrus-ci.com/github/bfgroup/b2/release"] image:https://img.shields.io/cirrus/github/bfgroup/b2/main?label=main&logo=cirrus-ci["FreeBSD: main", link="https://cirrus-ci.com/github/bfgroup/b2/main"] NOTE: A C+\+11 capable compiler is needed to build the `b2` engine. But using the `b2` engine and build system does not require C++11. == More See the link:https://www.bfgroup.xyz/b2/[website] for more information. See the link:CONTRIBUTING.adoc[guidelines for contributing] if you would like to get involved in the development.
Description
Languages
C++
73.8%
Python
22.6%
C
1.6%
Batchfile
0.7%
Shell
0.6%
Other
0.6%