guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: vtk: Fix building on riscv64-linux.


From: guix-commits
Subject: branch master updated: gnu: vtk: Fix building on riscv64-linux.
Date: Mon, 12 Jun 2023 02:11:21 -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 dffaf42e5e gnu: vtk: Fix building on riscv64-linux.
dffaf42e5e is described below

commit dffaf42e5eac3822bd6b44e9749fc8e5f48fb99c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Jun 12 08:52:33 2023 +0300

    gnu: vtk: Fix building on riscv64-linux.
    
    * gnu/packages/image-processing.scm (vtk)[arguments]: Adjust
    configure-flags when building for riscv64-linux to link with '-latomic'.
---
 gnu/packages/image-processing.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/image-processing.scm 
b/gnu/packages/image-processing.scm
index 6ecb9dd0a8..12d18a555a 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -385,7 +385,10 @@ many popular formats.")
                "-DVTK_SMP_ENABLE_OPENNMP=ON"
                "-DVTK_SMP_ENABLE_TBB=ON"
                "-DVTK_USE_MPI=ON"
-               )
+               #$@(if (target-riscv64?)
+                    '("-DCMAKE_SHARED_LINKER_FLAGS=-latomic"
+                      "-DCMAKE_EXE_LINKER_FLAGS=-latomic")
+                    '()))
 
            #:phases
            #~(modify-phases %standard-phases



reply via email to

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