mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Remove guile-aiscm.
* gnu/packages/machine-learning.scm (guile-aiscm): Delete variable. Change-Id: I0f21c21aa4bc651a507d452099bc7cc603e3821d
This commit is contained in:
parent
5adf4afed8
commit
8b85509062
1 changed files with 0 additions and 103 deletions
|
@ -596,109 +596,6 @@ Markov Models} (HMM) and algorithms: discrete, continuous emissions, basic
|
||||||
training, HMM clustering, HMM mixtures.")
|
training, HMM clustering, HMM mixtures.")
|
||||||
(license license:lgpl2.0+))))
|
(license license:lgpl2.0+))))
|
||||||
|
|
||||||
(define-public guile-aiscm
|
|
||||||
(package
|
|
||||||
(name "guile-aiscm")
|
|
||||||
(version "0.25.2")
|
|
||||||
(source (origin
|
|
||||||
(method git-fetch)
|
|
||||||
(uri (git-reference
|
|
||||||
(url "https://github.com/wedesoft/aiscm")
|
|
||||||
(commit "v0.25.2")))
|
|
||||||
(file-name (git-file-name name version))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"1sagpxwrqxkn5b9zqzd07c9r7swmw45q672pa8fy6s71iw6a0x77"))))
|
|
||||||
(build-system gnu-build-system)
|
|
||||||
(arguments
|
|
||||||
(list
|
|
||||||
#:make-flags
|
|
||||||
#~(list (string-append "GUILE_CACHE=" #$output "/lib/guile/3.0/site-ccache")
|
|
||||||
(string-append "GUILE_EXT=" #$output "/lib/guile/3.0/extensions")
|
|
||||||
(string-append "GUILE_SITE=" #$output "/share/guile/site/3.0"))
|
|
||||||
#:phases
|
|
||||||
'(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'build-reproducibly
|
|
||||||
(lambda _
|
|
||||||
(substitute* "doc/Makefile.am"
|
|
||||||
(("\\$\\(DATE\\)") "1970-01-01"))))
|
|
||||||
(add-after 'unpack 'find-clearsilver
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
(substitute* "configure.ac"
|
|
||||||
(("/usr/local/include/ClearSilver")
|
|
||||||
(string-append (assoc-ref inputs "clearsilver")
|
|
||||||
"/include/ClearSilver")))
|
|
||||||
(substitute* "aiscm/Makefile.am"
|
|
||||||
(("-lneo_utl" m)
|
|
||||||
(string-append m " -lstreamhtmlparser")))
|
|
||||||
(setenv "C_INCLUDE_PATH"
|
|
||||||
(string-append (assoc-ref inputs "clearsilver")
|
|
||||||
"/include/ClearSilver:"
|
|
||||||
(or (getenv "C_INCLUDE_PATH") "")))))
|
|
||||||
(add-after 'unpack 'use-llvm-config
|
|
||||||
(lambda _
|
|
||||||
(substitute* "m4/ax_llvmc.m4"
|
|
||||||
(("llvm-config-11") "llvm-config")
|
|
||||||
;; For some reason this library is not on the link list.
|
|
||||||
(("(LLVM_LIBS=\"\\$\\(\\$ac_llvm_config_path --libs \\$1\\))\"" _ m)
|
|
||||||
(string-append m " -lLLVMMCJIT\"")))
|
|
||||||
|
|
||||||
;; Because of this message:
|
|
||||||
;; symbol lookup error: ./.libs/libguile-aiscm-core.so: undefined symbol: LLVMInitializeX86TargetInfo
|
|
||||||
;; This probably needs to differ when building on architectures
|
|
||||||
;; other than x86_64.
|
|
||||||
(substitute* "aiscm/Makefile.am"
|
|
||||||
(("LLVM_LIBS\\)") "LLVM_LIBS) \
|
|
||||||
-lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMX86Desc -lLLVMX86Info"))))
|
|
||||||
;; This test fails because our version of tensorflow is too old
|
|
||||||
;; to provide tf-string-length.
|
|
||||||
(add-after 'unpack 'disable-broken-test
|
|
||||||
(lambda _
|
|
||||||
(substitute* "tests/test_tensorflow.scm"
|
|
||||||
(("\\(test-eqv \"determine string length" m)
|
|
||||||
(string-append "#;" m)))))
|
|
||||||
;; Use Clang instead of GCC.
|
|
||||||
(add-before 'configure 'prepare-build-environment
|
|
||||||
(lambda _
|
|
||||||
(setenv "AR" "llvm-ar")
|
|
||||||
(setenv "NM" "llvm-nm")
|
|
||||||
(setenv "CC" "clang")
|
|
||||||
(setenv "CXX" "clang++"))))))
|
|
||||||
(inputs
|
|
||||||
(list clearsilver
|
|
||||||
ffmpeg-4
|
|
||||||
freeglut
|
|
||||||
guile-3.0
|
|
||||||
imagemagick
|
|
||||||
libgc
|
|
||||||
libjpeg-turbo
|
|
||||||
libomp
|
|
||||||
libxi
|
|
||||||
libxmu
|
|
||||||
libxpm
|
|
||||||
libxt
|
|
||||||
libxv
|
|
||||||
mesa
|
|
||||||
mjpegtools
|
|
||||||
pandoc
|
|
||||||
pulseaudio
|
|
||||||
tensorflow))
|
|
||||||
(native-inputs
|
|
||||||
(list clang-13
|
|
||||||
llvm-13
|
|
||||||
pkg-config
|
|
||||||
protobuf-c-for-aiscm
|
|
||||||
autoconf
|
|
||||||
automake
|
|
||||||
gettext-minimal
|
|
||||||
libtool
|
|
||||||
which))
|
|
||||||
(home-page "https://wedesoft.github.io/aiscm/")
|
|
||||||
(synopsis "Guile extension for numerical arrays and tensors")
|
|
||||||
(description "AIscm is a Guile extension for numerical arrays and tensors.
|
|
||||||
Performance is achieved by using the LLVM JIT compiler.")
|
|
||||||
(license license:gpl3+)))
|
|
||||||
|
|
||||||
(define-public llama-cpp
|
(define-public llama-cpp
|
||||||
(let ((tag "b6101"))
|
(let ((tag "b6101"))
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue