Go to file
Jonathan Peyton 2e0133526e Large Refactor of CMake build system
This commit improves numerous functionalities of the OpenMP CMake build 
system to be more conducive with LLVM's build system and build philosophies.
The CMake build system, as it was before this commit, was not up to LLVM's 
standards and did not implement the configuration stage like most CMake based
build systems offer (check for compiler flags, libraries, etc.) In order to
improve it dramatically in a short period of time, a large refactoring had 
to be done.
The main changes done with this commit are as follows:

* Compiler flag checks - The flags are no longer grabbed from compiler specific
  directories.  They are checked for availability in config-ix.cmake and added
  accordingly inside LibompHandleFlags.cmake.
* Feature checks were added in config-ix.cmake.  For example, the standard CMake
  module FindThreads is probed for the threading model to use inside the OpenMP
  library.
* OS detection - There is no longer a LIBOMP_OS variable, OS-specifc build logic
  is wrapped around the WIN32 and APPLE macros with !(WIN32 OR APPLE) meaning 
  a Unix flavor of some sort.
* Got rid of vestigial functions/macros/variables
* Added new libomp_append() function which is used everywhere to conditionally
  or undconditionally append to a list
* All targets have the libomp prefix so as not to interfere with any other
  project
* LibompCheckLinkerFlag.cmake module was added which checks for linker flags
  specifically for building shared libraries.
* LibompCheckFortranFlag.cmake module was added which checks for fortran flag
  availability.
* Removed most of the cruft from the translation between the perl+Makefile based
  build system and this one.  The remaining components that they share are
  perl scripts which I'm in the process of removing.

There is still more left to do.  The perl scripts still need to be removed, and
a config.h.in file (or similarly named) needs to be added with #cmakedefine lines
in it.  But this is a much better first step than the previous system.

Differential Revision: http://reviews.llvm.org/D10656

llvm-svn: 242298
2015-07-15 16:05:30 +00:00
clang [PPC64LE] Fix vec_sld semantics for little endian 2015-07-15 15:45:53 +00:00
clang-tools-extra docs/conf.py: bump version to 3.8 2015-07-14 23:37:08 +00:00
compiler-rt CFI: Add a default blacklist. 2015-07-15 12:16:25 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc R600: Implement accurate double precision sqrt v2 2015-07-10 13:37:08 +00:00
libcxx Remove non-ascii characters 2015-07-14 20:45:48 +00:00
libcxxabi Remove include directive for the unused libunwind_ext.h. 2015-07-12 14:47:53 +00:00
libunwind Fix unw_getcontext() return value on AArch64. 2015-06-25 15:12:46 +00:00
lld COFF: Fix base relocations for __imp_ symbols on x86. 2015-07-15 00:25:38 +00:00
lldb Fix another little nit with detach and keep stopped, you have to check 2015-07-15 00:59:25 +00:00
llgo [llgo] update libgo-llgo.so version to match libtool_VERSION 2015-07-15 13:17:04 +00:00
llvm [PPC64LE] Fix vec_sld semantics for little endian 2015-07-15 15:45:30 +00:00
openmp Large Refactor of CMake build system 2015-07-15 16:05:30 +00:00
polly Mark a couple of items as completed 2015-07-14 10:52:58 +00:00