gnu: python-llvmlite: Repair indentation.
* gnu/packages/llvm.scm (python-llvmlite): Repair automatically reformatted code.
This commit is contained in:
parent
b7078d5d49
commit
13c4a85cee
@ -1403,110 +1403,63 @@ with that of libgomp, the GNU Offloading and Multi Processing Library.")
|
|||||||
(setenv "LDFLAGS" (string-append "-Wl,-rpath="
|
(setenv "LDFLAGS" (string-append "-Wl,-rpath="
|
||||||
llvm "/lib"))))))))
|
llvm "/lib"))))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list (let* ((patches-commit
|
(list
|
||||||
"a4a19e8af2c5ef9b9901f20193e4be070726da97") (
|
(let* ((patches-commit
|
||||||
patch-uri (
|
"a4a19e8af2c5ef9b9901f20193e4be070726da97")
|
||||||
lambda (
|
(patch-uri (lambda (name)
|
||||||
name)
|
(string-append
|
||||||
(
|
"https://raw.githubusercontent.com/numba/"
|
||||||
string-append
|
"llvmlite/"
|
||||||
"https://raw.githubusercontent.com/numba/"
|
patches-commit
|
||||||
"llvmlite/"
|
"/conda-recipes/"
|
||||||
patches-commit
|
name)))
|
||||||
"/conda-recipes/"
|
(patch-origin (lambda (name hash)
|
||||||
name)))
|
(origin (method url-fetch)
|
||||||
(
|
(uri (patch-uri name))
|
||||||
patch-origin (
|
(sha256 (base32 hash)))))
|
||||||
lambda (
|
(arch-independent-patches
|
||||||
name
|
(list (patch-origin
|
||||||
hash)
|
"partial-testing.patch"
|
||||||
(
|
"0g3nkci87knvmn7piqhmh4bcc65ff8r921cvfcibyiv65klv3syg")
|
||||||
origin (
|
(patch-origin
|
||||||
method
|
"0001-Revert-Limit-size-of-non-GlobalValue-name.patch"
|
||||||
url-fetch)
|
"0n4k7za0smx6qwdipsh6x5lm7bfvzzb3p9r8q1zq1dqi4na21295"))))
|
||||||
(
|
(package
|
||||||
uri (
|
(inherit llvm-11)
|
||||||
patch-uri
|
(source
|
||||||
name))
|
(origin
|
||||||
(
|
(inherit (package-source llvm-11))
|
||||||
sha256 (
|
(patches (if (string=? "aarch64-linux" (%current-system))
|
||||||
base32
|
`(,(patch-origin
|
||||||
hash)))))
|
"intel-D47188-svml-VF_LLVM9.patch"
|
||||||
(
|
"0gnnlfxr8p1a7ls93hzcpfqpa8r0icypfwj8l9cmkslq5sz8p64r")
|
||||||
arch-independent-patches (
|
,@arch-independent-patches
|
||||||
list (
|
,@(origin-patches (package-source llvm-11)))
|
||||||
patch-origin
|
`(,(patch-origin
|
||||||
"partial-testing.patch"
|
"intel-D47188-svml-VF.patch"
|
||||||
"0g3nkci87knvmn7piqhmh4bcc65ff8r921cvfcibyiv65klv3syg")
|
"0gnnlfxr8p1a7ls93hzcpfqpa8r0icypfwj8l9cmkslq5sz8p64r")
|
||||||
(
|
,(patch-origin
|
||||||
patch-origin
|
"expect-fastmath-entrypoints-in-add-TLI-mappings.ll.patch"
|
||||||
"0001-Revert-Limit-size-of-non-GlobalValue-name.patch"
|
"0jxhjkkwwi1cy898l2n57l73ckpw0v73lqnrifp7r1mwpsh624nv")
|
||||||
"0n4k7za0smx6qwdipsh6x5lm7bfvzzb3p9r8q1zq1dqi4na21295"))))
|
,@arch-independent-patches
|
||||||
(package (inherit llvm-11)
|
,@(origin-patches (package-source llvm-11)))))))
|
||||||
(source (origin (inherit (package-source
|
(arguments
|
||||||
llvm-11))
|
(substitute-keyword-arguments (package-arguments llvm-11)
|
||||||
(patches (if (string=?
|
((#:phases phases)
|
||||||
"aarch64-linux"
|
`(modify-phases ,phases
|
||||||
(
|
(add-after 'unpack 'patch-round-two
|
||||||
%current-system))
|
;; We have to do the patching in two rounds because we can't
|
||||||
`(,(patch-origin
|
;; pass '-p1' and '-p2' in the source field.
|
||||||
"intel-D47188-svml-VF_LLVM9.patch"
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
"0gnnlfxr8p1a7ls93hzcpfqpa8r0icypfwj8l9cmkslq5sz8p64r") (
|
(invoke "patch"
|
||||||
unquote-splicing
|
(assoc-ref inputs "llvm_11_consecutive_registers")
|
||||||
arch-independent-patches)
|
"-p2")))))))
|
||||||
(
|
(native-inputs
|
||||||
unquote-splicing (
|
`(("llvm_11_consecutive_registers"
|
||||||
origin-patches (
|
,(patch-origin
|
||||||
package-source
|
"llvm_11_consecutive_registers.patch"
|
||||||
llvm-11))))
|
"04msd34dnpr3lpss0pam3mckwnvzrab266z6sml1hya0akv0m3f3"))
|
||||||
`(,(patch-origin
|
,@(package-native-inputs llvm-11)))))))
|
||||||
"intel-D47188-svml-VF.patch"
|
|
||||||
"0gnnlfxr8p1a7ls93hzcpfqpa8r0icypfwj8l9cmkslq5sz8p64r") ,(
|
|
||||||
patch-origin
|
|
||||||
"expect-fastmath-entrypoints-in-add-TLI-mappings.ll.patch"
|
|
||||||
"0jxhjkkwwi1cy898l2n57l73ckpw0v73lqnrifp7r1mwpsh624nv")
|
|
||||||
(
|
|
||||||
unquote-splicing
|
|
||||||
arch-independent-patches)
|
|
||||||
(
|
|
||||||
unquote-splicing (
|
|
||||||
origin-patches (
|
|
||||||
package-source
|
|
||||||
llvm-11))))))))
|
|
||||||
(arguments (substitute-keyword-arguments (
|
|
||||||
package-arguments
|
|
||||||
llvm-11)
|
|
||||||
((#:phases
|
|
||||||
phases) `(
|
|
||||||
modify-phases ,
|
|
||||||
phases
|
|
||||||
(
|
|
||||||
add-after '
|
|
||||||
unpack
|
|
||||||
'
|
|
||||||
patch-round-two
|
|
||||||
;; We have to do the patching in two rounds because we can't
|
|
||||||
;; pass '-p1' and '-p2' in the source field.
|
|
||||||
(
|
|
||||||
lambda* (
|
|
||||||
#:key
|
|
||||||
inputs
|
|
||||||
#:allow-other-keys)
|
|
||||||
(
|
|
||||||
invoke
|
|
||||||
"patch"
|
|
||||||
(
|
|
||||||
assoc-ref
|
|
||||||
inputs
|
|
||||||
"llvm_11_consecutive_registers")
|
|
||||||
"-p2")))))))
|
|
||||||
(native-inputs `(("llvm_11_consecutive_registers" ,(
|
|
||||||
patch-origin
|
|
||||||
"llvm_11_consecutive_registers.patch"
|
|
||||||
"04msd34dnpr3lpss0pam3mckwnvzrab266z6sml1hya0akv0m3f3")) (
|
|
||||||
unquote-splicing (
|
|
||||||
package-native-inputs
|
|
||||||
llvm-11))))))))
|
|
||||||
(home-page "https://llvmlite.pydata.org")
|
(home-page "https://llvmlite.pydata.org")
|
||||||
(synopsis "Wrapper around basic LLVM functionality")
|
(synopsis "Wrapper around basic LLVM functionality")
|
||||||
(description
|
(description
|
||||||
|
Loading…
Reference in New Issue
Block a user