mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-04-30 06:08:37 +02:00
add qemu-with-rbd
This commit is contained in:
parent
219a1d8189
commit
0805c16e9a
1 changed files with 38 additions and 0 deletions
|
@ -57,6 +57,8 @@
|
||||||
#:use-module (gnu packages maths)
|
#:use-module (gnu packages maths)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module (gnu packages cmake)
|
#:use-module (gnu packages cmake)
|
||||||
|
#:use-module (gnu packages virtualization)
|
||||||
|
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1249,6 +1251,42 @@ for most inputs, but the resulting compressed files are anywhere from 20% to
|
||||||
|
|
||||||
(define-public glicid-ceph glicid-ceph-14)
|
(define-public glicid-ceph glicid-ceph-14)
|
||||||
|
|
||||||
|
(define-public qemu-with-rbd
|
||||||
|
|
||||||
|
|
||||||
|
(package
|
||||||
|
(inherit qemu)
|
||||||
|
(name "qemu-with-rbd")
|
||||||
|
; (arguments
|
||||||
|
; `(#:configure-flags
|
||||||
|
; (let ((gcc (string-append (assoc-ref %build-inputs "gcc") "/bin/gcc"))
|
||||||
|
; (out (assoc-ref %outputs "out")))
|
||||||
|
; (list (string-append "--cc=" gcc)
|
||||||
|
; ;; Some architectures insist on using HOST_CC.
|
||||||
|
; (string-append "--host-cc=" gcc)
|
||||||
|
; (string-append "--prefix=" out)
|
||||||
|
; "--sysconfdir=/etc"
|
||||||
|
; (string-append "--smbd=" out "/libexec/samba-wrapper")
|
||||||
|
; "--disable-debug-info --enable-rbd" ;for space considerations
|
||||||
|
; ;; The binaries need to be linked against -lrt.
|
||||||
|
; (string-append "--extra-ldflags=-lrt")))
|
||||||
|
; ;; Make build and test output verbose to facilitate investigation upon failure.
|
||||||
|
; ))
|
||||||
|
|
||||||
|
; (arguments
|
||||||
|
;
|
||||||
|
; `(#:tests? #f)
|
||||||
|
; )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
(inputs `(("glicid-ceph:lib", glicid-ceph "lib" )
|
||||||
|
,@(package-inputs qemu)))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue