Page MenuHomePhabricator

[CMAKE] Use native strip on OSX
ClosedPublic

Authored by Fabien on Nov 5 2019, 09:39.

Details

Summary

This will allow for running the install/strip target when cross building
for OSX.

Test Plan
mkdir buildcmake && cd buildcmake
mkdir install
cmake -GNinja .. DCMAKE_INSTALL_PREFIX=install \
  -DCMAKE_TOOLCHAIN_FILE=../cmake/platforms/OSX.cmake
ninja install/strip

Check the executables are stripped (compare the size vs non stripped).

Diff Detail

Repository
rABC Bitcoin ABC
Branch
cmake_osx_strip
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 7986
Build 13974: Bitcoin ABC Buildbot (legacy)
Build 13973: arc lint + arc unit