summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2026-03-12 11:33:30 +0100
committerRicardo Wurmus <rekado@elephly.net>2026-04-02 07:37:08 +0200
commit10a1b8079d5dbed25734225c8c77ed14f0f2eed2 (patch)
tree78c91592b6e1e5ceaae1fce08059c340af40ab02
parent999ae6d83077a5ffcbf56768ff03fdd20bbc5c20 (diff)
gnu: r-bpcells: Do not build bundled highway library.
* gnu/packages/bioinformatics.scm (r-bpcells)[source]: Remove bundled highway sources. [arguments]: Fix check. [inputs]: Add google-highway. Change-Id: Ib70e7f9f64053b9e840c8c5f04e966beb4cf2869
-rw-r--r--gnu/packages/bioinformatics.scm13
1 files changed, 10 insertions, 3 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 9a476f3d1fc..5035bce27a2 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -922,7 +922,10 @@ suite native in R.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "12h1di45fg06nhsliii7v0h1z567pkpis1xm4ar1qr8ns1n8iljw"))))
+ (base32 "12h1di45fg06nhsliii7v0h1z567pkpis1xm4ar1qr8ns1n8iljw"))
+ (modules '((guix build utils)))
+ (snippet
+ '(delete-file-recursively "r/src/vendor/highway"))))
(properties `((upstream-name . "BPCells")))
(build-system r-build-system)
(arguments
@@ -930,7 +933,11 @@ suite native in R.")
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'chdir
- (lambda _ (chdir "r"))))))
+ (lambda _
+ (substitute* "r/configure"
+ (("tools/hwy-test.cpp" m)
+ (string-append m " $HWY_LIBS $HWY_CFLAGS")))
+ (chdir "r"))))))
(propagated-inputs
(list r-dplyr
r-ggplot2
@@ -957,7 +964,7 @@ suite native in R.")
r-igraph
r-iranges
r-matrixstats))
- (inputs (list hdf5 zlib))
+ (inputs (list hdf5 google-highway zlib))
(native-inputs (list pkg-config))
(home-page "https://github.com/bnprks/BPCells")
(synopsis "Single cell counts matrices to PCA")