unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Brown <brown@fastmail.com>
To: 32612@debbugs.gnu.org
Subject: bug#32612: Update all gcc compilers to be 8.2.0
Date: Sun, 02 Sep 2018 10:20:00 -0500	[thread overview]
Message-ID: <87h8j8sz8f.fsf@fastmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 51 bytes --]

Update all compilers (e.g. gfortran) to be 8.2.0.


[-- Attachment #2: 0001-gnu-gcc-8-Update-all-compilers-to-8.2.0.patch --]
[-- Type: text/x-diff, Size: 2301 bytes --]

From 70d1ba70de5279a5ef471e4a0287557ca598134f Mon Sep 17 00:00:00 2001
From: Eric Brown <brown@fastmail.com>
Date: Sun, 2 Sep 2018 09:27:56 -0500
Subject: [PATCH] gnu: gcc@8: Update all compilers to 8.2.0.

* gnu/packages/gcc.scm (gfortran-8): Update to 8.2.0.
* gnu/packages/gcc.scm (gcc-objc-8): Update to 8.2.0.
* gnu/packages/gcc.scm (gcc-objc++-8): Update to 8.2.0.
---
 gnu/packages/gcc.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index bdff2ddad..0dd5d6446 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -663,6 +663,10 @@ as the 'native-search-paths' field."
   (custom-gcc gcc-7 "gfortran" '("fortran")
               %generic-search-paths))
 
+(define-public gfortran-8
+  (custom-gcc gcc-8 "gfortran" '("fortran")
+              %generic-search-paths))
+
 (define-public gfortran
   ;; Note: Update this when GCC changes!  We cannot use
   ;; (custom-gcc gcc "fortran" …) because that would lead to a package object
@@ -723,6 +727,15 @@ as the 'native-search-paths' field."
                      (variable "LIBRARY_PATH")
                      (files '("lib" "lib64"))))))
 
+(define-public gcc-objc-8
+  (custom-gcc gcc-8 "gcc-objc" '("objc")
+              (list (search-path-specification
+                     (variable "OBJC_INCLUDE_PATH")
+                     (files '("include")))
+                    (search-path-specification
+                     (variable "LIBRARY_PATH")
+                     (files '("lib" "lib64"))))))
+
 (define-public gcc-objc gcc-objc-5)
 
 (define-public gcc-objc++-4.8
@@ -770,6 +783,15 @@ as the 'native-search-paths' field."
                      (variable "LIBRARY_PATH")
                      (files '("lib" "lib64"))))))
 
+(define-public gcc-objc++-8
+  (custom-gcc gcc-8 "gcc-objc++" '("obj-c++")
+              (list (search-path-specification
+                     (variable "OBJCPLUS_INCLUDE_PATH")
+                     (files '("include")))
+                    (search-path-specification
+                     (variable "LIBRARY_PATH")
+                     (files '("lib" "lib64"))))))
+
 (define-public gcc-objc++ gcc-objc++-5)
 
 (define (make-libstdc++-doc gcc)
-- 
2.18.0


[-- Attachment #3: 0001-gnu-gcc-8-Update-all-compilers-to-8.2.0.patch --]
[-- Type: text/x-diff, Size: 2301 bytes --]

From 70d1ba70de5279a5ef471e4a0287557ca598134f Mon Sep 17 00:00:00 2001
From: Eric Brown <brown@fastmail.com>
Date: Sun, 2 Sep 2018 09:27:56 -0500
Subject: [PATCH] gnu: gcc@8: Update all compilers to 8.2.0.

* gnu/packages/gcc.scm (gfortran-8): Update to 8.2.0.
* gnu/packages/gcc.scm (gcc-objc-8): Update to 8.2.0.
* gnu/packages/gcc.scm (gcc-objc++-8): Update to 8.2.0.
---
 gnu/packages/gcc.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index bdff2ddad..0dd5d6446 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -663,6 +663,10 @@ as the 'native-search-paths' field."
   (custom-gcc gcc-7 "gfortran" '("fortran")
               %generic-search-paths))
 
+(define-public gfortran-8
+  (custom-gcc gcc-8 "gfortran" '("fortran")
+              %generic-search-paths))
+
 (define-public gfortran
   ;; Note: Update this when GCC changes!  We cannot use
   ;; (custom-gcc gcc "fortran" …) because that would lead to a package object
@@ -723,6 +727,15 @@ as the 'native-search-paths' field."
                      (variable "LIBRARY_PATH")
                      (files '("lib" "lib64"))))))
 
+(define-public gcc-objc-8
+  (custom-gcc gcc-8 "gcc-objc" '("objc")
+              (list (search-path-specification
+                     (variable "OBJC_INCLUDE_PATH")
+                     (files '("include")))
+                    (search-path-specification
+                     (variable "LIBRARY_PATH")
+                     (files '("lib" "lib64"))))))
+
 (define-public gcc-objc gcc-objc-5)
 
 (define-public gcc-objc++-4.8
@@ -770,6 +783,15 @@ as the 'native-search-paths' field."
                      (variable "LIBRARY_PATH")
                      (files '("lib" "lib64"))))))
 
+(define-public gcc-objc++-8
+  (custom-gcc gcc-8 "gcc-objc++" '("obj-c++")
+              (list (search-path-specification
+                     (variable "OBJCPLUS_INCLUDE_PATH")
+                     (files '("include")))
+                    (search-path-specification
+                     (variable "LIBRARY_PATH")
+                     (files '("lib" "lib64"))))))
+
 (define-public gcc-objc++ gcc-objc++-5)
 
 (define (make-libstdc++-doc gcc)
-- 
2.18.0


             reply	other threads:[~2018-09-02 15:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-02 15:20 Eric Brown [this message]
2018-09-06 21:39 ` bug#32612: Update all gcc compilers to be 8.2.0 Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h8j8sz8f.fsf@fastmail.com \
    --to=brown@fastmail.com \
    --cc=32612@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).