File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -277,9 +277,10 @@ environment = { MOMENTUM_BUILD_WITH_FBXSDK = "OFF" }
277277# Disable build isolation to ensure CMAKE_PREFIX_PATH is properly passed to CMake
278278build-frontend = "pip; args: --no-build-isolation"
279279# Install build dependencies before building (since we disabled build isolation)
280+ # Note: cibuildwheel runs before-build scripts in bash even on Windows, so use bash syntax
280281before-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
282+ echo " Debug: CMAKE_PREFIX_PATH=$ CMAKE_PREFIX_PATH"
283+ ls -la "$ CMAKE_PREFIX_PATH/ Library/ lib/ cmake/ Ceres" 2>/dev/null || echo " Ceres cmake dir not found"
283284pip install scikit-build-core pybind11 setuptools-scm
284285pip install "torch>=2.8.0,<2.9" --index-url https://download.pytorch.org/whl/cpu
285286"""
You can’t perform that action at this time.
0 commit comments