Page MenuHomePhabricator

[SECP256K1] CMake: add an install target
ClosedPublic

Authored by Fabien on Jan 29 2020, 17:14.

Details

Summary

Add an install target for the secp256k1 library. The gitian descriptors
are updated to not include it as part of the bitcoin-abc gitian build.

Depends on D5098 and D5099.

Test Plan
mkdir install
cmake -GNinja .. -DCMAKE_INSTALL_PREFIX=install
ninja
cmake -DCOMPONENT=secp256k1 -P cmake_install.cmake

Check the secp256k1 libraries and headers are installed.

Run the Travis build (see
https://travis-ci.org/Fabcien/secp256k1/builds/643458709).

Run the Gitian builds and check the content of the archives is correct.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
secp256k1_cmake_install
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9189
Build 16328: Default Diff Build & Tests
Build 16327: arc lint + arc unit