[Openmp-commits] [PATCH] D20391: Allow unit testing on Windows

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Wed May 18 15:27:36 PDT 2016


jlpeyton created this revision.
jlpeyton added reviewers: jcownie, tlwilmar.
jlpeyton added a subscriber: openmp-commits.
jlpeyton set the repository for this revision to rL LLVM.

These changes allows testing on Windows with clang.exe.  There are two main changes:

1) only include -lm when it actually exists on the system
2) create basic versions of pthread_create() and pthread_join() for windows.  They are not POSIX compliant by any stretch but will allow any existing (and future) tests to use pthread_create() and pthread_join() for testing interactions of libomp with os threads.

Repository:
  rL LLVM

http://reviews.llvm.org/D20391

Files:
  runtime/src/CMakeLists.txt
  runtime/test/CMakeLists.txt
  runtime/test/lit.cfg
  runtime/test/lit.site.cfg.in
  runtime/test/misc_bugs/omp_foreign_thread_team_reuse.c
  runtime/test/omp_testsuite.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20391.57685.patch
Type: text/x-patch
Size: 5430 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20160518/42d0130e/attachment.bin>


More information about the Openmp-commits mailing list