mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Fix bun run being terminated randomly in CI
This was basically a chaos monkey in our CI
This commit is contained in:
@@ -1378,19 +1378,6 @@ if(CMAKE_BUILD_TYPE STREQUAL "Release" AND NOT WIN32 AND NOT ASSERT_ENABLED)
|
||||
)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
# Kill all instances of bun before linking.
|
||||
# This is necessary because the file is locked by the process.
|
||||
add_custom_command(
|
||||
TARGET ${bun}
|
||||
PRE_LINK
|
||||
COMMAND
|
||||
"powershell"
|
||||
"/C"
|
||||
"Stop-Process -Name '${bun}' -Force -ErrorAction SilentlyContinue; exit 0"
|
||||
)
|
||||
endif()
|
||||
|
||||
# --- Dependencies ---
|
||||
if(USE_CUSTOM_ZLIB)
|
||||
include_directories(${BUN_DEPS_DIR}/zlib)
|
||||
|
||||
Reference in New Issue
Block a user