disable cache

This commit is contained in:
mertalev
2026-01-28 09:27:28 -05:00
parent cbccbee29a
commit 85137f5887

View File

@@ -45,10 +45,8 @@ RUN git apply /tmp/*.patch
RUN /bin/sh ./dockerfiles/scripts/install_common_deps.sh
ENV PATH=/opt/rocm-venv/bin:/code/cmake-3.31.9-linux-x86_64/bin:${PATH}
ENV CCACHE_DIR="/ccache"
# Note: the `parallel` setting uses a substantial amount of RAM
RUN --mount=type=cache,target=/ccache,id=rocm-ccache \
./build.sh \
RUN ./build.sh \
--allow_running_as_root \
--config Release \
--build_wheel \
@@ -61,7 +59,6 @@ RUN --mount=type=cache,target=/ccache,id=rocm-ccache \
--skip_tests \
--use_rocm \
--rocm_home=/opt/rocm \
--use_cache \
--compile_no_warning_as_error
RUN mv /code/onnxruntime/build/Linux/Release/dist/*.whl /opt/