Skip to content

Commit

Permalink
Debug windows issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vespakoen committed Sep 6, 2023
1 parent 71a5303 commit 07bc2ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,19 +113,12 @@ jobs:
- name: Install
shell: bash
run: |
if [ "${{ matrix.os_short }}" == "linux" ]; then
export OCL_INSTALL_BOOST="1"
export OCL_BOOST_WITH_PYTHON="1"
export OCL_BOOST_PREFIX="$(pwd)"
else
export OCL_INSTALL_BOOST_FROM_REPO="1"
fi
./install.sh \
--build-type release \
--install-system-deps \
--python-executable python \
--python-pip-install \
--test \
python
python || ls -lah /c/hostedtoolcache/windows/Python/3.10.11/x64/lib/site-packages/opencamlib
fi
env:
CMAKE_GENERATOR: ${{ matrix.cmake_generator }}
4 changes: 1 addition & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ OPTIONS:
--python-executable Set a custom path (or name of) the Python executable
--python-prefix Set the python prefix, this will be passed to CMake as Python3_ROOT_DIR, to make sure CMake is using the correct Python installation.
--python-pip-install Uses "pip install ." to compile and install the Python library
--platform Set the platform, for when auto-detection doesn't work (one of: windows, macos, linux)
--macos-architecture Set the macOS architecture to compile for (one of: arm64, x86_64), useful for cross compiling.
Expand Down Expand Up @@ -105,7 +104,6 @@ while [[ "$#" -gt 0 ]]; do
--cmake-generator-platform) OCL_GENERATOR_PLATFORM="$2"; shift ;;
--python-executable) OCL_PYTHON_EXECUTABLE="$2"; shift ;;
--python-prefix) OCL_PYTHON_PREFIX="$2"; shift ;;
--python-pip-install) OCL_PYTHON_PIP_INSTALL="1"; ;;
--node-architecture) OCL_NODE_ARCH="$2"; shift ;;
--test) OCL_TEST="1"; ;;
--help|--*)
Expand Down

0 comments on commit 07bc2ee

Please sign in to comment.