pkg.soopen package index

brew / 排名 6635

使用 Homebrew 安装 boost-bcp

查看 boost-bcp 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install boost-bcp

local Homebrew formula metadata

概览

软件包摘要

Utility for extracting subsets of the Boost library

命令和别名

  • bcp

历史

项目历史与用法

Boost BCP is the Boost project utility for extracting a usable subset of Boost and its dependencies. It is aimed at Boost authors who distribute a library outside Boost and at application developers who want to vendor only the Boost pieces they need.

项目历史

The boostorg/bcp Git history contains an initial commit adding the BCP utility in June 2003, followed quickly by dependency-analysis fixes and the report mode. That places BCP in the early era when Boost was becoming a large, modular C++ library collection and users needed tooling to manage subsets.

The official BCP documentation, copyrighted 2009 by John Maddock, describes the core job that has remained stable: copy headers, library source, build files, and transitive dependencies for a named Boost component or for dependencies discovered by scanning user code. It can also generate HTML reports listing licenses, copyright holders, and dependency reasons.

BCP continued to be released with Boost version tags after Boost moved to the modular GitHub organization. The tool's repository carries Boost release tags from the 1.31 era onward, and its README points users to the canonical boost.org documentation.

采用历史

BCP is not a mainstream end-user command so much as a specialist tool for C++ packaging and vendoring. Its adoption follows Boost itself: wherever developers wanted a subset of Boost without shipping the full tree, BCP provided an official route.

Homebrew's separate boost-bcp formula reflects package-manager recognition that this utility is useful on its own, even when the complete Boost distribution is available separately. That split is exactly the sort of detail package maintainers care about: one executable from a giant upstream project, packaged for a narrow but real workflow.

使用方式

The documented examples include copying `boost/scoped_ptr.hpp` and dependencies, copying Boost.Regex with source and build files, copying whole libraries, renaming the Boost namespace for vendored builds, scanning non-Boost source files for Boost includes, and generating HTML dependency/license reports.

BCP intentionally follows broad dependency paths because a portable Boost subset must often include headers for multiple compilers, platforms, and preprocessor branches. The docs warn that dependency sets can look fat compared with what one compiler happens to use.

为什么软件包爱好者会关心

Boost BCP is deeply package-nerd significant because it is an upstream-sanctioned answer to vendoring before modern C++ dependency managers were common. It turns a huge source distribution into a smaller redistributable tree while preserving transitive headers, compiled-library source, build metadata, and license accounting.

It also exposes a tension every C++ package maintainer knows: header-only libraries are not really dependency-free once portability macros, compiler workarounds, and optional source libraries enter the graph. BCP's deliberately conservative dependency expansion is a historical artifact of Boost's promise to work across many compilers and platforms.

时间线

  • 2003-06-09: Initial Git history entry adds the BCP utility.
  • 2003-06-23: Dependency-analysis fixes and report mode are added.
  • 2004-02-04: boost-1.31.0 tag appears in the BCP repository history.
  • 2009: Official QuickBook documentation records John Maddock copyright and BCP usage model.
  • 2010s: Boost's modular GitHub organization makes BCP available as boostorg/bcp while still releasing with Boost.
  • 2024: Recent Boost release tags continue to include the BCP repository.

Related projects

  • Boost is the parent C++ library collection and release ecosystem.
  • Boost.Build is related because BCP can copy build files and the build system for selected libraries.
  • Boost.Regex is a prominent documented example because BCP can copy its headers, source, build data, and dependencies.
  • boostdep is related as another Boost tool for dependency work in the modular repository era.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bcp可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.90.0
管理器更新时间2026-06-25
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:boost-bcp
版本1.90.0
软件包管理器Homebrew
主页https://github.com/boostorg/bcp
仓库https://github.com/boostorg/boost
最后更新2026-06-25T13:37:37+02:00
Pulseupdated
Bottle未记录
服务未声明

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • pkg.so package database
  • pkgdb category and tag curation