mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: bitshuffle-for-snappy: Inherit package arguments.
* gnu/packages/compression.scm (bitshuffle-for-snappy)[arguments]: Inherit package arguments from bitshuffle. Always skip tests.
This commit is contained in:
parent
6764f94317
commit
ad79ae7e2d
1 changed files with 10 additions and 9 deletions
|
@ -1269,14 +1269,15 @@ (define-public bitshuffle-for-snappy
|
||||||
(name "bitshuffle-for-snappy")
|
(name "bitshuffle-for-snappy")
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f
|
(substitute-keyword-arguments (package-arguments bitshuffle)
|
||||||
#:phases
|
((#:tests? _ #f) #f)
|
||||||
(modify-phases %standard-phases
|
((#:phases phases)
|
||||||
(replace 'configure
|
`(modify-phases %standard-phases
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(replace 'configure
|
||||||
(with-output-to-file "Makefile"
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(lambda _
|
(with-output-to-file "Makefile"
|
||||||
(format #t "\
|
(lambda _
|
||||||
|
(format #t "\
|
||||||
libbitshuffle.so: src/bitshuffle.o src/bitshuffle_core.o src/iochain.o lz4/lz4.o
|
libbitshuffle.so: src/bitshuffle.o src/bitshuffle_core.o src/iochain.o lz4/lz4.o
|
||||||
\tgcc -O3 -ffast-math -std=c99 -o $@ -shared -fPIC $^
|
\tgcc -O3 -ffast-math -std=c99 -o $@ -shared -fPIC $^
|
||||||
|
|
||||||
|
@ -1296,7 +1297,7 @@ (define-public bitshuffle-for-snappy
|
||||||
\tinstall -m644 src/iochain.h $(INCLUDEDIR)
|
\tinstall -m644 src/iochain.h $(INCLUDEDIR)
|
||||||
\tinstall -m644 lz4/lz4.h $(INCLUDEDIR)
|
\tinstall -m644 lz4/lz4.h $(INCLUDEDIR)
|
||||||
" (assoc-ref outputs "out"))))
|
" (assoc-ref outputs "out"))))
|
||||||
#t)))))
|
#t))))))
|
||||||
(inputs '())
|
(inputs '())
|
||||||
(native-inputs '())))
|
(native-inputs '())))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue