From c5245aadbbe5796d58c966d6d6209a110f78dbe1 Mon Sep 17 00:00:00 2001 From: pfg Date: Sat, 16 May 2015 15:44:13 +0000 Subject: 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 --- gnu/lib/libgomp/Makefile | 2 +- gnu/lib/libgomp/config.h | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu') 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 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 header file. */ #define HAVE_SEMAPHORE_H 1 @@ -52,6 +55,9 @@ /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SYSCTL_H 1 + /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 -- cgit v1.1