gnu: python-llvmlite: Remove trailing #T.

* gnu/packages/llvm.scm (python-llvmlite)[arguments]: Remove trailing #T from
build phases.
This commit is contained in:
Ricardo Wurmus 2021-11-19 23:04:12 +01:00
parent 443f3e170a
commit 2c19edeb4f
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -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")