Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/lib/libgomp - fix the sources list.
details: https://anonhg.NetBSD.org/src/rev/17a2fa35582f
branches: trunk
changeset: 448453:17a2fa35582f
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Feb 03 12:11:11 2019 +0000
description:
- fix the sources list.
- since a few functions disappear, call this libgomp.so.2 now.
diffstat:
external/gpl3/gcc/lib/libgomp/Makefile | 55 +++++++--------------------------
1 files changed, 12 insertions(+), 43 deletions(-)
diffs (84 lines):
diff -r 25c6788cf456 -r 17a2fa35582f external/gpl3/gcc/lib/libgomp/Makefile
--- a/external/gpl3/gcc/lib/libgomp/Makefile Sun Feb 03 12:03:22 2019 +0000
+++ b/external/gpl3/gcc/lib/libgomp/Makefile Sun Feb 03 12:11:11 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2019/01/22 23:55:54 mrg Exp $
+# $NetBSD: Makefile,v 1.22 2019/02/03 12:11:11 mrg Exp $
# build GCC's libgomp, so that -fopenmp works.
@@ -12,43 +12,14 @@
DIST= ${GCCDIST}
LIB= gomp
+# XXX mknative-gcc should pull out libgomp_la_SOURCES
SRCS= \
- alloc.c \
- barrier.c \
- critical.c \
- env.c \
- error.c \
- iter.c \
- iter_ull.c \
- loop.c \
- loop_ull.c \
- ordered.c \
- parallel.c \
- sections.c \
- single.c \
- task.c \
- team.c \
- work.c \
- lock.c \
- mutex.c \
- proc.c \
- sem.c \
- bar.c \
- ptrlock.c \
- time.c \
- fortran.c \
- affinity.c \
- target.c \
- splay-tree.c \
- libgomp-plugin.c \
- oacc-parallel.c \
- oacc-host.c \
- oacc-init.c \
- oacc-mem.c \
- oacc-async.c \
- oacc-plugin.c \
- oacc-cuda.c \
- priority_queue.c
+ alloc.c atomic.c barrier.c critical.c env.c error.c \
+ icv.c icv-device.c iter.c iter_ull.c loop.c loop_ull.c ordered.c \
+ parallel.c sections.c single.c task.c team.c work.c lock.c mutex.c \
+ proc.c sem.c bar.c ptrlock.c time.c fortran.c affinity.c target.c \
+ splay-tree.c libgomp-plugin.c oacc-parallel.c oacc-host.c oacc-init.c \
+ oacc-mem.c oacc-async.c oacc-plugin.c oacc-cuda.c priority_queue.c
GOMP_MACHINE_ARCH?= ${MACHINE_ARCH:S/earmv5/earm/}
@@ -65,11 +36,8 @@
CWARNFLAGS.clang+= -Wno-conversion
-# libgomp is 1.0 is in GCC 4.5, and 1.1 in 4.8 since it added more symbols
-# XXXGCC5 -- marking 1.2 for GCC 5.3 for now
-# XXXGCC6 -- marking 1.3 for GCC 6 for now
-SHLIB_MAJOR= 1
-SHLIB_MINOR= 3
+SHLIB_MAJOR= 2
+SHLIB_MINOR= 0
LDFLAGS+= -Wl,--version-script,${DIST}/libgomp/libgomp.map
@@ -91,7 +59,8 @@
COPTS+= -Wno-stack-protector -Wno-missing-prototypes
COPTS.oacc-mem.c+= -Wno-pointer-arith
-COPTS.lock.c+= -Wno-error=incompatible-pointer-types
+COPTS.lock.c+= -Wno-error=incompatible-pointer-types
+COPTS.target.c+= -Wno-error=pointer-arith
.PATH: ${ARCHDIR} ${DIST}/libgomp ${DIST}/libgomp/config/posix
Home |
Main Index |
Thread Index |
Old Index