guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: libatomic-ops: Fix test suite on riscv64-lin


From: guix-commits
Subject: branch master updated: gnu: libatomic-ops: Fix test suite on riscv64-linux.
Date: Sun, 28 Aug 2022 04:35:15 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 84d191ea30 gnu: libatomic-ops: Fix test suite on riscv64-linux.
84d191ea30 is described below

commit 84d191ea30eb7d97ee3f4d62f39c811ba77bb187
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Aug 28 11:29:20 2022 +0300

    gnu: libatomic-ops: Fix test suite on riscv64-linux.
    
    * gnu/packages/bdw-gc.scm (libatomic-ops)[arguments]: When building for
    riscv64-linux add a configure-flag to link libatomic.
---
 gnu/packages/bdw-gc.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/bdw-gc.scm b/gnu/packages/bdw-gc.scm
index 2698d56da0..268f0703b8 100644
--- a/gnu/packages/bdw-gc.scm
+++ b/gnu/packages/bdw-gc.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
 ;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2022 Efraim Flashner <efraim@flashner.co.il>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -134,6 +135,11 @@ C or C++ programs, though that is not its primary goal.")
                (base32
                 "1bwry043f62pc4mgdd37zx3fif19qyrs8f5bw7qxlmkzh5hdyzjq"))))
     (build-system gnu-build-system)
+    (arguments
+     `(,@(if (target-riscv64?)
+           `(#:configure-flags
+             (list "CFLAGS_EXTRA=-latomic"))
+           '())))
     (outputs '("out" "debug"))
     (synopsis "Accessing hardware atomic memory update operations")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]