[CMake][Fuchsia] Add LLVM_ENABLE_HTTPLIB to Stage 2 build
authorAiden Grossman <agrossman154@yahoo.com>
Sat, 3 Jun 2023 22:30:05 +0000 (22:30 +0000)
committerAiden Grossman <agrossman154@yahoo.com>
Sat, 3 Jun 2023 22:30:19 +0000 (22:30 +0000)
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

index 78c123f..b4bc8cb 100644 (file)
@@ -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 "")