mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Fix zig build again (#14165)
This commit is contained in:
@@ -129,13 +129,14 @@ else()
|
||||
set(WARNING WARNING)
|
||||
endif()
|
||||
|
||||
if(CI)
|
||||
set(DEFAULT_VENDOR_PATH ${CACHE_PATH}/vendor)
|
||||
else()
|
||||
set(DEFAULT_VENDOR_PATH ${CWD}/vendor)
|
||||
endif()
|
||||
# TODO: This causes flaky zig builds in CI, so temporarily disable it.
|
||||
# if(CI)
|
||||
# set(DEFAULT_VENDOR_PATH ${CACHE_PATH}/vendor)
|
||||
# else()
|
||||
# set(DEFAULT_VENDOR_PATH ${CWD}/vendor)
|
||||
# endif()
|
||||
|
||||
optionx(VENDOR_PATH FILEPATH "The path to the vendor directory" DEFAULT ${DEFAULT_VENDOR_PATH})
|
||||
optionx(VENDOR_PATH FILEPATH "The path to the vendor directory" DEFAULT ${CWD}/vendor)
|
||||
optionx(TMP_PATH FILEPATH "The path to the temporary directory" DEFAULT ${BUILD_PATH}/tmp)
|
||||
|
||||
optionx(FRESH BOOL "Set when --fresh is used" DEFAULT OFF)
|
||||
|
||||
Reference in New Issue
Block a user