Go to file
Dimitry Andric 70ba8c506c Fix linking of omp_foreign_thread_team_reuse test on FreeBSD
Summary:
On FreeBSD, linking the misc_bugs/omp_foreign_thread_team_reuse.c test
case fails with:

   /usr/local/bin/ld: /tmp/omp_foreign_thread_team_reuse-c5e71b.o: undefined reference to symbol 'pthread_create@@FBSD_1.0'

This is because the program is linked without `-lpthread`.  Since the
%libomp-compile-and-run macro does not allow that option to be added to
the compile command line, split it up and add the required `-lpthread`
between %libomp-compile and %libomp-run.

Reviewers: jlpeyton, hfinkel, Hahnfeld

Subscribers: Hahnfeld, emaste, openmp-commits

Differential Revision: https://reviews.llvm.org/D23084

llvm-svn: 278036
2016-08-08 18:34:05 +00:00
clang [analyzer] Change -analyze-function to accept qualified names. 2016-08-08 16:01:02 +00:00
clang-tools-extra [clang-tidy] enhance modernize-use-bool-literals to check ternary operator 2016-08-08 17:11:56 +00:00
compiler-rt [esan] Add iterator to esan's generic hashtable 2016-08-08 17:37:19 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Make min follow the OCL 1.0 specs 2016-07-25 22:36:22 +00:00
libcxx CMakeLists.txt cleanups: synchronize version with rest of LLVM, consistent spacing. 2016-08-08 18:01:50 +00:00
libcxxabi CMakeLists.txt cleanups: synchronize version with rest of LLVM, consistent spacing. 2016-08-08 17:59:02 +00:00
libunwind CMakeLists.txt cleanups: synchronize version and CMake minimum required version with rest of LLVM, consistent spacing. 2016-08-08 17:56:28 +00:00
lld [ELF] - Linkerscript: do not define _edata,_end,_etext if SECTIONS is used. 2016-08-08 08:42:48 +00:00
lldb Fix uninitialized field warnings in GDBRemoteRegisterContext 2016-08-08 13:38:33 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm [MemorySSA] Fix windows build breakage caused by r278028 2016-08-08 18:27:22 +00:00
openmp Fix linking of omp_foreign_thread_team_reuse test on FreeBSD 2016-08-08 18:34:05 +00:00
parallel-libs [StreamExecutor] Add DeviceMemory and kernel arg packing 2016-08-08 16:45:19 +00:00
polly [GPGPU] Create code to verify run-time conditions 2016-08-08 17:35:55 +00:00