From 9724e61cda80e4c59a2eb419a453887ecc551b9a Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Fri, 19 Jul 2024 15:07:55 +0200 Subject: [PATCH] gnu: p2pool: Update to 4.0. * gnu/packages/finance.scm (p2pool): Update to 4.0. [source]: Update snippet. [inputs]: Add robin-hood-hashing. [arguments]: Update 'check' phase. Change-Id: I215c11d978dccfc5c7767226be1b40d07f2237d9 --- gnu/packages/finance.scm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 29186fec88..7f230f2806 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -11,7 +11,7 @@ ;;; Copyright © 2018 Adriano Peluso ;;; Copyright © 2018-2022 Nicolas Goaziou ;;; Copyright © 2018 Arun Isaac -;;; Copyright © 2019-2023 Guillaume Le Vaillant +;;; Copyright © 2019-2024 Guillaume Le Vaillant ;;; Copyright © 2019 Tanguy Le Carrour ;;; Copyright © 2019, 2020 Martin Becze ;;; Copyright © 2019 Sebastian Schott @@ -2378,7 +2378,7 @@ mining.") (define-public p2pool (package (name "p2pool") - (version "3.10") + (version "4.0") (source (origin (method git-fetch) @@ -2387,7 +2387,7 @@ mining.") (commit (string-append "v" version)) (recursive? #t))) (file-name (git-file-name name version)) - (sha256 (base32 "0lp9slfwaq3wp4x6xpsiazam5lv6dz57m20adzlzzk0anb1ascr0")) + (sha256 (base32 "0x6s7fm5gn0q2274b2nja8hj84cvmxp4rr9x4xw050sxj74880jh")) (modules '((guix build utils))) (snippet #~(for-each delete-file-recursively @@ -2396,10 +2396,11 @@ mining.") "external/src/curl" "external/src/libuv" "external/src/libzmq" - "external/src/rapidjson"))))) + "external/src/rapidjson" + "external/src/robin-hood-hashing"))))) (build-system cmake-build-system) (inputs - (list cppzmq curl gss libuv rapidjson zeromq)) + (list cppzmq curl gss libuv rapidjson robin-hood-hashing zeromq)) (arguments (list ; FIXME: Linking fails when LTO is activated. #:configure-flags #~(list "-DWITH_LTO=OFF") @@ -2410,7 +2411,7 @@ mining.") (when tests? (mkdir-p "tests") (chdir "tests") - (invoke "cmake" "../../source/tests") + (invoke "cmake" "-DWITH_LTO=OFF" "../../source/tests") (invoke "make" "-j" (number->string (parallel-job-count))) (invoke "gzip" "-d" "sidechain_dump.dat.gz") (invoke "gzip" "-d" "sidechain_dump_mini.dat.gz")