Releases: bfgroup/b2
5.3.3
5.3.2
Fix regression for handling of the --command-database
option. The new command line arguments parsing made the output to be reset and cleared causing nothing to get output for the commands. Thanks to Dmitry Arkhipov for the fix.
5.3.1
Fix backward incompatibility of option.get
if an argument is not added with args.add-arg
. When such an argument isn't registered we fail to check ARGV
directly as a backup, for backward compatibility. This fixes that problem by checking if an argument is registered, and if not falling back on the direct ARGV
check.
5.3.0
Biggest changes for this release is the creation of two new toolsets: ibmcxx
and cc
. The former covers all the IBM compilers, and the latter is a generic C compiler toolset.
- New: Replace the old
vacpp
andxlcpp
with a newibmcxx
toolset that supports the old compilers and the new "IBM XL" and "IBM Open XL" compilers.
-- René Ferdinand Rivera Morell and Chris Ward - New: Add generic
cc
toolset for simply, direct, configuration of unknown C compiler toolsets (for exampletcc
).
-- René Ferdinand Rivera Morell - New: Add
args
module for common handling of both native and Jam side command line arguments.
-- René Ferdinand Rivera Morell - Fix command database output file path when an output dir is not given.
-- René Ferdinand Rivera Morell - Fix asciidoctor ignoring relevant features when building which caused invalid reuse of the target.
-- René Ferdinand Rivera Morell - Add documentation for clang and emscripten toolsets.
-- Nikita Kniazev - Fix doxygen tool to properly handle paths relative to the wording dir or absolute paths.
-- Dmitry Arkhipov - Fix staging path calculation when using install prefix's.
-- Dmitry Arkhipov - Make
toolset.using
preserve current project to allow for calling it in more contexts with minimal effort.
-- Dmitry Arkhipov - Updated cxxstd=latest for gcc and clang to account for C++ 26.
-- Andrey Semashev - Fix Building on Haiku OS which doesn't have
wait4
.
-- Fas Xmut - Rewrite the command like argument parsing to use the Lyra library. The result is that arguments from Jam and native are integrated and available with the built-in
-h
help.
-- René Ferdinand Rivera Morell
WARNING: The vacpp
and xlcpp
have been removed in favor of ibmcxx
as the latter covers the same support.
5.2.1
This patch reverts the change to define _HAS_EXCEPTIONS=0
for Dinkumware
std library. It has the undesired effect of changing the ABI. It's better for
user code to handle the combination of turning off exceptions while treating
warnings as errors, and getting warnings/errors from the std library by having
the users silence the warning themselves.
This patch also fixes the case of asking to initialize any msvc toolset
versions (using msvc ;
) when there are already versions initialized. Instead
of erroring to say that a version is already in use, it considers the set
of already initialized msvc toolsets as satisfying the request to generally
initialize msvc.
5.2.0
Many fixes in this release from regular contributors Nikita and Dmitry. There
are a couple of new features.. First the ability to have dll-path
in searched
libraries. Which makes it possible to better support system/external libraries.
The second new feature is the addition of generating compile_commands.json
for IDE and tool integration. That has a been a wish item for a long time.
- New: Add support for generating
compile_commands.json
command database
for some IDE integration.
-- René Ferdinand Rivera Morell - New: Addition of a module (
db
) for structured data management. Has a
property-db
class that can write out as JSON data.
-- René Ferdinand Rivera Morell - New: Allow adding dll-path to usage requirements of searched libraries.
Which makes it possible to adjust search paths for dynamic libs on the
platform.
-- Dmitry Arkhipov - Fix incorrect recursive loading of modules when doing recursive importing of
modules. The recursive loading would cause stack overflows.
-- René Ferdinand Rivera Morell - Default to building with Clang on FreeBSD and OpenBSD.
-- Nikita Kniazev - Fix Solaris/SunOS detection in engine for
OS=SUNOS
andOS=SOLARIS
.
-- Nikita Kniazev - Allow some tools to be default initialized with
using
multiple times. The
tools areasciidoctor
,fop
,gettext
,pkg-config
,python
,sass
,
andsaxonhe
.
-- Dmitry Arkhipov - Fix using relevant features in ac module that would cause incorrect configure
checks.
-- Dmitry Arkhipov - Fix application of -m31, -m32, -m64 for address model on certain hardware and
avoid adding them when not supported, generally.
-- Nikita Kniazev - Fix incorrectly attaching manifest when not targeting Windows for engine
bootstrap build.
-- Nikita Kniazev - Fix
embed-manifest-via=linker
for clang-win toolset.
-- Nikita Kniazev - Fix incorrect
unknown
OS name, to use correctnone
. Which is needed for
correct emscripten toolset building.
-- Nikita Kniazev - Fix: For msvc toolset, register only the versions that have been asked to
init.
-- Nikita Kniazev - Fix: Suppress spurious
1 file(s) copied.
message after every test.
-- Nikita Kniazev - Fix: Improve handling of install directories.
-- Dmitry Arkhipov - Fix: For msvc toolset, recognize Visual Studio 2022 v17.10.0, which uses
toolchain version 14.40.33807.
-- Dmitry Andric - Fix: For msvc toolset, exception-handling=off should define
_HAS_EXCEPTIONS=0
for Dinkumware/MSSTL.
-- Nikita Kniazev
5.1.0
This is mostly a bugfix release to account for issues impacting Boost Libraries. There is one "big" change though. It can be rather difficult to find build failures when running larger builds. To facilitate figuring out problems the brief summary output at the end of a build is now less brief. It now includes a sorted list of the targets that got skipped and failed. The output of those lists mirrors the general skipped/failed items. Hence it's possible to search for the same strings in the rest of the output quickly.
- New: Add listing of failed and skipped targets to end of build summary to make it easier to find what fails.
-- René Ferdinand Rivera Morell - New: Add
mpi.run-flags
tompi
toolset that allows for arbitrary flags applied to running mpi targets. This allows, for example, adding--oversubscribe
flag to make it possible to run tests where the tasks are more than the nodes available.
-- René Ferdinand Rivera Morell - Fix spurious errors when the header scanning tries to scan empty file names.
-- René Ferdinand Rivera Morell - Make C/C++/ObjC include directive scanning pattern more strict to avoid trying to scan for empty file names.
-- Andrey Semashev - Fix mingw linker commands to always replace backslashes with forward slashes.
-- Christian Seiler - Fix QCC debug build flag. The QCC toolset was using an old, no longer supported, debug symbols option.
-- John McFarlane
5.0.1
- Fix compile errors for older versions of GCC and Clang toolset for the engine.
We now support building the engine with GCC 4.7 and Clang 3.6 onward.
-- René Ferdinand Rivera Morell - Fix
import-search
failing to find imports on Windows bacause of incorrect
native vs. non-native path handling.
-- René Ferdinand Rivera Morell - Support cross-compile install of B2, using
target-os=xyz
.
-- René Ferdinand Rivera Morell
5.0.0
This is a new era in B2. The drive of this new major version is to move the core build system from being implemented in Jam to C++. This initial release is only a start in this move by having some minimal aspects implemented in C++ using a new Jam/C++native binding system. Even though this is a major release, the goal is to still have backward compatibility for existing project build files. But that backward compatibility is not guaranteed for other Jam files.
- New: Support for Jam native variant values of string (original Jam value type), number (floating point numbers), and object (instances of classes).
-- René Ferdinand Rivera Morell - New: Port modules
class
,errors
,modules
,regex
,set
,string
, andsysinfo
to C++.
-- René Ferdinand Rivera Morell - New: Port
bootstrap.jam
to C++ and instead usebuild-system.jam
as key file to find build files.
-- René Ferdinand Rivera Morell - New: Add
require-b2
builtin rule to verify the B2 version a particular Jam file needs.
-- René Ferdinand Rivera Morell - New: Add
regex.grep
builtin that does parallel (where available) file content search with regex matching.
-- René Ferdinand Rivera Morell - New: Make parts of internals thread safe to support parallel built-ins. Currently includes Jam values, hash tables, and filesystem.
-- René Ferdinand Rivera Morell - New: Add
import-search
project rule to declare additional search paths forimport
that refer to searched project locations, or other directories.
-- René Ferdinand Rivera Morell - Fix consistent use of
OPT_SEMAPHORE
and documentation ofJAM_SEMAPHORE
.
-- Thomas Brown - Fix archive actions failing for mingw.
-- René Ferdinand Rivera Morell
IMPORTANT: Building B2 with VisualStudio 2013, i.e. MSVC 12, is no longer supported or tested. The effort to engineer workarounds for the missing C++11 features became too much. And was taking away from other improvements.
4.10.1
- Silence warnings for using standard deprecated functions by Apple clang
toolset in b2 build.
-- René Ferdinand Rivera Morell