gsrc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gsrc-commit] trunk r5858: update gcc7 to 7.3.0


From: Carl Hansen
Subject: [Gsrc-commit] trunk r5858: update gcc7 to 7.3.0
Date: Mon, 27 Aug 2018 20:56:23 -0400 (EDT)
User-agent: Bazaar (2.7.0dev1)

------------------------------------------------------------
revno: 5858
revision-id: address@hidden
parent: address@hidden
committer: address@hidden
branch nick: trunk
timestamp: Mon 2018-08-27 17:56:18 -0700
message:
  update gcc7 to 7.3.0
modified:
  pkg/gnu/gcc7/Makefile          makefile-20160617014725-uokjfnggs70iry9h-679
=== modified file 'pkg/gnu/gcc7/Makefile'
--- a/pkg/gnu/gcc7/Makefile     2018-08-27 00:34:09 +0000
+++ b/pkg/gnu/gcc7/Makefile     2018-08-28 00:56:18 +0000
@@ -1,5 +1,4 @@
-# Copyright © 2013, 2014, 2015, 2016, 2017 Brandon Invergo <address@hidden>
-# Copyright © 2017,2018 Carl Hansen <address@hidden>
+# Copyright ©2017, 2018 Carl Hansen <address@hidden>
 #
 # This file is part of GSRC.
 #
@@ -19,62 +18,55 @@
 #
 # Send bug reports and comments about GSRC problems to address@hidden
 
-NAME = The GNU Compiler Collection version 7
+NAME = The GNU Compiler Collection version 7 
 GARNAME = gcc7
 UPSTREAMNAME = gcc
 GARVERSION =  7.3.0
+
 HOME_URL = http://www.gnu.org/software/gcc
-DESCRIPTION = GNU Compiler Collection
+DESCRIPTION = GNU Compiler Collection  version 7
 define BLURB
-GCC is the GNU Compiler Collection.  It provides compiler front-ends
-for several languages, including C, C++, Objective-C, Fortran, Java,
-Ada, and Go.  It also includes runtime support libraries for these
-languages.
+GCC 7 is the GNU Compiler Collection version 7.  It provides compiler 
front-ends
+for several languages, including C, C++, Objective-C, Objective-C++, 
+Fortran, Java, Ada, and Go.  It also includes runtime support libraries.
 endef
 
 ######################################################################
-
 DISTNAME = $(UPSTREAMNAME)-$(GARVERSION)
-
 MASTER_SITES = $(MASTER_GNU)/
-MASTER_SUBDIR = $(GARNAME)/$(DISTNAME)/
-DISTFILES = $(DISTNAME).tar.xz
+MASTER_SUBDIR = $(UPSTREAMNAME)/$(DISTNAME)/
+DISTFILES = $(DISTNAME).tar.xz 
 SIGFILES =  $(DISTNAME).tar.xz.sig
 
-WORKSRC = $(WORKDIR)/$(DISTNAME)
-WORKOBJ = $(WORKDIR)/$(DISTNAME).build
-# CONFIGURE_SCRIPTS = reallyconfigure
-BUILD_SCRIPTS = reallybuild
+WORKOBJ = $(WORKDIR)/$(GARNAME)-$(GARVERSION).build
 INSTALL_SCRIPTS = $(WORKOBJ)/Makefile links
-INFO_FILES = cpp.info  cppinternals.info  cp-tools.info  \
-gccgo.info  gcc.info  \
-gccinstall.info  gccint.info  gcj.info  gfortran.info  gnat_rm.info  \
-gnat-style.info gnat_ugn.info  libgomp.info  libitm.info  \
-libquadmath.info
-
-BUILDDEPS = gmp mpfr mpc isl zlib
+INFO_FILES = cpp.info cppinternals.info cp-tools.info \
+    gccgo.info gccgo.info gcc.info gccinstall.info gccint.info \
+    gfc-internals.info gfortran.info gnat_rm.info \
+    gnat-style.info gnat_ugn.info gnat_ugn.info        libffi.info 
libgomp.info \
+    libitm.info libquadmath.info 
+
+
+BUILDDEPS = gmp mpfr mpc zlib
 LIBDEPS = 
-#USE_AUTORECONF=y
-
-
-# hint:
-# to compile for multilib, as set above, you might need:
-# apt install gcc-multilib g++-multilib
-
-CPPFLAGS += -I$(prefix)/include 
-
+
+######################################################################
 include ../../../gar/gar.lib/auto.mk
 include ../../../gar/gar.lib/info.mk
 include config.mk
 
-build-reallybuild:
-       @printf "[$(OK)reallybuild$(OFF)] $(MSG)Running reallybuild in 
$(OFF)$*\n"
-       cd $(WORKOBJ)  &&  $(MAKE) all
-       $(MAKECOOKIE)
+# slightly imperfect, but it works
+post-build: build
+       make -C $(WORKOBJ)/ all
 
+# can be addjusted to handle number extension gcc-7
 install-links:
-       @ln -sf gcc $(packageprefix)/bin/cc
+       @ln -sf gcc-7 $(packageprefix)/bin/cc
        @ln -sf ../bin/cpp $(packageprefix)/lib/cpp
        $(MAKECOOKIE)
 
+checkall:
+       cd $(WORKOBJ); $(MAKE) -k check 
+       $(MAKECOOKIE)
+
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]