diff options
| author | David Carlier <devnexen@gmail.com> | 2019-12-06 15:47:50 +0000 |
|---|---|---|
| committer | David Carlier <devnexen@gmail.com> | 2019-12-06 15:47:50 +0000 |
| commit | 27535a144910149262f9c2dffb6a24c0b7166f15 (patch) | |
| tree | 6d1ece22dc6a43a3da5b7cb9fc41fb2b7db7ce32 /openmp | |
| parent | 0dd62c5c2ec854997ca45f810175c5d1426b474e (diff) | |
| download | bcm5719-llvm-27535a144910149262f9c2dffb6a24c0b7166f15.tar.gz bcm5719-llvm-27535a144910149262f9c2dffb6a24c0b7166f15.zip | |
[OpenMP] Fix linkage issue on FreeBSD
needs kmp_set_thread_affinity_mask_initial implementation.
Diffstat (limited to 'openmp')
| -rw-r--r-- | openmp/runtime/src/kmp_affinity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/src/kmp_affinity.cpp b/openmp/runtime/src/kmp_affinity.cpp index 4c7ed318119..349a6c627b0 100644 --- a/openmp/runtime/src/kmp_affinity.cpp +++ b/openmp/runtime/src/kmp_affinity.cpp @@ -5300,7 +5300,7 @@ void __kmp_balanced_affinity(kmp_info_t *th, int nthreads) { } } -#if KMP_OS_LINUX +#if KMP_OS_LINUX || KMP_OS_FREEBSD // We don't need this entry for Windows because // there is GetProcessAffinityMask() api // |

