gnu: rav1e: Don't build the static library.
* gnu/packages/video.scm (rav1e)[arguments]: Adjust the custom 'build phase to not build the static library. Remove phase deleting static library. Change-Id: I624e5e076eac867b12cfc5fbf3d33c2832d23646
This commit is contained in:
parent
448e90db80
commit
0d84d3ff9f
1 changed files with 3 additions and 6 deletions
|
@ -5588,12 +5588,9 @@ result in several formats:
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
(invoke "cargo" "cinstall" "--release"
|
(invoke "cargo" "cinstall" "--release"
|
||||||
(string-append "--prefix=" out)))))
|
;; Only build the dynamic library.
|
||||||
(add-after 'install 'delete-static-library
|
"--library-type" "cdylib"
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(string-append "--prefix=" out))))))))
|
||||||
;; Delete 93 MiB (!) static library.
|
|
||||||
(delete-file (string-append (assoc-ref outputs "out")
|
|
||||||
"/lib/librav1e.a")))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list nasm pkg-config rust-cargo-c))
|
(list nasm pkg-config rust-cargo-c))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Reference in a new issue