From 5f245bfca8391c5b61b3d59798bc5819b42f6097 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Mon, 13 May 2019 22:30:53 +0000 Subject: [PATCH] [gn] Fix build llvm-svn: 360629 --- llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn | 1 + llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn | 1 + llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn | 2 ++ 3 files changed, 4 insertions(+) diff --git a/llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn index fc3b0b9..9d72b38 100644 --- a/llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn +++ b/llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn @@ -66,6 +66,7 @@ static_library("AST") { "InheritViz.cpp", "ItaniumCXXABI.cpp", "ItaniumMangle.cpp", + "JSONNodeDumper.cpp", "Mangle.cpp", "MicrosoftCXXABI.cpp", "MicrosoftMangle.cpp", diff --git a/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn index fed7232..c100abe 100644 --- a/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn +++ b/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn @@ -160,6 +160,7 @@ copy("Headers") { "openmp_wrappers/math.h", "openmp_wrappers/cmath", "openmp_wrappers/__clang_openmp_math.h", + "openmp_wrappers/__clang_openmp_math_declares.h", ] outputs = [ "$clang_resource_dir/include/{{source_target_relative}}", diff --git a/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn index 37898e2..d10afc3 100644 --- a/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn +++ b/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn @@ -34,6 +34,8 @@ write_cmake_config("lit_common_configured") { "LLVM_TOOLS_DIR=" + rebase_path("$root_build_dir/bin"), "LLVM_LIBRARY_OUTPUT_INTDIR=" + rebase_path("$root_build_dir/lib"), + "LLVM_LIBCXX_USED=0", + "GOLD_EXECUTABLE=ld", "COMPILER_RT_RESOLVED_TEST_COMPILER=" + rebase_path("$root_build_dir/bin/clang"), -- 2.7.4