From d2b3c8993a8b020f5616b8a174ee0d589a1d47ea Mon Sep 17 00:00:00 2001 From: Yann Dupont Date: Thu, 14 May 2020 12:32:14 +0200 Subject: [PATCH] erreur... --- gnu/packages/glicid.scm | 50 +---------------------------------------- 1 file changed, 1 insertion(+), 49 deletions(-) diff --git a/gnu/packages/glicid.scm b/gnu/packages/glicid.scm index 7351b4d..a8a8313 100644 --- a/gnu/packages/glicid.scm +++ b/gnu/packages/glicid.scm @@ -185,61 +185,13 @@ ) ) +;; pour futures customisations. -<<<<<<< HEAD (define-public glicid-openmpi (package (inherit openmpi) (name "glicid-openpmi") )) -======= -(define* (custom-gcc gcc name languages - #:optional - (search-paths (package-native-search-paths gcc)) - #:key (separate-lib-output? #t)) - "Return a custom version of GCC that supports LANGUAGES. Use SEARCH-PATHS -as the 'native-search-paths' field." - (package (inherit gcc) - (name name) - (outputs (if separate-lib-output? - (package-outputs gcc) - (delete "lib" (package-outputs gcc)))) - (native-search-paths search-paths) - (properties (alist-delete 'hidden? (package-properties gcc))) - (arguments - (substitute-keyword-arguments (package-arguments gcc) - ((#:modules modules %gnu-build-system-modules) - `(,@modules - (srfi srfi-1) - (srfi srfi-26) - (ice-9 regex))) - ((#:configure-flags flags) - `(cons (string-append "--enable-languages=" - ,(string-join languages ",")) - (remove (cut string-match "--enable-languages.*" <>) - ,flags))) - ((#:phases phases) - `(modify-phases ,phases - (add-after 'install 'remove-broken-or-conflicting-files - (lambda* (#:key outputs #:allow-other-keys) - (for-each delete-file - (find-files (string-append (assoc-ref outputs "out") "/bin") - ".*(c\\+\\+|cpp|g\\+\\+|gcov|gcc|gcc-.*)")) - #t)))))))) - - -(define-public gfortran-9 - (custom-gcc gcc-9 "gfortran" '("fortran") - %generic-search-paths)) - -(define-public gfortran-10 - (custom-gcc gcc-10 "gfortran" '("fortran") - %generic-search-paths)) - -(define-public glicid-gfortran-9 gfortran-9) -(define-public glicid-gfortran-10 gfortran-10) - ->>>>>>> parent of 34257ea... attention, gcc.scm est patché... ;;; glicid.scm ends here