Skip to content

Commit ac67582

Browse files
committed
depends: latest rapidcheck, use INSTALL_ALL_EXTRAS
1 parent 7b13c64 commit ac67582

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

depends/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ The following can be set when running make: make FOO=bar
7272
NO_WALLET: Don't download/build/cache libs needed to enable the wallet
7373
NO_UPNP: Don't download/build/cache packages needed for enabling upnp
7474
DEBUG: disable some optimizations and enable more runtime checking
75-
RAPIDCHECK: build rapidcheck (experimental)
75+
RAPIDCHECK: build rapidcheck (experimental, requires cmake)
7676
HOST_ID_SALT: Optional salt to use when generating host package ids
7777
BUILD_ID_SALT: Optional salt to use when generating build package ids
7878

depends/packages/rapidcheck.mk

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
package=rapidcheck
2-
$(package)_version=10fc0cb
3-
$(package)_download_path=https://github.com/MarcoFalke/rapidcheck/archive
4-
$(package)_file_name=$(package)-$($(package)_version).tar.gz
5-
$(package)_sha256_hash=9640926223c00af45bce4c7df8b756b5458a89b2ba74cfe3e404467f13ce26df
2+
$(package)_version=3eb9b4ff69f4ff2d9932e8f852c2b2a61d7c20d3
3+
$(package)_download_path=https://github.com/emil-e/rapidcheck/archive
4+
$(package)_file_name=$($(package)_version).tar.gz
5+
$(package)_sha256_hash=5fbf82755c9a647127e62563be079448ff8b1db9ca80a52a673dd9a88fdb714b
66

77
define $(package)_config_cmds
8-
cmake -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true .
8+
cmake -DCMAKE_INSTALL_PREFIX=$($(package)_staging_dir)$(host_prefix) -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true -DRC_INSTALL_ALL_EXTRAS=ON
99
endef
1010

1111
define $(package)_build_cmds
12-
$(MAKE) && \
13-
mkdir -p $($(package)_staging_dir)$(host_prefix)/include && \
14-
cp -a include/* $($(package)_staging_dir)$(host_prefix)/include/ && \
15-
cp -a extras/boost_test/include/rapidcheck/* $($(package)_staging_dir)$(host_prefix)/include/rapidcheck/ && \
16-
mkdir -p $($(package)_staging_dir)$(host_prefix)/lib && \
17-
cp -a librapidcheck.a $($(package)_staging_dir)$(host_prefix)/lib/
12+
$(MAKE) rapidcheck
13+
endef
14+
15+
define $(package)_stage_cmds
16+
$(MAKE) rapidcheck install
1817
endef

0 commit comments

Comments
 (0)