llvm-project/openmp/runtime/test
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
..
api Remove trailing whitespace from tests 2016-05-17 21:08:52 +00:00
atomic Remove trailing whitespace from tests 2016-05-17 21:08:52 +00:00
barrier omp_barrier.c test fixed in order to reliably and faster run on any number of processors 2016-01-25 16:52:10 +00:00
critical
env Offer API for setting number of loop dispatch buffers 2016-05-31 19:01:15 +00:00
flush
lock Fix bugs in TAS and futex lock 2016-06-28 19:37:24 +00:00
master Remove trailing whitespace from tests 2016-05-17 21:08:52 +00:00
misc_bugs Fix linking of omp_foreign_thread_team_reuse test on FreeBSD 2016-08-08 18:34:05 +00:00
ompt [OMPT] Fix parallel_id and task_id in loop_end with schedule static 2016-03-24 12:52:20 +00:00
parallel Remove trailing whitespace from tests 2016-05-17 21:08:52 +00:00
tasking kmp_gsupport: Fix library initialization with taskgroup 2016-08-08 13:23:08 +00:00
threadprivate Remove trailing whitespace from tests 2016-05-17 21:08:52 +00:00
worksharing Fix the nowait tests for omp for and omp single 2016-07-06 17:26:12 +00:00
CMakeLists.txt Allow unit testing on Windows 2016-05-23 17:50:32 +00:00
lit.cfg Revert accidental commit to lit.cfg 2016-06-09 18:29:36 +00:00
lit.site.cfg.in Allow unit testing on Windows 2016-05-23 17:50:32 +00:00
omp_my_sleep.h
omp_testsuite.h Allow unit testing on Windows 2016-05-23 17:50:32 +00:00