From 2ff0aa207fd55604604bb9eec33dada1a80842db Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sat, 3 Jun 2023 22:30:05 +0000 Subject: [PATCH] [CMake][Fuchsia] Add LLVM_ENABLE_HTTPLIB to Stage 2 build This patch sets the LLVM_ENABLE_HTTPLIB flag to ON in the stage 2 build similar to how many of the other dependency flags are already specified. This is necessary to configure the stage 2 build by itself, otherwise the CMake configuration crashes. This is currently causing the MLGO demo to fail since we're only using stage 2 to avoid having to build stage 1 to save some compile time. Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D152057 --- clang/cmake/caches/Fuchsia-stage2.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/cmake/caches/Fuchsia-stage2.cmake b/clang/cmake/caches/Fuchsia-stage2.cmake index 78c123f..b4bc8cb 100644 --- a/clang/cmake/caches/Fuchsia-stage2.cmake +++ b/clang/cmake/caches/Fuchsia-stage2.cmake @@ -11,6 +11,7 @@ set(LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx;libcxxabi;libunwind" CACHE STRING " set(LLVM_ENABLE_BACKTRACES OFF CACHE BOOL "") set(LLVM_ENABLE_DIA_SDK OFF CACHE BOOL "") +set(LLVM_ENABLE_HTTPLIB ON CACHE BOOL "") set(LLVM_ENABLE_LIBCXX ON CACHE BOOL "") set(LLVM_ENABLE_LIBEDIT OFF CACHE BOOL "") set(LLVM_ENABLE_LLD ON CACHE BOOL "") -- 2.7.4