bdep/0.18.0

[full]

build2 project dependency manager

This package contains the build2 project dependency manager.

build2 is an open source, cross-platform toolchain for building and packaging
C++ code. Its aim is a modern build system and dependency manager for the C++
language that provide a consistent, out of the box interface across multiple
platforms and compilers. For more information see:

https://build2.org/

See the NEWS file for the user-visible changes from the previous release.

See the LICENSE file for the distribution conditions.

See... More
version 0.18.0
license MIT
repository https://pkg.cppget.org/1/alpha
download bdep-0.18.0.tar.gz
sha256 ee97c68887a568743276966a77a2a217b8300aa0bda09b298a0f3b06b2b3e905
project build2
url build2.org
doc-url build2.org/doc.xhtml
src-url git.build2.org/cgit/bdep/tree/
topics project dependency managementbuild toolchain

Depends (2)

libbutl ^0.18.0
libbpkg ^0.18.0

Requires (1)

c++14

Reviews

fail 0
pass 1

Builds

toolchain public-0.18.1
target x86_64-w64-mingw32
tgt config windows_10-gcc_15.2_mingw_w64-static_O2
timestamp 2026-10-17 12:48:04 UTC (05:04:52 hours ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-w64-mingw32
tgt config windows_10-gcc_15.2_mingw_w64-O2
timestamp 2026-10-17 12:47:17 UTC (05:05:39 hours ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-w64-mingw32
tgt config windows_10-gcc_15.2_mingw_w64
timestamp 2026-10-17 12:45:38 UTC (05:07:18 hours ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_ubuntu_26.04-gcc_15-bindist
timestamp 2026-10-17 11:44:13 UTC (06:08:43 hours ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_fedora_44-gcc_16-bindist
timestamp 2026-10-13 20:09:49 UTC (03 21:43:07 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14-static_O3
timestamp 2026-10-10 20:33:41 UTC (06 21:19:15 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14-O3
timestamp 2026-10-10 20:29:11 UTC (06 21:23:45 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14
timestamp 2026-10-10 20:18:13 UTC (06 21:34:43 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-apple-darwin23.5.0
tgt config macos_14-gcc_14_homebrew-static_O3
timestamp 2026-10-10 20:13:14 UTC (06 21:39:42 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-apple-darwin23.5.0
tgt config macos_14-clang_15.0-static_O3
timestamp 2026-10-10 20:13:03 UTC (06 21:39:53 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_22_libc++-O3
timestamp 2026-10-10 20:09:25 UTC (06 21:43:31 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_22_libc++-static_O3
timestamp 2026-10-10 20:08:52 UTC (06 21:44:04 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-apple-darwin23.5.0
tgt config macos_14-clang_15.0-O3
timestamp 2026-10-10 20:07:05 UTC (06 21:45:51 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-apple-darwin23.5.0
tgt config macos_14-gcc_14_homebrew-O3
timestamp 2026-10-10 20:06:24 UTC (06 21:46:32 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-apple-darwin23.5.0
tgt config macos_14-clang_15.0
timestamp 2026-10-10 20:01:29 UTC (06 21:51:27 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_22-O3
timestamp 2026-10-10 19:59:24 UTC (06 21:53:32 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-apple-darwin23.5.0
tgt config macos_14-gcc_14_homebrew
timestamp 2026-10-10 19:59:13 UTC (06 21:53:43 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_22_libc++
timestamp 2026-10-10 19:55:19 UTC (06 21:57:37 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_22-static_O3
timestamp 2026-10-10 19:53:27 UTC (06 21:59:29 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_22
timestamp 2026-10-10 19:51:59 UTC (06 22:00:57 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14-ndebug_O3
timestamp 2026-10-10 19:27:13 UTC (06 22:25:42 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_16-static_O3
timestamp 2026-10-10 18:56:25 UTC (06 22:56:31 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18_libc++-static_O3
timestamp 2026-10-10 18:54:09 UTC (06 22:58:47 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_16-O3
timestamp 2026-10-10 18:51:32 UTC (06 23:01:24 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18_libc++-O3
timestamp 2026-10-10 18:50:12 UTC (06 23:02:44 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18_libc++
timestamp 2026-10-10 18:46:19 UTC (06 23:06:36 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_16
timestamp 2026-10-10 18:45:24 UTC (06 23:07:32 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18-static_O3
timestamp 2026-10-10 18:43:46 UTC (06 23:09:10 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18-O3
timestamp 2026-10-10 18:40:42 UTC (06 23:12:14 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18
timestamp 2026-10-10 18:37:41 UTC (06 23:15:15 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_16-ndebug_O3
timestamp 2026-10-10 18:07:18 UTC (06 23:45:38 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-apple-darwin22.5.0
tgt config macos_13-clang_15.0
timestamp 2026-10-10 17:26:48 UTC (07 00:26:08 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_ubuntu_24.04-gcc_13-bindist
timestamp 2026-10-10 17:25:31 UTC (07 00:27:25 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_14-bindist
timestamp 2026-10-10 17:07:35 UTC (07 00:45:21 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_12-bindist
timestamp 2026-10-10 17:06:47 UTC (07 00:46:09 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-freebsd15.0
tgt config freebsd_15-clang_19-O3
timestamp 2026-10-10 17:00:26 UTC (07 00:52:30 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_21_libc++
timestamp 2026-10-10 16:59:27 UTC (07 00:53:29 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_21
timestamp 2026-10-10 16:56:39 UTC (07 00:56:17 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_15-O3
timestamp 2026-10-10 16:55:40 UTC (07 00:57:16 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-freebsd15.0
tgt config freebsd_15-clang_19-static_O3
timestamp 2026-10-10 16:54:32 UTC (07 00:58:24 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-freebsd15.0
tgt config freebsd_15-clang_19
timestamp 2026-10-10 16:52:52 UTC (07 01:00:04 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_15
timestamp 2026-10-10 16:51:01 UTC (07 01:01:55 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_14
timestamp 2026-10-10 16:50:40 UTC (07 01:02:16 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-freebsd14.1
tgt config freebsd_14-clang_18
timestamp 2026-10-10 16:46:49 UTC (07 01:06:07 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_13
timestamp 2026-10-10 13:48:57 UTC (07 04:03:59 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_11-gcc_10.2-bindist
timestamp 2026-10-10 12:23:15 UTC (07 05:29:41 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.2
tgt config windows_10-msvc_16.11
timestamp 2026-10-10 11:28:38 UTC (07 06:24:18 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.2
tgt config windows_10_devmode-msvc_16.11
timestamp 2026-10-10 11:24:40 UTC (07 06:28:16 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.1
tgt config windows_10-msvc_15.9
timestamp 2026-10-10 11:22:40 UTC (07 06:30:16 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.0
tgt config windows_10-msvc_14.3
timestamp 2026-10-10 11:19:52 UTC (07 06:33:04 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_ubuntu_16.04-clang_3.7_libc++
timestamp 2026-10-10 11:18:37 UTC (07 06:34:19 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_13.1
timestamp 2026-10-10 11:18:25 UTC (07 06:34:31 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_9-gcc_8.4
timestamp 2026-10-10 11:15:21 UTC (07 06:37:35 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_11-gcc_12.1
timestamp 2026-10-10 11:11:20 UTC (07 06:41:36 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_9-gcc_7.4
timestamp 2026-10-10 11:09:41 UTC (07 06:43:15 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_8-gcc_4.9
timestamp 2026-10-10 11:09:33 UTC (07 06:43:23 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_11-gcc_11.3
timestamp 2026-10-10 11:08:19 UTC (07 06:44:37 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_10-gcc_10.2
timestamp 2026-10-10 11:07:47 UTC (07 06:45:09 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_10-gcc_9.3
timestamp 2026-10-10 11:07:46 UTC (07 06:45:10 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_fedora_43-gcc_15-bindist
timestamp 2026-10-08 17:14:36 UTC (09 00:38:20 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.5
tgt config windows_10-clang_21_msvc_18-static_O2
timestamp 2026-10-05 11:01:25 UTC (12 06:51:31 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.5
tgt config windows_10-clang_21_msvc_18-O2
timestamp 2026-10-05 11:00:31 UTC (12 06:52:25 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.5
tgt config windows_10-clang_21_msvc_18
timestamp 2026-10-05 11:00:07 UTC (12 06:52:49 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.5
tgt config windows_10-msvc_18-O2
timestamp 2026-10-05 10:31:21 UTC (12 07:21:35 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.5
tgt config windows_10-msvc_18-static_O2
timestamp 2026-10-05 10:31:15 UTC (12 07:21:41 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.5
tgt config windows_10-msvc_18
timestamp 2026-10-05 10:30:24 UTC (12 07:22:32 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-msvc_17
timestamp 2026-10-05 10:13:24 UTC (12 07:39:32 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_rhel_8-gcc_8-bindist
result unbuilt
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_rhel_9-gcc_11-bindist
result unbuilt

Changes

Version 0.18.0

  * Fetch cache and offline mode.

    The fetch cache stores downloaded resources (repository metadata, package
    archives, etc) which are then reused whenever appropriate. This can speed
    up operations like bdep-init substantially. If all the resources are
    cached, then bdep can now be instructed to run offline without making any
    network requests.

    Relevant new options:

    --offline
    --no-fetch-cache
    --fetch-cache <mode>
    --fetch-cache-session

    See bdep-common-options(1) for detail.

  * Ability to use package names in addition to package directories in
    commands other than bdep-init.

    Once a package is initialized, it is now possible to refer to it using
    its name rather than its directory. For example:

    bdep init @gcc -d libfoo -d foo
    bdep ci -d libfoo # Old way (package directory).
    bdep ci libfoo    # New way (package name).

  * Ability to specify negative values for the -j|--jobs option.

    If the value is negative, then the number of available hardware threads
    is reduced by this value.

  * New bdep-ci command --force option that can be used to force the
    submission in the presence of uncommitted changes.

  * The bdep-publish command now publishes all project packages if none are
    specified explicitly.

  * The bdep-publish command now prompts the user to confirm if the alpha
    section is appropriate for a package version 0.X.Y.

  * New --sqlite-synchronous option and BUILD2_SQLITE_SYNCHRONOUS environment
    variable.

    These option and environment variable can be used to set the filesystem
    synchronization mode for the project SQLite database. Note also that the
    WAL (Write-Ahead Logging) journaling mode is now used for the project
    database. See bdep-common-options(1) for detail.

Version 0.17.0

  * New `third-party` library and executable sub-option in bdep-new.

    This sub-option is meant for converting an existing third-party project
    to build2. It automatically enables a number of other sub-options (such
    as no-version, no-readme, and no-symexport). It also adds a number of
    values to manifest that makes sense to specify in a package of a third-
    party project and, unless no-package-readme is specified, generates the
    PACKAGE-README.md template.

  * New buildfile-in-prefix library and executable sub-option in bdep-new.

  * New export-stub executable sub-option in bdep-new.

  * New no-symexport and auto-symexport library sub-options in bdep-new.

  * New no-subdir-include library sub-option in bdep-new.

Version 0.16.0

  * The bdep-deinit command can now deinitialize a package that still has
    dependents.

    In this case, the package is replaced with the closest available version
    from a repository. See also the new --no-fetch option in bdep-deinit(1).

  * New bdep-ci command --target-config and --package-config options to match
    the *-package-config package manifest values.

    Note that the existing --interactive|-i, --builds, and --build-config
    option values have been adjusted as well. See bdep-ci(1) for details.

  * The bdep-new command may now add `type` and `language` values to the newly
    created package manifests.

    These values can help determine the package type (executable, library) and
    language and are used, for example, by bpkg-pkg-bindist to produce correct
    binary distribution packages.

  * New `branch` suboption for the git vcs option in the bdep-new command.

    This suboption can be used to specify the initial branch name in the newly
    created repository.

  * New --sys-* options in the bdep-init and bdep-sync commands.

    This is a subset of the bpkg-pkg-build --sys-* options for controlling
    interaction with the system package manager. See the "System package
    manager query/installation support for Debian and Fedora" NEWS item in
    bpkg for background.

Version 0.15.0

  * Support for JSON output in the bdep-status, bdep-config-list commands.

    See the --stdout-format option in bdep-status(1) and bdep-config(1)
    for details.

  * Support for submitting to a CI server packages with a non-standard
    version.

    See bdep-ci(1) for details.

  * Support for publishing packages with a non-standard version.

    See bdep-publish(1) for details.

Version 0.14.0

  * Support for configuration types, configuration linking, and build-time
    dependencies.

    Configurations can now be linked with each other to allow a package to be
    built in one configuration while its dependencies -- in one or more linked
    configurations. This can be used to create a "base" configuration with
    common dependencies that are shared between multiple configurations.

    Configurations now also have types with the three predefined types being
    `target` (the default) `host` (used for build-time project packages and/or
    dependencies), and `build2` (used for build system modules). We can now
    also have multiple default... More