Tarball doesn't include CMake info

Open
#1,084 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cmake

Research direction

Start with the b2 release and tarball packaging entry points, then inspect a released tarball to see which CMake data is filtered out. Reproduce the issue with brew install boost and a CMake project using libboost_system, and verify that the required CMake data is present and the header-only dependency works on macOS.

Written by the indexing model from the issue text.

Description

The released tarballs do not include CMake based build data.

This makes it impossible for things like home-brew to install CMake modules therefore CMake based dependency on header only libraries such as libboost_system are broken for macOS.

There's no good reason to filter this, and there needs to be better support from b2 to install the proper CMake data for depending on non dylib/a/so based header only libraries.

I believe the best option is to have macOS use cmake based builds, but this cannot happen without the tarball including the proper data for it.

Replication Steps:

To install brew without CMake
brew install boost

Look for libboost_system in any cmake project

To test for cmake

Try and install gr-osmocom on macOS

Dominant language
HTML
Stars
8.6k
Forks
2k
Avg merge
9h 35m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from boostorg/boost

All issues in boostorg/boost

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.