Skip to content

Commit

Permalink
[gn] Fix build
Browse files Browse the repository at this point in the history
llvm-svn: 360629
  • Loading branch information
vitalybuka committed May 13, 2019
1 parent 3fdd2b1 commit 5f245bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ static_library("AST") {
"InheritViz.cpp",
"ItaniumCXXABI.cpp",
"ItaniumMangle.cpp",
"JSONNodeDumper.cpp",
"Mangle.cpp",
"MicrosoftCXXABI.cpp",
"MicrosoftMangle.cpp",
Expand Down
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down
2 changes: 2 additions & 0 deletions llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 5f245bf

Please sign in to comment.