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
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

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