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
Show more breadcrumbs
FARGES Olivier
edix-channel
Commits
7037585a
Verified
Commit
7037585a
authored
4 months ago
by
FARGES Olivier
Browse files
Options
Downloads
Patches
Plain Diff
add random123
parent
3c41f899
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
edix/packages/random123.scm
+45
-0
45 additions, 0 deletions
edix/packages/random123.scm
with
45 additions
and
0 deletions
edix/packages/random123.scm
0 → 100644
+
45
−
0
View file @
7037585a
(
define-module
(
edix
packages
random123
)
#
:use-module
(
guix
packages
)
#
:use-module
(
guix
git-download
)
#
:use-module
(
guix
build-system
gnu
)
#
:use-module
(
guix
licenses
)
#
:use-module
(
guix
utils
)
#
:use-module
(
guix
build-system
cmake
)
#
:use-module
(
gnu
packages
base
)
#
:use-module
(
gnu
packages
gcc
)
#
:use-module
(
gnu
packages
documentation
)
#
:use-module
(
gnu
packages
python
))
(
define-public
random123
(
package
(
name
"random123"
)
(
version
"v1.14.0"
)
; Modifier selon la version disponible
(
source
(
origin
(
method
git-fetch
)
(
uri
(
git-reference
(
url
"https://github.com/DEShawResearch/random123.git"
)
(
commit
version
)))
(
file-name
(
git-file-name
name
version
))
(
sha256
(
base32
"1awsf27k3mrp8rlc6wqzm2a5lndggp18fvzir395b3hljyx45bxg"
))))
; Remplacer par la vraie somme SHA256
(
build-system
gnu-build-system
)
; (arguments '(#:tests? #f)) ; Désactiver les tests s'il n'y en a pas
(
native-inputs
'
())
(
inputs
(
list
gcc
doxygen
))
(
arguments
`
(
#
:tests?
#f
; Désactiver les tests s'il n'y en a pas
#
:phases
(
modify-phases
%standard-phases
(
delete
'configure
)
; Pas de configuration nécessaire
(
replace
'install
(
lambda*
(
#
:key
outputs
#
:allow-other-keys
)
(
let*
((
out
(
assoc-ref
outputs
"out"
)))
(
mkdir-p
(
string-append
out
"/include"
))
(
mkdir-p
(
string-append
out
"/lib"
))
(
mkdir-p
(
string-append
out
"/bin"
))
(
copy-recursively
"include"
(
string-append
out
"/include"
))
(
copy-recursively
"lib"
(
string-append
out
"/lib"
))
(
copy-recursively
"bin"
(
string-append
out
"/bin"
))))))))
(
home-page
"https://www.deshawresearch.com/resources_random123.html"
)
(
synopsis
"Bibliothèque de générateurs de nombres pseudo-aléatoires"
)
(
description
"Random123 est une bibliothèque pour des générateurs de nombres pseudo-aléatoires (PRNG) rapides et parallélisables."
)
(
license
bsd-3
)))
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