gnu: volk: Remove static library.
* gnu/packages/engineering.scm (volk)[arguments]: Add a 'remove-static-libraries phase.
This commit is contained in:
parent
6a18f4c5dc
commit
8da64e9bf9
1 changed files with 8 additions and 0 deletions
|
|
@ -1092,6 +1092,14 @@ the 'showing the effect of'-style of operation.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'install 'remove-static-libraries
|
||||||
|
;; Remove libcpu_features.a (and any others that might appear).
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(lib (string-append out "/lib")))
|
||||||
|
(for-each delete-file (find-files lib "\\.a$"
|
||||||
|
#:fail-on-error? #t))
|
||||||
|
#t)))
|
||||||
(add-after 'install 'wrap-pythonpath
|
(add-after 'install 'wrap-pythonpath
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
|
|
||||||
Reference in a new issue