mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Revert "[CI] Fix docker builds failing due to cmake update by setting CMAKE_POLICY_VERSION_MINIMUM (#150220)"
This reverts commit 87549a65c9.
Reverted https://github.com/pytorch/pytorch/pull/150220 on behalf of https://github.com/clee2000 due to doesn't solve the problem since the installed cmake 4 stays on the system, resulting in failed pytorch builds later ([comment](https://github.com/pytorch/pytorch/pull/150220#issuecomment-2762623078))
This commit is contained in:
parent
4271ebdbdc
commit
7ac0658757
|
|
@ -37,8 +37,7 @@ install_conda_dependencies() {
|
|||
|
||||
install_pip_dependencies() {
|
||||
pushd executorch
|
||||
# Remove CMAKE_POLICY_VERSION_MINIMUM when cmake 4.0.0 is more supported
|
||||
as_jenkins CMAKE_POLICY_VERSION_MINIMUM=3.5 bash install_executorch.sh
|
||||
as_jenkins bash install_executorch.sh
|
||||
|
||||
# A workaround, ExecuTorch has moved to numpy 2.0 which is not compatible with the current
|
||||
# numba and scipy version used in PyTorch CI
|
||||
|
|
|
|||
|
|
@ -19,9 +19,6 @@ fi
|
|||
|
||||
conda_install numpy scipy imageio cmake ninja
|
||||
|
||||
# Remove this when cmake 4.0.0 is more supported
|
||||
export CMAKE_POLICY_VERSION_MINIMUM=3.5
|
||||
|
||||
git clone --depth 1 --branch release/16.x --recursive https://github.com/llvm/llvm-project.git
|
||||
cmake -DCMAKE_BUILD_TYPE=Release \
|
||||
-DLLVM_ENABLE_PROJECTS="clang" \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user