From 387d7d718ab1191f357f586ef9b186873f32db77 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 10 Sep 2024 11:45:59 +0300 Subject: [PATCH] gnu: systemc: Update to 3.0.0. * gnu/packages/fpga.scm (systemc): Update to 3.0.0. [source]: Download using git-fetch. [build-system]: Switch to cmake-build-system. [arguments]: Remove configure-flags. Add test-target. Change-Id: Id5097a4fc8cd5f3c131990cf3596f5fd581be088 --- gnu/packages/fpga.scm | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index ba0d169fbc..070caf284c 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2021 Andrew Miloradovsky ;;; Copyright © 2022 Christian Gelinek ;;; Copyright © 2022 jgart +;;; Copyright © 2024 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -467,18 +468,19 @@ (define-public nvc (define-public systemc (package (name "systemc") - (version "2.3.3") + (version "3.0.0") (source (origin - (method url-fetch) - (uri (string-append - "https://accellera.org/images/downloads/standards/" - "systemc/systemc-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/accellera-official/systemc") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "0gvv3xmhiwx1izmzy06yslzqzh6ygrgmw53xqfmyvbz5a6ivk0ap")))) + (base32 "1v5fg3h9ffdzq9f6zplvr9all00ssc1gpdvbg129xahkrbl53kvw")))) (native-inputs (list perl)) - (build-system gnu-build-system) - (arguments '(#:configure-flags '("--enable-debug"))) + (build-system cmake-build-system) + (arguments '(#:test-target "check")) (home-page "https://accellera.org/community/systemc") (synopsis "Library for event-driven simulation") (description