ninja: Entering directory `out/gn' [0/1] Regenerating ninja files [1/3019] COPY ../../libcxxabi/include/__cxxabi_config.h include/c++/v1/__cxxabi_config.h [2/3019] COPY ../../libcxxabi/include/cxxabi.h include/c++/v1/cxxabi.h [3/3019] ACTION //bolt/test:lit_site_cfg(//llvm/utils/gn/build/toolchain:unix) FAILED: gen/bolt/test/lit.site.cfg.py python3 ../../llvm/utils/gn/build/write_cmake_config.py -o gen/bolt/test/lit.site.cfg.py ../../bolt/test/lit.site.cfg.py.in BOLT_BINARY_DIR=/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/bolt BOLT_SOURCE_DIR=/usr/local/google/home/thakis/src/llvm-project/bolt LIT_SITE_CFG_IN_HEADER=\#\#\ Autogenerated\ from\ //bolt/test/lit.site.cfg.py.in,\ do\ not\ edit LLVM_BINARY_DIR=//out/gn/obj/llvm LLVM_LIBS_DIR= LLVM_LIT_TOOLS_DIR= LLVM_SOURCE_DIR=/usr/local/google/home/thakis/src/llvm-project/llvm LLVM_TOOLS_DIR=/usr/local/google/home/thakis/src/llvm-project/out/gn/bin LLVM_TARGET_TRIPLE=x86_64-unknown-linux-gnu BOLT_CLANG_EXE=/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang BOLT_LLD_EXE=/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/ld.lld BOLT_ENABLE_RUNTIME=0 BOLT_TARGETS_TO_BUILD=AArch64\ X86 GNU_LD_EXECUTABLE= LIBBOLT_RT_HUGIFY= LIBBOLT_RT_INSTR= LLVM_HOST_TRIPLE=x86_64-unknown-linux-gnu LLVM_USE_SANITIZER= Python3_EXECUTABLE=python3 SHLIBDIR=../../../lib HOST_ARCH=x86_64 Traceback (most recent call last): File "/usr/local/google/home/thakis/src/llvm-project/out/gn/../../llvm/utils/gn/build/write_cmake_config.py", line 126, in sys.exit(main()) ~~~~^^ File "/usr/local/google/home/thakis/src/llvm-project/out/gn/../../llvm/utils/gn/build/write_cmake_config.py", line 76, in main in_line = var_re.sub(repl, in_line) File "/usr/local/google/home/thakis/src/llvm-project/out/gn/../../llvm/utils/gn/build/write_cmake_config.py", line 74, in repl return values[key] ~~~~~~^^^^^ KeyError: 'LLVM_ENABLE_ZLIB' [4/3019] LINK obj/clang/unittests/offload-arch/OffloadArchTests [5/3019] ACTION //libcxx/include:copy_headers(//llvm/utils/gn/build/toolchain:unix) [6/3019] CXX obj/llvm/lib/Target/NVPTX/LLVMNVPTXCodeGen.NVPTXAssignValidGlobalNames.o [7/3019] CXX obj/llvm/tools/verify-uselistorder/verify-uselistorder.verify-uselistorder.o [8/3019] CXX obj/lld/Common/Common.ErrorHandler.o [9/3019] CXX obj/llvm/unittests/CodeGen/CodeGenTests.DroppedVariableStatsMIRTest.o [10/3019] CXX obj/clang/unittests/Tooling/Syntax/SyntaxTests.MutationsTest.o [11/3019] CXX obj/clang/unittests/Tooling/Syntax/SyntaxTests.SynthesisTest.o [12/3019] CXX obj/llvm/unittests/Transforms/IPO/IPOTests.AttributorTest.o [13/3019] CXX obj/clang/unittests/Tooling/Syntax/SyntaxTests.TreeTestBase.o [14/3019] CXX obj/clang/unittests/Tooling/Syntax/SyntaxTests.TreeTest.o [15/3019] CXX obj/lld/wasm/wasm.InputChunks.o [16/3019] CXX obj/clang/unittests/Tooling/ToolingTests.StandardLibraryTest.o [17/3019] CXX obj/lld/wasm/wasm.LTO.o [18/3019] CXX obj/lld/COFF/COFF.LTO.o [19/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.CXXMethodDecl.o [20/3019] CXX obj/clang/unittests/Tooling/ToolingTests.ReplacementsYamlTest.o [21/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.InitListExprPreOrderNoQueue.o [22/3019] CXX obj/lld/ELF/ELF.LTO.o [23/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.TemplateArgumentLocTraverser.o [24/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.ImplicitCtorInitializer.o [25/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.ParenExpr.o [26/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.DeductionGuide.o [27/3019] CXX obj/lld/COFF/COFF.SymbolTable.o [28/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.ConstructExpr.o [29/3019] CXX obj/lld/wasm/wasm.InputFiles.o [30/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.BitfieldInitializer.o [31/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.IntegerLiteral.o [32/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.MemberPointerTypeLoc.o [33/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.Concept.o [34/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.InitListExprPreOrder.o [35/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.Class.o [36/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.ImplicitCtor.o [37/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.CXXOperatorCallExprTraverser.o [38/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.CXXMemberCall.o [39/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.TraversalScope.o [40/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.LambdaDefaultCapture.o [41/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.DeclRefExpr.o [42/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.CXXBoolLiteralExpr.o [43/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.LambdaTemplateParams.o [44/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.NestedNameSpecifiers.o [45/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.LambdaExpr.o [46/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.OffsetOfExpr.o [47/3019] CXX obj/clang/unittests/Tooling/ToolingTests.RefactoringActionRulesTest.o [48/3019] CXX obj/llvm/lib/Target/NVPTX/LLVMNVPTXCodeGen.NVPTXAsmPrinter.o [49/3019] CXX obj/lld/COFF/COFF.InputFiles.o [50/3019] CXX obj/lld/COFF/COFF.Driver.o [51/3019] CXX obj/clang/unittests/Tooling/ToolingTests.ToolingTest.o [52/3019] CXX obj/lldb/source/Plugins/ExpressionParser/Clang/Clang.ClangASTSource.o [53/3019] CXX obj/clang/unittests/Tooling/ToolingTests.RefactoringCallbacksTest.o [54/3019] CXX obj/clang/unittests/Tooling/ToolingTests.SourceCodeBuildersTest.o [55/3019] CXX obj/clang/unittests/Tooling/ToolingTests.RefactoringTest.o [56/3019] CXX obj/clang/unittests/Tooling/Syntax/SyntaxTests.TokensTest.o [57/3019] CXX obj/clang/unittests/Tooling/ToolingTests.SourceCodeTest.o [58/3019] CXX obj/lld/ELF/ELF.InputFiles.o [59/3019] CXX obj/clang/unittests/Tooling/ToolingTests.StencilTest.o [60/3019] CXX obj/lld/ELF/ELF.Driver.o [61/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.InitListExprPostOrder.o [62/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.InitListExprPostOrderNoQueue.o [63/3019] CXX obj/clang/unittests/Tooling/ToolingTests.TransformerTest.o [64/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.CallbacksCompoundAssignOperator.o [65/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.CallbacksUnaryOperator.o [66/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.CallbacksBinaryOperator.o [67/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.CallbacksCallExpr.o [68/3019] CXX obj/clang/unittests/Tooling/RecursiveASTVisitorTests/ToolingTests.CallbacksLeaf.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.