File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,7 +57,10 @@ curl -fsSL -O "https://github.com/vllm-project/vllm/releases/download/v$VLLM_VER
5757tar xf " vllm-$VLLM_VERSION .tar.gz"
5858cd " vllm-$VLLM_VERSION "
5959uv pip install --python " $PYTHON_DIR /bin/python3" --system -r requirements/cpu.txt --index-strategy unsafe-best-match
60- uv pip install --python " $PYTHON_DIR /bin/python3" --system .
60+ # TODO: remove -Wno-parentheses once vllm-project/vllm#38801 is in a release and VLLM_VERSION is bumped past it.
61+ # Apple Clang 21 (Xcode 26+) promotes -Wparentheses to an error for chained comparisons like `0 < M <= 8` in
62+ # vllm's CPU attention headers. Clang 17 (Xcode 16.x, used in CI) only warns.
63+ CXXFLAGS=" -Wno-parentheses" uv pip install --python " $PYTHON_DIR /bin/python3" --system .
6164cd " $WORK_DIR "
6265rm -rf " vllm-$VLLM_VERSION " " vllm-$VLLM_VERSION .tar.gz"
6366
You can’t perform that action at this time.
0 commit comments