diff options
| author | Andreas Enge <andreas@enge.fr> | 2025-09-14 18:18:43 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-09-14 18:22:09 +0200 |
| commit | 8b8550906211c6840e1d1e57f8f8ab9c95014308 (patch) | |
| tree | e8feab572fc447e249b658a2e6e5e5749f877417 /gnu | |
| parent | 5adf4afed8fc25cc065be581ea15db7527742672 (diff) | |
gnu: Remove guile-aiscm.
* gnu/packages/machine-learning.scm (guile-aiscm): Delete variable.
Change-Id: I0f21c21aa4bc651a507d452099bc7cc603e3821d
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/machine-learning.scm | 103 |
1 files changed, 0 insertions, 103 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index d57365ad60c..9b0982be04e 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm | |||
| @@ -596,109 +596,6 @@ Markov Models} (HMM) and algorithms: discrete, continuous emissions, basic | |||
| 596 | training, HMM clustering, HMM mixtures.") | 596 | training, HMM clustering, HMM mixtures.") |
| 597 | (license license:lgpl2.0+)))) | 597 | (license license:lgpl2.0+)))) |
| 598 | 598 | ||
| 599 | (define-public guile-aiscm | ||
| 600 | (package | ||
| 601 | (name "guile-aiscm") | ||
| 602 | (version "0.25.2") | ||
| 603 | (source (origin | ||
| 604 | (method git-fetch) | ||
| 605 | (uri (git-reference | ||
| 606 | (url "https://github.com/wedesoft/aiscm") | ||
| 607 | (commit "v0.25.2"))) | ||
| 608 | (file-name (git-file-name name version)) | ||
| 609 | (sha256 | ||
| 610 | (base32 | ||
| 611 | "1sagpxwrqxkn5b9zqzd07c9r7swmw45q672pa8fy6s71iw6a0x77")))) | ||
| 612 | (build-system gnu-build-system) | ||
| 613 | (arguments | ||
| 614 | (list | ||
| 615 | #:make-flags | ||
| 616 | #~(list (string-append "GUILE_CACHE=" #$output "/lib/guile/3.0/site-ccache") | ||
| 617 | (string-append "GUILE_EXT=" #$output "/lib/guile/3.0/extensions") | ||
| 618 | (string-append "GUILE_SITE=" #$output "/share/guile/site/3.0")) | ||
| 619 | #:phases | ||
| 620 | '(modify-phases %standard-phases | ||
| 621 | (add-after 'unpack 'build-reproducibly | ||
| 622 | (lambda _ | ||
| 623 | (substitute* "doc/Makefile.am" | ||
| 624 | (("\\$\\(DATE\\)") "1970-01-01")))) | ||
| 625 | (add-after 'unpack 'find-clearsilver | ||
| 626 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 627 | (substitute* "configure.ac" | ||
| 628 | (("/usr/local/include/ClearSilver") | ||
| 629 | (string-append (assoc-ref inputs "clearsilver") | ||
| 630 | "/include/ClearSilver"))) | ||
| 631 | (substitute* "aiscm/Makefile.am" | ||
| 632 | (("-lneo_utl" m) | ||
| 633 | (string-append m " -lstreamhtmlparser"))) | ||
| 634 | (setenv "C_INCLUDE_PATH" | ||
| 635 | (string-append (assoc-ref inputs "clearsilver") | ||
| 636 | "/include/ClearSilver:" | ||
| 637 | (or (getenv "C_INCLUDE_PATH") ""))))) | ||
| 638 | (add-after 'unpack 'use-llvm-config | ||
| 639 | (lambda _ | ||
| 640 | (substitute* "m4/ax_llvmc.m4" | ||
| 641 | (("llvm-config-11") "llvm-config") | ||
| 642 | ;; For some reason this library is not on the link list. | ||
| 643 | (("(LLVM_LIBS=\"\\$\\(\\$ac_llvm_config_path --libs \\$1\\))\"" _ m) | ||
| 644 | (string-append m " -lLLVMMCJIT\""))) | ||
| 645 | |||
| 646 | ;; Because of this message: | ||
| 647 | ;; symbol lookup error: ./.libs/libguile-aiscm-core.so: undefined symbol: LLVMInitializeX86TargetInfo | ||
| 648 | ;; This probably needs to differ when building on architectures | ||
| 649 | ;; other than x86_64. | ||
| 650 | (substitute* "aiscm/Makefile.am" | ||
| 651 | (("LLVM_LIBS\\)") "LLVM_LIBS) \ | ||
| 652 | -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMX86Desc -lLLVMX86Info")))) | ||
| 653 | ;; This test fails because our version of tensorflow is too old | ||
| 654 | ;; to provide tf-string-length. | ||
| 655 | (add-after 'unpack 'disable-broken-test | ||
| 656 | (lambda _ | ||
| 657 | (substitute* "tests/test_tensorflow.scm" | ||
| 658 | (("\\(test-eqv \"determine string length" m) | ||
| 659 | (string-append "#;" m))))) | ||
| 660 | ;; Use Clang instead of GCC. | ||
| 661 | (add-before 'configure 'prepare-build-environment | ||
| 662 | (lambda _ | ||
| 663 | (setenv "AR" "llvm-ar") | ||
| 664 | (setenv "NM" "llvm-nm") | ||
| 665 | (setenv "CC" "clang") | ||
| 666 | (setenv "CXX" "clang++")))))) | ||
| 667 | (inputs | ||
| 668 | (list clearsilver | ||
| 669 | ffmpeg-4 | ||
| 670 | freeglut | ||
| 671 | guile-3.0 | ||
| 672 | imagemagick | ||
| 673 | libgc | ||
| 674 | libjpeg-turbo | ||
| 675 | libomp | ||
| 676 | libxi | ||
| 677 | libxmu | ||
| 678 | libxpm | ||
| 679 | libxt | ||
| 680 | libxv | ||
| 681 | mesa | ||
| 682 | mjpegtools | ||
| 683 | pandoc | ||
| 684 | pulseaudio | ||
| 685 | tensorflow)) | ||
| 686 | (native-inputs | ||
| 687 | (list clang-13 | ||
| 688 | llvm-13 | ||
| 689 | pkg-config | ||
| 690 | protobuf-c-for-aiscm | ||
| 691 | autoconf | ||
| 692 | automake | ||
| 693 | gettext-minimal | ||
| 694 | libtool | ||
| 695 | which)) | ||
| 696 | (home-page "https://wedesoft.github.io/aiscm/") | ||
| 697 | (synopsis "Guile extension for numerical arrays and tensors") | ||
| 698 | (description "AIscm is a Guile extension for numerical arrays and tensors. | ||
| 699 | Performance is achieved by using the LLVM JIT compiler.") | ||
| 700 | (license license:gpl3+))) | ||
| 701 | |||
| 702 | (define-public llama-cpp | 599 | (define-public llama-cpp |
| 703 | (let ((tag "b6101")) | 600 | (let ((tag "b6101")) |
| 704 | (package | 601 | (package |
