llvm.org GIT mirror llvm / ba80ee7
[omp] Add a configuration variable for the default OpenMP runtime. This will be used in my next commit to Clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238388 91177308-0d34-0410-b5e6-96231b3b80d8 Chandler Carruth 4 years ago
3 changed file(s) with 26 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
13361336 AC_DEFINE_UNQUOTED(DEFAULT_SYSROOT,"$withval",
13371337 [Default to all compiler invocations for --sysroot=.])
13381338
1339 AC_ARG_WITH(clang-default-openmp-runtime,
1340 AS_HELP_STRING([--with-clang-default-openmp-runtime],
1341 [The default OpenMP runtime for Clang.]),,
1342 withval="")
1343 AC_DEFINE_UNQUOTED(CLANG_DEFAULT_OPENMP_RUNTIME,"$withval",
1344 [Default OpenMP runtime used by -fopenmp.])
1345
13391346 dnl Allow linking of LLVM with GPLv3 binutils code.
13401347 AC_ARG_WITH(binutils-include,
13411348 AS_HELP_STRING([--with-binutils-include],
14941494 search for headers
14951495 --with-gcc-toolchain Directory where gcc is installed.
14961496 --with-default-sysroot Add --sysroot= to all compiler invocations.
1497 --with-clang-default-openmp-runtime
1498 The default OpenMP runtime for Clang.
14971499 --with-binutils-include Specify path to binutils/include/ containing
14981500 plugin-api.h file for gold plugin.
14991501 --with-bug-report-url Specify the URL where bug reports should be
59475949
59485950
59495951
5952 # Check whether --with-clang-default-openmp-runtime was given.
5953 if test "${with_clang_default_openmp_runtime+set}" = set; then
5954 withval=$with_clang_default_openmp_runtime;
5955 else
5956 withval=""
5957 fi
5958
5959
5960 cat >>confdefs.h <<_ACEOF
5961 #define CLANG_DEFAULT_OPENMP_RUNTIME "$withval"
5962 _ACEOF
5963
5964
5965
59505966 # Check whether --with-binutils-include was given.
59515967 if test "${with_binutils_include+set}" = set; then
59525968 withval=$with_binutils_include;
44
55 /* Bug report URL. */
66 #undef BUG_REPORT_URL
7
8 /* Default OpenMP runtime used by -fopenmp. */
9 #undef CLANG_DEFAULT_OPENMP_RUNTIME
710
811 /* Define if we have libxml2 */
912 #undef CLANG_HAVE_LIBXML