aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-05-05 15:55:58 +0530
committerArun Isaac2022-05-05 15:55:58 +0530
commit0720640ca5a07716e94bce0a2f9f64ae4913fd32 (patch)
tree5a382ccf5b0464c2ad7f1ef64f40e2141427b803
parent51d0de6931bb5c8a76efc0b34dde6b902285dd1f (diff)
downloadgn-machines-0720640ca5a07716e94bce0a2f9f64ae4913fd32.tar.gz
Build dump-genenetwork-database before dumping database.
* genenetwork-development.scm (dump-genenetwork-database): Add gnu-make to manifest. Build scheme source files before dumping database.
-rw-r--r--genenetwork-development.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm
index 055d701..b446cd4 100644
--- a/genenetwork-development.scm
+++ b/genenetwork-development.scm
@@ -553,16 +553,18 @@ command to be executed."
(define (dump-genenetwork-database project)
(with-imported-modules '((guix build utils))
- (with-packages (list ccwl git-minimal guile-3.0 guile-dbd-mysql
+ (with-packages (list ccwl git-minimal gnu-make guile-3.0 guile-dbd-mysql
guile-dbi guile-hashing guile-libyaml guile-sparql
nss-certs virtuoso-ose)
#~(begin
- (use-modules (guix build utils))
+ (use-modules (guix build utils)
+ (ice-9 threads))
(invoke "git" "clone"
"--depth" "1"
#$(forge-project-repository project)
".")
+ (invoke "make" "-j" (number->string (current-processor-count)))
(let ((connection-settings-file #$(string-append %dump-genenetwork-database-export-directory
"/conn.scm"))
(dump-directory #$(string-append %dump-genenetwork-database-export-directory