mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: python-llvmlite: Remove trailing #T.
* gnu/packages/llvm.scm (python-llvmlite)[arguments]: Remove trailing #T from build phases.
This commit is contained in:
parent
443f3e170a
commit
2c19edeb4f
1 changed files with 3 additions and 6 deletions
|
@ -1323,22 +1323,19 @@ (define-public python-llvmlite
|
|||
"binding/libllvmlite.so")))
|
||||
(substitute* "llvmlite/binding/ffi.py"
|
||||
(("_lib_name = get_library_name\\(\\)")
|
||||
(format #f "_lib_name = ~s" libllvmlite.so)))
|
||||
#t)))
|
||||
(format #f "_lib_name = ~s" libllvmlite.so))))))
|
||||
(add-after 'unpack 'skip-failing-tests
|
||||
(lambda _
|
||||
(substitute* "llvmlite/tests/test_binding.py"
|
||||
((" def test_libm\\(self\\).*" all)
|
||||
(string-append " @unittest.skip('Fails on Guix')\n" all)))
|
||||
#t))
|
||||
(string-append " @unittest.skip('Fails on Guix')\n" all)))))
|
||||
(add-before 'build 'set-compiler/linker-flags
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((llvm (assoc-ref inputs "llvm")))
|
||||
;; Refer to ffi/Makefile.linux.
|
||||
(setenv "CPPFLAGS" "-fPIC")
|
||||
(setenv "LDFLAGS" (string-append "-Wl,-rpath="
|
||||
llvm "/lib"))
|
||||
#t))))))
|
||||
llvm "/lib"))))))))
|
||||
(inputs
|
||||
`(("llvm"
|
||||
,(let* ((patches-commit "061ab39e1d4591f3aa842458252a19ad01858167")
|
||||
|
|
Loading…
Reference in a new issue