Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [OpenMP] Enable warning about "implicit fallthrough" | Jonas Hahnfeld | 2019-08-15 | 1 | -0/+1 |
| | | | | | | | | | Fix last warned location in ittnotify_static.cpp using the defined macro KMP_FALLTHROUGH(). Differential Revision: https://reviews.llvm.org/D65871 llvm-svn: 369003 | ||||
* | [OpenMP] Turn on -Wall compiler warnings by default | Jonas Hahnfeld | 2019-08-15 | 1 | -2/+17 |
| | | | | | | | | | | | | | | | | | | 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 | ||||
* | [cmake] Use -std=gnu++11 to fix alloca() on NetBSD | Michal Gorny | 2018-12-11 | 1 | -1/+4 |
| | | | | | | | | | | Prefer using '-std=gnu++11' over '-std=c++11' when available, as NetBSD exposes the correct alloca() implementation only with gnu* C/C++ standards. Differential Revision: https://reviews.llvm.org/D55477 llvm-svn: 348854 | ||||
* | [CMake] Refactor common settings and flags | Jonas Hahnfeld | 2017-11-29 | 1 | -0/+16 |
These are needed by both libraries, so we can do that in a common namespace and unify configuration parameters. Also make sure that the user isn't requesting libomptarget if the library cannot be built on the system. Issue an error in that case. Differential Revision: https://reviews.llvm.org/D40081 llvm-svn: 319342 |