Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
RAMET Pierre
guix-hpc
Commits
8fd0ccbd
Commit
8fd0ccbd
authored
Jun 25, 2021
by
Ludovic Courtès
Browse files
Add manifest.
* manifest: New file.
parent
5c339a85
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifest
0 → 100644
View file @
8fd0ccbd
;;; This is -*- Scheme -*-.
;;;
;;; This module extends GNU Guix and is licensed under the same terms, those
;;; of the GNU GPL version 3 or (at your option) any later version.
;;;
;;; Copyright © 2021 Inria
;;; Manifest for continuous integration of Guix-HPC.
(use-modules (gnu packages) (guix)
(guix profiles)
(guix describe)
(guix channels)
(srfi srfi-1)
(ice-9 match))
(define (guix-hpc-package? package)
"Return #true if PACKAGE comes from the 'guix-hpc' channel."
(match (package-channels package)
(() ;no channel info, check source file name
(let ((file (and=> (package-location package) location-file)))
(and file
(or (string-contains file "inria/")
(string-contains file "airbus/")
(string-contains file "lrz/")
(string-contains file "ufrgs/")))))
((channels ...)
(find (lambda (channel)
(eq? 'guix-hpc (channel-name channel)))
channels))))
(packages->manifest
(fold-packages (lambda (package result)
(if (guix-hpc-package? package)
(cons package result)
result))
'()))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment