fix(build): patch_ops.sh去掉set -o pipefail——与26e6cb4(能得分版本)保持一致
26e6cb40的patch_ops.sh没有任何set命令。 pipefail会让管道中任何命令失败都传播,可能在竞赛平台Docker build环境中 触发意外的非零退出码。
This commit is contained in:
@@ -28,10 +28,9 @@
|
||||
# --max-seq-len-to-capture 32768 --enable-auto-tool-choice \
|
||||
# --tool-call-parser qwen3_coder --reasoning-parser qwen3
|
||||
|
||||
# NOTE: intentionally NO set -e — individual patch failures must NOT abort
|
||||
# NOTE: intentionally NO set -e or set -o pipefail — individual patch failures must NOT abort
|
||||
# the entire build. Each step logs its own errors, and non-critical patches
|
||||
# (xformers, diagnostics) may legitimately fail if the base image differs.
|
||||
set -o pipefail
|
||||
|
||||
# Always cd to script directory so relative paths (./qwen3_5.py, ./vendor_overrides, etc) work
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
Reference in New Issue
Block a user