Revert "Make configure faster with local WebKit build"

This reverts commit 1694ca0e89.
This commit is contained in:
Dylan Conway
2024-09-10 19:56:37 -07:00
parent 03d7d9aadd
commit a832954c94

View File

@@ -442,14 +442,9 @@ WEBKIT_ADD_SOURCE_DEPENDENCIES(
# --- Zig ---
# Does not use GLOB_RECURSE because it makes configure really slow with WebKit
# We might want to consider moving our dependencies out of src/ because of this.
file(GLOB BUN_ZIG_SOURCES ${CONFIGURE_DEPENDS}
file(GLOB_RECURSE BUN_ZIG_SOURCES ${CONFIGURE_DEPENDS}
${CWD}/*.zig
${CWD}/src/*/*.zig
${CWD}/src/*/*/*.zig
${CWD}/src/*/*/*/*.zig
${CWD}/src/*/*/*/*/*.zig
${CWD}/src/*.zig
)
list(APPEND BUN_ZIG_SOURCES
@@ -468,6 +463,8 @@ set(BUN_ZIG_OUTPUT ${BUILD_PATH}/bun-zig.o)
register_command(
TARGET
bun-zig
GROUP
console
COMMENT
"Building src/*.zig for ${ZIG_TARGET}"
COMMAND
@@ -493,7 +490,6 @@ register_command(
clone-zig
)
set_property(TARGET bun-zig PROPERTY JOB_POOL compile_pool)
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "build.zig")
# --- C/C++ Sources ---