Source-Changes-HG archive

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

[src/trunk]: src/tools/gcc add a netbsd version for GCC 10. properly generat...



details:   https://anonhg.NetBSD.org/src/rev/f830fdd64c6a
branches:  trunk
changeset: 378377:f830fdd64c6a
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Apr 11 23:55:47 2021 +0000

description:
add a netbsd version for GCC 10.  properly generate omp-device-properties.h.

diffstat:

 tools/gcc/Makefile       |  4 ++--
 tools/gcc/gcc-version.mk |  4 +++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 3c094b31e130 -r f830fdd64c6a tools/gcc/Makefile
--- a/tools/gcc/Makefile        Sun Apr 11 23:54:25 2021 +0000
+++ b/tools/gcc/Makefile        Sun Apr 11 23:55:47 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.101 2021/04/11 07:35:45 mrg Exp $
+#      $NetBSD: Makefile,v 1.102 2021/04/11 23:55:47 mrg Exp $
 
 .include <bsd.hostinit.mk>
 
@@ -234,7 +234,7 @@ MKENV_BUILD_MAKE=cd .native && ${MKNATIV
                (cd .native/gcc && ${MKNATIVE_ENV} ${BUILD_MAKE} -e libgcc.mvars tconfig.h); \
                (cd .native && touch gcc/cc1obj gcc/cc1plus gcc/f771 gcc/libgcc.a gcc/libgcc_s.so)
        PATH=${TOOLDIR}/bin:$$PATH; export PATH; \
-               (cd .native/gcc && ${MKNATIVE_ENV} ${BUILD_MAKE} -e omp-device-properties.h)
+               (cd .native/gcc && ${MKNATIVE_ENV} ${BUILD_MAKE} -e s-omp-device-properties-h)
 .if defined(EXTRA_GCC_TARGETS)
        PATH=${TOOLDIR}/bin:$$PATH; export PATH; \
                (cd .native/gcc && ${MKNATIVE_ENV} ${BUILD_MAKE} -e ${EXTRA_GCC_TARGETS})
diff -r 3c094b31e130 -r f830fdd64c6a tools/gcc/gcc-version.mk
--- a/tools/gcc/gcc-version.mk  Sun Apr 11 23:54:25 2021 +0000
+++ b/tools/gcc/gcc-version.mk  Sun Apr 11 23:55:47 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: gcc-version.mk,v 1.20 2020/09/06 21:59:33 mrg Exp $
+#      $NetBSD: gcc-version.mk,v 1.21 2021/04/11 23:55:47 mrg Exp $
 
 # common location for tools and native build
 
@@ -6,4 +6,6 @@
 NETBSD_GCC_VERSION=nb1 20200311
 .elif ${HAVE_GCC} == 9
 NETBSD_GCC_VERSION=nb1 20200907
+.elif ${HAVE_GCC} == 10
+NETBSD_GCC_VERSION=nb1 20210411
 .endif



Home | Main Index | Thread Index | Old Index