aboutsummaryrefslogtreecommitdiff
path: root/guix.scm
diff options
context:
space:
mode:
authorPjotr Prins2024-05-03 13:31:05 +0200
committerPjotr Prins2024-05-03 13:31:05 +0200
commit8ccbdf293dcb99f460b2d038108c00ca4a73ad51 (patch)
treee8583a7722e99e2eeefc18b967ac1acc849a88cc /guix.scm
parent8132837eb10a419a8b88fd54d728989a0df22db8 (diff)
downloadpangemma-8ccbdf293dcb99f460b2d038108c00ca4a73ad51.tar.gz
Built a static version of gemma
Diffstat (limited to 'guix.scm')
-rw-r--r--guix.scm27
1 files changed, 15 insertions, 12 deletions
diff --git a/guix.scm b/guix.scm
index e64ff98..4eeb203 100644
--- a/guix.scm
+++ b/guix.scm
@@ -4,7 +4,8 @@
;;
;; To get a development container (e.g., run in emacs shell).
;;
-;; guix shell -C -f guix.scm
+;; guix shell -C -D -f guix.scm
+;;
(use-modules
((guix licenses) #:prefix license:)
@@ -28,6 +29,7 @@
;; (gnu packages perl6)
(gnu packages ruby)
(gnu packages pkg-config)
+ (pjotr packages openblas) ;; we use this for the static builds
;; (gnu packages shell) ;; for shunit2
(srfi srfi-1)
(ice-9 popen)
@@ -47,18 +49,19 @@
(version (git-version "0.98.5" "HEAD" %git-commit))
(source (local-file %source-dir #:recursive? #t))
(build-system gnu-build-system)
- (inputs `(
- ("catch" ,catch2)
- ("gdb" ,gdb)
- ("gsl" ,gsl)
- ;; ("shunit2" ,shunit2) ;; comes with gemma
- ("openblas" ,openblas)
- ("ruby" ,ruby) ;; for testing
- ("zlib:static" ,zlib "static")
- ("zlib" ,zlib)
- ))
+ (inputs
+ `(
+ ("catch" ,catch2)
+ ("gdb" ,gdb)
+ ("gsl-static" ,gsl-static)
+ ("gsl" ,gsl)
+ ("openblas" ,openblas)
+ ("ruby" ,ruby) ;; for testing
+ ("zlib:static" ,zlib "static")
+ ("zlib" ,zlib)))
+
(native-inputs ; for running tests
- `(("perl" ,perl)
+ `(("perl" ,perl)
("which" ,which)
))
(arguments