fix(build): install gcc + ninja-build before compilation
Docker build fails if base image lacks gcc (needed for ex_registry.c) and ninja (needed for torch.utils.cpp_extension). Install both in a dedicated RUN layer before build.sh and patch_ops.sh.
This commit is contained in:
@@ -7,6 +7,10 @@ COPY ./qwen3_6_scripts /workspace/qwen3_6_scripts
|
||||
COPY ./computility-run.yaml /workspace/computility-run.yaml
|
||||
COPY ./ex_engine /workspace/ex_engine
|
||||
|
||||
RUN apt-get update -qq && \
|
||||
apt-get install -y -qq gcc ninja-build && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN chmod +x /workspace/ex_engine/build.sh && \
|
||||
bash /workspace/ex_engine/build.sh --corex
|
||||
|
||||
|
||||
Reference in New Issue
Block a user