me
/
guix
Archived
1
0
Fork 0

gnu: python-tbb: Fix build.

* gnu/packages/tbb.scm (python-tbb)[arguments]: Call "python setup.py install"
with "--root" argument.

Change-Id: I290c45f3d64c0bb6ec57a0e406132b4f42808eec
master
Ricardo Wurmus 2024-01-05 08:40:40 +01:00
parent 05fad99a43
commit 036d2fc88a
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 24 additions and 22 deletions

View File

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015, 2016, 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015, 2016, 2022, 2024 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 Nikita <nikita@n0.is>
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
@ -101,7 +101,9 @@ tasks, synchronization primitives, atomic operations, and more.")
(lambda _
(substitute* "python/CMakeLists.txt"
(("\\$\\{PYTHON_BUILD_WORK_DIR\\}/build")
#$output))
#$output)
(("install --prefix.*-f" m)
(string-append m " --root=/")))
(substitute* "python/setup.py"
(("extra_link_args=tbb_flag,")
(string-append "extra_link_args=['-Wl,-rpath="