llvm-capstone/openmp/cmake
Jonas Hahnfeld dc23c832f4 [OpenMP] Turn on -Wall compiler warnings by default
Instead, maintain a list of disabled options to still build libomp and
libomptarget without warnings. This includes -Wno-error and -Wno-pedantic
to silence warnings that LLVM enables when building in-tree.

I tested the following compilers:
 * Clang 6.0, 7.0, 8.0
 * GCC 4.8.5 (CentOS 7), GCC 6, 7, 8, 9
 * Intel Compiler 16, 17, 18, 19

RFC thread on openmp-dev mailing list:
http://lists.llvm.org/pipermail/openmp-dev/2019-August/002668.html

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

llvm-svn: 368999
2019-08-15 13:11:50 +00:00
..
DetectTestCompiler Ensure correct pthread flags and libraries are used 2019-04-03 18:11:36 +00:00
config-ix.cmake [OpenMP] Turn on -Wall compiler warnings by default 2019-08-15 13:11:50 +00:00
HandleOpenMPOptions.cmake [OpenMP] Turn on -Wall compiler warnings by default 2019-08-15 13:11:50 +00:00
OpenMPTesting.cmake After rL357618, quote ${CMAKE_THREAD_LIBS_INIT} so CMake does not 2019-04-05 22:19:40 +00:00