Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edix-channel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Arrêt du service - 11/07 de 07h30 à 07h45 - Mise à jour de sécurité
Show more breadcrumbs
FARGES Olivier
edix-channel
Commits
7e7bd67a
Verified
Commit
7e7bd67a
authored
4 months ago
by
FARGES Olivier
Browse files
Options
Downloads
Patches
Plain Diff
debug star-3d
parent
75ff753c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
edix/packages/star-3d.scm
+39
-12
39 additions, 12 deletions
edix/packages/star-3d.scm
with
39 additions
and
12 deletions
edix/packages/star-3d.scm
+
39
−
12
View file @
7e7bd67a
...
...
@@ -30,32 +30,59 @@
(
base32
"1pdm69fbwh8i0qg54b75bkw0yyl19w2di7l775anrigh43q5w3b6"
))))
(
build-system
gnu-build-system
)
(
native-inputs
(
list
pkg-config
autoconf
automake
libtool
))
(
list
pkg-config
autoconf
automake
libtool
rsys
embree-edix
))
(
inputs
(
list
gcc
gfortran
bash
gnu-make
rsys
embree-edix
gnu-make
))
(
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"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment