← All tasks
cppgoogle/bloaty #342Not a task: not reproduced

building on macOS is tricky due to capstone.h inclusion

envgap__google__bloaty-342

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
f9437fd68b3aef29f17da50620215bae7f9506b9
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

google/bloaty #342 · read the original issue
Almost the same issue as https://github.com/raspberrypi/openocd/issues/30 - on macOS bloaty's cmake file fails to find `capstone.h` due to the fact that Homebrew stores capstone headers in a different location than bloaty's cmake file expects (see the linked issue for details)



I am just creating this issue to mention it is a problem; and also to let other macOS users know the workaround:



```

export CXXFLAGS=-isystem\ /opt/homebrew/Cellar/capstone/4.0.2/include 

cmake -B build -G Ninja -S .

cmake --build build

```

Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]