summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2015-05-16 15:44:13 +0000
committerpfg <pfg@FreeBSD.org>2015-05-16 15:44:13 +0000
commitc5245aadbbe5796d58c966d6d6209a110f78dbe1 (patch)
treeb026710099072006d1fbb442261e609e70bf15ec /gnu
parent0f07927a1e80c78fdd924b93496d912f723740da (diff)
downloadFreeBSD-src-c5245aadbbe5796d58c966d6d6209a110f78dbe1.zip
FreeBSD-src-c5245aadbbe5796d58c966d6d6209a110f78dbe1.tar.gz
MFC r282115, r282152, r282201
MFV r282150 libgomp: Update to version 4.3.5. bring initial BSD support from upstream. This was not meant to be MFC'd at first but the original OMP support for FreeBSD was in very poor shape. The effect of this change should be minimal as all ports are already using the version of libgomp that comes with the gcc ports. The local libgomp is planned to be disabled for platforms that are not using older gcc by default so this version of libgomp will not be shipped in tier-1 platform releases. Discussed with: emaste
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libgomp/Makefile2
-rw-r--r--gnu/lib/libgomp/config.h6
2 files changed, 7 insertions, 1 deletions
diff --git a/gnu/lib/libgomp/Makefile b/gnu/lib/libgomp/Makefile
index 237c14a..d428bd3 100644
--- a/gnu/lib/libgomp/Makefile
+++ b/gnu/lib/libgomp/Makefile
@@ -12,7 +12,7 @@ SHLIB_MAJOR= 1
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
diff --git a/gnu/lib/libgomp/config.h b/gnu/lib/libgomp/config.h
index 6ef541b..547e692 100644
--- a/gnu/lib/libgomp/config.h
+++ b/gnu/lib/libgomp/config.h
@@ -26,6 +26,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
@@ -52,6 +55,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
OpenPOWER on IntegriCloud