File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 5151 if : runner.os != 'Linux'
5252 run : |
5353 pixi install -e default
54- echo "CMAKE_PREFIX_PATH=$PWD/.pixi/envs/default" >> $GITHUB_ENV
54+ # Convert path to native format for Windows
55+ if [ "$RUNNER_OS" == "Windows" ]; then
56+ CMAKE_PREFIX_PATH=$(cygpath -w "$PWD/.pixi/envs/default")
57+ else
58+ CMAKE_PREFIX_PATH="$PWD/.pixi/envs/default"
59+ fi
60+ echo "CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH" >> $GITHUB_ENV
5561 echo "CONDA_PREFIX=$PWD/.pixi/envs/default" >> $GITHUB_ENV
62+ echo "Debug: Set CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH"
5663 shell : bash
5764
5865 - name : Build wheels
Original file line number Diff line number Diff line change @@ -278,6 +278,8 @@ environment = { MOMENTUM_BUILD_WITH_FBXSDK = "OFF" }
278278build-frontend = "pip; args: --no-build-isolation"
279279# Install build dependencies before building (since we disabled build isolation)
280280before-build = """
281+ echo Debug: CMAKE_PREFIX_PATH=%CMAKE_PREFIX_PATH%
282+ dir %CMAKE_PREFIX_PATH%\\Library\\lib\\cmake\\Ceres 2>nul || echo Ceres cmake dir not found
281283pip install scikit-build-core pybind11 setuptools-scm
282284pip install "torch>=2.8.0,<2.9" --index-url https://download.pytorch.org/whl/cpu
283285"""
You can’t perform that action at this time.
0 commit comments