diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2015-05-28 01:47:22 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2015-05-28 01:47:22 +0000 |
commit | cc83ce4894204c32e7373a78af15394c3ae5bfa8 (patch) | |
tree | 37775399b5ad85faae063b88730048ed0047fec0 /llvm/configure | |
parent | 2e81434552c958e69f2bb8f8c488e09fb14bc1bf (diff) | |
download | bcm5719-llvm-cc83ce4894204c32e7373a78af15394c3ae5bfa8.tar.gz bcm5719-llvm-cc83ce4894204c32e7373a78af15394c3ae5bfa8.zip |
[omp] Add a configuration variable for the default OpenMP runtime.
This will be used in my next commit to Clang.
llvm-svn: 238388
Diffstat (limited to 'llvm/configure')
-rwxr-xr-x | llvm/configure | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/llvm/configure b/llvm/configure index 37f3d7d95ae..b3ccccbb881 100755 --- a/llvm/configure +++ b/llvm/configure @@ -1495,6 +1495,8 @@ Optional Packages: search for headers --with-gcc-toolchain Directory where gcc is installed. --with-default-sysroot Add --sysroot=<path> to all compiler invocations. + --with-clang-default-openmp-runtime + The default OpenMP runtime for Clang. --with-binutils-include Specify path to binutils/include/ containing plugin-api.h file for gold plugin. --with-bug-report-url Specify the URL where bug reports should be @@ -5948,6 +5950,20 @@ _ACEOF +# Check whether --with-clang-default-openmp-runtime was given. +if test "${with_clang_default_openmp_runtime+set}" = set; then + withval=$with_clang_default_openmp_runtime; +else + withval="" +fi + + +cat >>confdefs.h <<_ACEOF +#define CLANG_DEFAULT_OPENMP_RUNTIME "$withval" +_ACEOF + + + # Check whether --with-binutils-include was given. if test "${with_binutils_include+set}" = set; then withval=$with_binutils_include; |