]> granicus.if.org Git - llvm/commitdiff
Revert "[OpenMP][Clang] Support for target math functions"
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 7 May 2019 21:08:15 +0000 (21:08 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 7 May 2019 21:08:15 +0000 (21:08 +0000)
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360192 91177308-0d34-0410-b5e6-96231b3b80d8

utils/gn/secondary/clang/lib/Headers/BUILD.gn

index 75106a533da8dc751905ee2bf75f006fa2e3c4fb..5bc2961b5d3311aa9517f90fbdcfc82685810fde 100644 (file)
@@ -156,8 +156,6 @@ copy("Headers") {
     "cuda_wrappers/algorithm",
     "cuda_wrappers/complex",
     "cuda_wrappers/new",
-    "openmp_wrappers/__clang_openmp_math.h",
-    "openmp_wrappers/math.h",
     "ppc_wrappers/mmintrin.h",
   ]
   outputs = [