mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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'.
This commit is contained in:
parent
259b2e99e7
commit
dffaf42e5e
1 changed files with 4 additions and 1 deletions
|
@ -385,7 +385,10 @@ many popular formats.")
|
||||||
"-DVTK_SMP_ENABLE_OPENNMP=ON"
|
"-DVTK_SMP_ENABLE_OPENNMP=ON"
|
||||||
"-DVTK_SMP_ENABLE_TBB=ON"
|
"-DVTK_SMP_ENABLE_TBB=ON"
|
||||||
"-DVTK_USE_MPI=ON"
|
"-DVTK_USE_MPI=ON"
|
||||||
)
|
#$@(if (target-riscv64?)
|
||||||
|
'("-DCMAKE_SHARED_LINKER_FLAGS=-latomic"
|
||||||
|
"-DCMAKE_EXE_LINKER_FLAGS=-latomic")
|
||||||
|
'()))
|
||||||
|
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue