mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Revert "Make configure faster with local WebKit build"
This reverts commit 1694ca0e89.
This commit is contained in:
@@ -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 ---
|
||||
|
||||
Reference in New Issue
Block a user