HomePhabricator

build: update RapidCheck Makefile

Description

build: update RapidCheck Makefile

Summary:

- update RapidCheck to latest commit on master
- install only the extras needed by Bitcoin Core
- update shasum hash
- remove CMake warning

Backport of core PR16654.

Depends on D5325.

Test Plan:
Assuming you are running a 64-bit Linux machine:

cd depends
RAPIDCHECK=1 make build-linux64

Check the rapidcheck package is built, and the cmake warning is gone.

cd .. && mkdir buildLinux64 && cd buildLinux64
cmake -GNinja .. \
  -DCMAKE_TOOLCHAIN_FILE=../cmake/platforms/Linux64.cmake \
  -DENABLE_PROPERTY_BASED_TESTS=ON

Check the rapidcheck lib found is the one from the depends.

ninja check

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D5326

Details

Provenance
Jon Atack <jon@atack.com>Authored on Aug 17 2019, 15:46
FabienCommitted on Feb 27 2020, 13:54
FabienPushed on Feb 27 2020, 13:54
Reviewer
Restricted Project
Differential Revision
D5326: build: update RapidCheck Makefile
Parents
rABCd4cf781adab0: build: dont compile rapidcheck with -Wall
Branches
Unknown
Tags
Unknown