summaryrefslogtreecommitdiffstats
path: root/clang/lib/Headers/openmp_wrappers/math.h
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-05-07 21:08:15 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-05-07 21:08:15 +0000
commitfe608c938cae0bc3422f2337774c01a2910f406c (patch)
tree0b651b2499d4abe2ff5e08e1ef6f2004c928ad6f /clang/lib/Headers/openmp_wrappers/math.h
parentb9c57683026e51f5b0a1f779c95895b16e8de04c (diff)
downloadbcm5719-llvm-fe608c938cae0bc3422f2337774c01a2910f406c.tar.gz
bcm5719-llvm-fe608c938cae0bc3422f2337774c01a2910f406c.zip
Revert "[OpenMP][Clang] Support for target math functions"
This commit appears to be breaking stage-2 builds on GreenDragon. The OpenMP wrappers for cmath and math.h are copied into the root of the resource directory and cause a cyclic dependency in module 'Darwin': Darwin -> std -> Darwin. This blows up when CMake is testing for modules support and breaks all stage 2 module builds, including the ThinLTO bot and all LLDB bots. CMake Error at cmake/modules/HandleLLVMOptions.cmake:497 (message): LLVM_ENABLE_MODULES is not supported by this compiler llvm-svn: 360192
Diffstat (limited to 'clang/lib/Headers/openmp_wrappers/math.h')
-rw-r--r--clang/lib/Headers/openmp_wrappers/math.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/clang/lib/Headers/openmp_wrappers/math.h b/clang/lib/Headers/openmp_wrappers/math.h
deleted file mode 100644
index d2786ecb242..00000000000
--- a/clang/lib/Headers/openmp_wrappers/math.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/*===------------- math.h - Alternative math.h header ----------------------===
- *
- * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
- * See https://llvm.org/LICENSE.txt for license information.
- * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
- *
- *===-----------------------------------------------------------------------===
- */
-
-#include <__clang_openmp_math.h>
-
-#ifndef __CLANG_NO_HOST_MATH__
-#include_next <math.h>
-#else
-#undef __CLANG_NO_HOST_MATH__
-#endif
-
OpenPOWER on IntegriCloud