diff options
author | pfg <pfg@FreeBSD.org> | 2015-04-27 21:27:51 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2015-04-27 21:27:51 +0000 |
commit | f574c7e44ca19a6f744f79dd85465637eb658e5b (patch) | |
tree | 6f24017f5767eab3f0fdabaefd5ebf490a068f10 /gnu/lib/libgomp | |
parent | 028eab648a4af0198c863cf0b5a9426dcf8066fe (diff) | |
download | FreeBSD-src-f574c7e44ca19a6f744f79dd85465637eb658e5b.zip FreeBSD-src-f574c7e44ca19a6f744f79dd85465637eb658e5b.tar.gz |
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+)
Diffstat (limited to 'gnu/lib/libgomp')
-rw-r--r-- | gnu/lib/libgomp/Makefile | 2 | ||||
-rw-r--r-- | gnu/lib/libgomp/config.h | 3 |
2 files changed, 4 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..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 <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 |