mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: bitcoin-core: Improve package.
* gnu/packages/finance.scm (bitcoin-core)[arguments] <#:configure-flags>: Remove -DENABLE_IPC=OFF. <#:phases>: Remove the 'set-home phase. Add --timeout-factor=2 in the 'check-functional phase. [inputs]: Add capnproto. Change-Id: Iaab3f5d5da7e189ad8fd6c43fb236ec5d4a63444 Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
parent
d94438acbd
commit
0fc08ce2bd
1 changed files with 4 additions and 8 deletions
|
|
@ -139,6 +139,7 @@
|
|||
#:use-module (gnu packages qt)
|
||||
#:use-module (gnu packages readline)
|
||||
#:use-module (gnu packages security-token)
|
||||
#:use-module (gnu packages serialization)
|
||||
#:use-module (gnu packages sphinx)
|
||||
#:use-module (gnu packages sqlite)
|
||||
#:use-module (gnu packages tex)
|
||||
|
|
@ -171,9 +172,7 @@
|
|||
#~(list
|
||||
"-DBUILD_GUI=ON"
|
||||
"-DBUILD_BENCH=ON"
|
||||
"-DWITH_ZMQ=ON"
|
||||
;; TODO: Enable IPC once capnproto is built with -fPIC.
|
||||
"-DENABLE_IPC=OFF")
|
||||
"-DWITH_ZMQ=ON")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-no-git-flag
|
||||
|
|
@ -182,14 +181,10 @@
|
|||
;; (and thus no information regarding this build is available
|
||||
;; from git).
|
||||
(setenv "BITCOIN_GENBUILD_NO_GIT" "1")))
|
||||
(add-before 'check 'set-home
|
||||
(lambda _
|
||||
;; Tests write to $HOME.
|
||||
(setenv "HOME" (getenv "TMPDIR"))))
|
||||
(add-after 'check 'check-functional
|
||||
(lambda _
|
||||
(invoke
|
||||
"python3" "./test/functional/test_runner.py"
|
||||
"python3" "./test/functional/test_runner.py" "--timeout-factor=2"
|
||||
(string-append "--jobs=" (number->string (parallel-job-count)))))))))
|
||||
(native-inputs
|
||||
(list bash ; provides the sh command for system_tests
|
||||
|
|
@ -200,6 +195,7 @@
|
|||
qttools))
|
||||
(inputs
|
||||
(list boost
|
||||
capnproto
|
||||
libevent
|
||||
qrencode
|
||||
qtbase
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue