Skip to content
Snippets Groups Projects
Verified Commit eced8a48 authored by FARGES Olivier's avatar FARGES Olivier
Browse files

debug star-3d

parent 674a9047
Branches
No related tags found
No related merge requests found
......@@ -37,52 +37,52 @@
bash
gnu-make
))
(arguments
`(#:make-flags '("CC=gcc")
#:phases
(modify-phases %standard-phases
(delete 'configure)
(delete 'check)
(add-before 'build 'debug-pkg-config
(lambda _
(invoke "pkg-config" "--modversion" "embree4")))
(add-before 'build 'set-pkg-config-path
(lambda* (#:key inputs #:allow-other-keys)
(setenv "PKG_CONFIG_PATH"
(string-append (assoc-ref inputs "embree-edix") "/lib/pkgconfig"))))
(add-before 'build 'autoreconf
(lambda _
(invoke "autoreconf" "-vfi")))
(replace 'build
(lambda* (#:key make-flags #:allow-other-keys)
(begin
(format #t "Running: make ~a~%" make-flags)
(apply invoke "make" make-flags))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(invoke "make" "install" (string-append "DESTDIR=" out))))))))
; (arguments
;`(#:make-flags '("CC=gcc")
; `(#:make-flags (list (string-append "CC=gcc" ))
; (arguments
; `(#:make-flags '("CC=gcc")
; #:phases
; (modify-phases %standard-phases
; (delete 'configure)
; (delete 'check)
; (replace 'build
; (lambda* (#:key make-flags #:allow-other-keys)
; (invoke "make" (string-join make-flags " "))))
; (add-before 'build 'debug-pkg-config
; (lambda _
; (invoke "pkg-config" "--modversion" "embree4")))
; (add-before 'build 'set-pkg-config-path
; (lambda* (#:key inputs #:allow-other-keys)
; (setenv "PKG_CONFIG_PATH"
; (string-append (assoc-ref inputs "embree-edix") "/lib/pkgconfig"))))
; (add-before 'build 'autoreconf
; (lambda _
; (invoke "autoreconf" "-vfi")))
; (replace 'build
; (lambda* (#:key make-flags #:allow-other-keys)
; (begin
; (format #t "Running: make ~a~%" make-flags)
; (apply invoke "make" make-flags))))
; (replace 'install
; (lambda* (#:key outputs #:allow-other-keys)
; (let ((out (assoc-ref outputs "out")))
; (invoke "make" "install" (string-append "PREFIX=" out))))))))
; (replace 'install
; (lambda* (#:key outputs #:allow-other-keys)
; (let ((out (assoc-ref outputs "out")))
; (invoke "make" "install" (string-append "DESTDIR=" out))))))))
(arguments
`(#:make-flags '("CC=gcc")
`(#:make-flags (list (string-append "CC=gcc" ))
#:phases
(modify-phases %standard-phases
(delete 'configure)
(delete 'check)
(replace 'build
(lambda* (#:key make-flags #:allow-other-keys)
(invoke "make" (string-join make-flags " "))))
(replace 'build
(lambda* (#:key make-flags #:allow-other-keys)
(begin
(format #t "Running: make ~a~%" make-flags)
(apply invoke "make" make-flags))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(invoke "make" "install" (string-append "PREFIX=" out))))))))
(home-page "https://meso-star.com/star-3d") ;; Remplacez avec le bon lien
(synopsis "Bibliothèque Star-3D")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment