[Openmp-commits] [PATCH] D42427: Fix broken OpenMP runtime test cases for Windows
Jonas Hahnfeld via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jan 23 09:13:38 PST 2018
Hahnfeld added a comment.
https://github.com/llvm-mirror/openmp/blob/master/runtime/cmake/config-ix.cmake#L131
# Checking Threading requirements
find_package(Threads REQUIRED)
if(WIN32)
if(NOT CMAKE_USE_WIN32_THREADS_INIT)
libomp_error_say("Need Win32 thread interface on Windows.")
endif()
else()
if(NOT CMAKE_USE_PTHREADS_INIT)
libomp_error_say("Need pthread interface on Unix-like systems.")
endif()
endif()
So we can assume to have pthreads on all systems except Windows.
https://reviews.llvm.org/D42427
More information about the Openmp-commits
mailing list