diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2016-02-04 19:29:35 +0000 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2016-02-04 19:29:35 +0000 |
commit | fd74f90072f48a914df98ed46d0731c661149187 (patch) | |
tree | c40193e11209086be19f25181612054662f5e59f /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp | |
parent | 7823fd2535ba0864962ff9cfbddca31272de420c (diff) | |
download | bcm5719-llvm-fd74f90072f48a914df98ed46d0731c661149187.tar.gz bcm5719-llvm-fd74f90072f48a914df98ed46d0731c661149187.zip |
Add LIBOMP_ENABLE_SHARED option for CMake
When building executables for Cray supercomputers, statically-linked executables
are preferred. This patch makes it possible to build the OpenMP runtime as an
archive for building statically-linked executables. The patch adds the flag
LIBOMP_ENABLE_SHARED, which defaults to true. When true, a build of the OpenMP
runtime yields dynamic libraries. When false, a build of the OpenMP runtime
yields static libraries. There is no setting that allows both kinds of libraries
to be built.
Patch by John Mellor-Crummey
Differential Revision: http://reviews.llvm.org/D16525
llvm-svn: 259817
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions