1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-13 00:20:35 +02:00

gnu: vowpal-wabbit: Install more headers.

* gnu/packages/machine-learning.scm (vowpal-wabbit)[arguments]: Add
'install-more-headers phase to install more headers.
This commit is contained in:
Efraim Flashner
2020-08-30 14:13:32 +03:00
parent 841fe2df5e
commit d9bba529fc

View File

@@ -1049,7 +1049,16 @@ the following advantages:
(modify-phases %standard-phases
(add-after 'unpack 'make-files-writable
(lambda _
(for-each make-file-writable (find-files "." ".*")) #t)))))
(for-each make-file-writable (find-files "." ".*")) #t))
(add-after 'install 'install-more-headers
(lambda* (#:key outputs #:allow-other-keys)
(for-each
(lambda (file)
(install-file file (string-append
(assoc-ref outputs "out")
"/include/vowpalwabbit")))
(find-files "vowpalwabbit" "\\.h$"))
#t)))))
(build-system gnu-build-system)
(home-page "https://github.com/JohnLangford/vowpal_wabbit")
(synopsis "Fast machine learning library for online learning")