[Midnightbsd-cvs] src [10904] trunk/gnu/lib/libgomp: update config

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Jun 14 09:25:16 EDT 2018


Revision: 10904
          http://svnweb.midnightbsd.org/src/?rev=10904
Author:   laffer1
Date:     2018-06-14 09:25:15 -0400 (Thu, 14 Jun 2018)
Log Message:
-----------
update config

Modified Paths:
--------------
    trunk/gnu/lib/libgomp/Makefile
    trunk/gnu/lib/libgomp/config.h

Modified: trunk/gnu/lib/libgomp/Makefile
===================================================================
--- trunk/gnu/lib/libgomp/Makefile	2018-06-14 13:24:56 UTC (rev 10903)
+++ trunk/gnu/lib/libgomp/Makefile	2018-06-14 13:25:15 UTC (rev 10904)
@@ -1,7 +1,7 @@
-# $MidnightBSD: src/gnu/lib/libgomp/Makefile,v 1.1 2009/05/22 00:27:57 laffer1 Exp $
-# $FreeBSD: src/gnu/lib/libgomp/Makefile,v 1.2 2007/05/31 13:21:30 kan Exp $
+# $MidnightBSD$
+# $FreeBSD: stable/10/gnu/lib/libgomp/Makefile 283010 2015-05-16 15:44:13Z pfg $
 
-GCCDIR=	${.CURDIR}/../../../contrib/gcc4
+GCCDIR=	${.CURDIR}/../../../contrib/gcc
 GCCLIB=	${.CURDIR}/../../../contrib/gcclibs
 SRCDIR=	${GCCLIB}/libgomp
 
@@ -13,7 +13,7 @@
 SRCS=	alloc.c barrier.c critical.c env.c \
 	error.c iter.c loop.c ordered.c parallel.c sections.c \
 	single.c team.c work.c lock.c mutex.c proc.c sem.c \
-	bar.c time.c fortran.c
+	bar.c time.c fortran.c affinity.c
 SRCS+=	gstdint.h libgomp_f.h omp.h omp_lib.h
 
 INCS+=	omp.h
@@ -24,7 +24,9 @@
 VERSION_MAP=	${SRCDIR}/libgomp.map
 
 # Target-specific OpenMP configuration
-.if ${MACHINE_CPUARCH} == i386
+.if ${MACHINE_CPUARCH} == arm || ${MACHINE_CPUARCH} == i386 || \
+    ${MACHINE_ARCH} == powerpc || \
+    (${MACHINE_CPUARCH} == mips &&  ${MACHINE_ARCH:Mmips64*} == "")
 OMP_LOCK_ALIGN	=	4
 OMP_LOCK_KIND=		4
 OMP_LOCK_SIZE=		4

Modified: trunk/gnu/lib/libgomp/config.h
===================================================================
--- trunk/gnu/lib/libgomp/config.h	2018-06-14 13:24:56 UTC (rev 10903)
+++ trunk/gnu/lib/libgomp/config.h	2018-06-14 13:25:15 UTC (rev 10904)
@@ -1,7 +1,7 @@
+/* $MidnightBSD$ */
 /* config.h.  Generated by configure.  */
 /* config.h.in.  Generated from configure.ac by autoheader.  */
-/* $FreeBSD: src/gnu/lib/libgomp/config.h,v 1.1 2007/05/19 04:25:55 kan Exp $ */
-/* $MidnightBSD: src/gnu/lib/libgomp/config.h,v 1.1 2009/05/22 00:27:57 laffer1 Exp $ */
+/* $FreeBSD: stable/10/gnu/lib/libgomp/config.h 283010 2015-05-16 15:44:13Z pfg $ */
 
 /* Define to 1 if the target supports __attribute__((alias(...))). */
 #define HAVE_ATTRIBUTE_ALIAS 1
@@ -27,6 +27,9 @@
 /* Define to 1 if you have the <memory.h> header file. */
 #define HAVE_MEMORY_H 1
 
+/* Define if pthread_{,attr_}{g,s}etaffinity_np is supported. */
+#undef HAVE_PTHREAD_AFFINITY_NP
+
 /* Define to 1 if you have the <semaphore.h> header file. */
 #define HAVE_SEMAPHORE_H 1
 
@@ -53,6 +56,9 @@
 /* Define to 1 if you have the <sys/stat.h> header file. */
 #define HAVE_SYS_STAT_H 1
 
+/* Define to 1 if you have the <sys/sysctl.h> header file. */
+#define HAVE_SYS_SYSCTL_H 1
+
 /* Define to 1 if you have the <sys/time.h> header file. */
 #define HAVE_SYS_TIME_H 1
 
@@ -60,7 +66,9 @@
 #define HAVE_SYS_TYPES_H 1
 
 /* Define to 1 if the target supports thread-local storage. */
+#if !defined(__mips__)
 #define HAVE_TLS 1
+#endif
 
 /* Define to 1 if you have the <unistd.h> header file. */
 #define HAVE_UNISTD_H 1



More information about the Midnightbsd-cvs mailing list