From: Jonas Devlieghere Date: Tue, 7 May 2019 21:08:15 +0000 (+0000) Subject: Revert "[OpenMP][Clang] Support for target math functions" X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c663ff25de6222a8ff814d286fa16515ad3ac6fc;p=llvm 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360192 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/gn/secondary/clang/lib/Headers/BUILD.gn b/utils/gn/secondary/clang/lib/Headers/BUILD.gn index 75106a533da..5bc2961b5d3 100644 --- a/utils/gn/secondary/clang/lib/Headers/BUILD.gn +++ b/utils/gn/secondary/clang/lib/Headers/BUILD.gn @@ -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 = [