mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-05-01 14:45:39 +02:00
gcc transformation moved to utils
This commit is contained in:
parent
4c33f3fbdc
commit
b38a292b8f
4 changed files with 50 additions and 77 deletions
|
@ -93,9 +93,7 @@
|
|||
#:use-module (glicid packages gcc)
|
||||
#:use-module (glicid packages linux)
|
||||
#:use-module (glicid packages fabric-management)
|
||||
|
||||
|
||||
|
||||
#:use-module (glicid utils)
|
||||
|
||||
)
|
||||
|
||||
|
@ -112,26 +110,6 @@
|
|||
)
|
||||
)
|
||||
|
||||
(use-modules (guix transformations))
|
||||
|
||||
|
||||
(define gcc11-instead-of-gcc
|
||||
;; This is a procedure to replace GCC by GCC11,
|
||||
;; recursively.
|
||||
; (package-input-rewriting/spec `((,gcc-toolchain . ,(const gcc-toolchain-11)))))
|
||||
(package-input-rewriting `(
|
||||
(,gcc-toolchain . ,gcc-toolchain-11)
|
||||
(,gfortran-toolchain . ,gfortran-toolchain-11)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
(define gcc10-instead-of-gcc
|
||||
;; This is a procedure to replace GCC by GCC10,
|
||||
;; recursively.
|
||||
; (package-input-rewriting/spec `((,gcc-toolchain . ,(const gcc-toolchain-10)))))
|
||||
(package-input-rewriting `((,gcc-toolchain . ,gcc-toolchain-10))))
|
||||
|
||||
|
||||
(define openmpi-glicid-transform-gcc-10
|
||||
(gcc10-instead-of-gcc openmpi-glicid))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue