aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-06-30 22:30:06 +0200
committerMarius Bakke <marius@gnu.org>2022-06-30 23:26:16 +0200
commit01e1cf6fcfd71bfa5f5225d4a4dbf856c6083a21 (patch)
tree8fbe6c4abcf1f672ddc3e7aeb8f1521ba1c8fcde
parent7bbab14b403d2248fe08d8a5a7d116f479715b2e (diff)
downloadguix-01e1cf6fcfd71bfa5f5225d4a4dbf856c6083a21.tar
guix-01e1cf6fcfd71bfa5f5225d4a4dbf856c6083a21.tar.gz
gnu: jsoncpp@1.7.3: Fix build failure.
This is a follow-up to commit 2ada32cc3963afd7f195cb82eade3baf0df2cf1f. * gnu/packages/serialization.scm (jsoncpp-for-tensorflow)[build-system]: Set to CMAKE-BUILD-SYSTEM. [arguments]: Restore.
-rw-r--r--gnu/packages/serialization.scm12
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index d0e5425f8a..3ff90deb87 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2015, 2017, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
;;; Copyright © 2016 David Craven <david@craven.ch>
-;;; Copyright © 2016, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2016, 2019, 2020, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2016, 2018, 2019, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Corentin Bocquillon <corentin@nybble.fr>
;;; Copyright © 2017 Gregor Giesen <giesen@zaehlwerk.net>
@@ -30,6 +30,7 @@
(define-module (gnu packages serialization)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix hg-download)
@@ -447,7 +448,14 @@ it a convenient format to store user input files.")
(file-name (git-file-name name version))
(sha256
(base32
- "1180ln8blrb0mwzpcf78k49hlki6di65q77rsvglf83kfcyh4d7z"))))))
+ "1180ln8blrb0mwzpcf78k49hlki6di65q77rsvglf83kfcyh4d7z"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list #:configure-flags
+ #~'("-DBUILD_SHARED_LIBS:BOOL=YES"
+ #$@(if (%current-target-system)
+ #~("-DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF")
+ #~()))))))
(define-public json.sh
(let ((commit "0d5e5c77365f63809bf6e77ef44a1f34b0e05840") ;no releases