From f574c7e44ca19a6f744f79dd85465637eb658e5b Mon Sep 17 00:00:00 2001 From: pfg Date: Mon, 27 Apr 2015 21:27:51 +0000 Subject: libgomp: bring early CPU affinity support from FSF GCC-4_3 branch. This is not likely to make it into a release and is basically disabled but should still be useful for testing. Obtained from: GCC pre-4.3 (rev. 123494, 125542; LGPLv2.1+) --- gnu/lib/libgomp/Makefile | 2 +- gnu/lib/libgomp/config.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/lib/libgomp') 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..3a17657 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 -- cgit v1.1