[llvm] r360192 - Revert "[OpenMP][Clang] Support for target math functions"

Jonas Devlieghere via llvm-commits llvm-commits at lists.llvm.org
Tue May 7 14:08:15 PDT 2019


Author: jdevlieghere
Date: Tue May  7 14:08:15 2019
New Revision: 360192

URL: http://llvm.org/viewvc/llvm-project?rev=360192&view=rev
Log:
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

Modified:
    llvm/trunk/utils/gn/secondary/clang/lib/Headers/BUILD.gn

Modified: llvm/trunk/utils/gn/secondary/clang/lib/Headers/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang/lib/Headers/BUILD.gn?rev=360192&r1=360191&r2=360192&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang/lib/Headers/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/clang/lib/Headers/BUILD.gn Tue May  7 14:08:15 2019
@@ -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 = [




More information about the llvm-commits mailing list