mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: fasttext: Fix build.
* gnu/packages/machine-learning.scm (fasttext): [arguments]<#:phases>: Add phase 'gcc-14-fix. Change-Id: Ib3f4a49b65e84f75f182637764fb54e24f3a5b5b Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
9f36748b10
commit
1cd2a221f3
1 changed files with 10 additions and 1 deletions
|
@ -185,7 +185,16 @@ frameworks.")
|
|||
(base32 "07cz2ghfq6amcljaxpdr5chbd64ph513y8zqmibfx2xwfp74xkhn"))))
|
||||
(build-system cmake-build-system)
|
||||
;; Tests require downloading of test data.
|
||||
(arguments (list #:tests? #false))
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #false
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'gcc-14-fix
|
||||
(lambda _
|
||||
(substitute* "src/args.cc"
|
||||
(("#include <unordered_map>" all)
|
||||
(string-append all "\n#include <cstdint>"))))))))
|
||||
(home-page "https://github.com/facebookresearch/fastText")
|
||||
(synopsis "Library for fast text representation and classification")
|
||||
(description "fastText is a library for efficient learning of word
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue