diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5fdfa071..a2685595 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -70,6 +70,13 @@ jobs: with: python-version: ${{ matrix.config.python-version }} + - name: Free disk space + run: | + sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/local/lib/android + sudo rm -rf /opt/ghc + docker system prune -af || true + - name: Clean workspace artifacts run: rm -rf build/ dist/ *.egg-info/ .eggs/ @@ -77,7 +84,7 @@ jobs: run: | git submodule update --init --recursive python -m pip install --upgrade pip - python -m pip install -r requirements.txt + python -m pip install --src deps -r requirements.txt - name: Build run: python -m pip install -v . diff --git a/.gitignore b/.gitignore index 5a8e63f6..e70df038 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ /dist/ cmake-build-* *.egg-info/ -src/hloc +deps/ *.npy *.png diff --git a/README.md b/README.md index 62540745..77df95bd 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ In this project, we provide interfaces for various geometric operations on 2D/3D To install the LIMAP Python package: ``` git submodule update --init --recursive -python -m pip install -r requirements.txt +python -m pip install --src deps -r requirements.txt python -m pip install -Ive . ``` To double check if the package is successfully installed: diff --git a/cmake/FindDependencies.cmake b/cmake/FindDependencies.cmake index 5002595a..1714bd08 100644 --- a/cmake/FindDependencies.cmake +++ b/cmake/FindDependencies.cmake @@ -12,6 +12,7 @@ endif() find_package(Boost REQUIRED COMPONENTS graph program_options + OPTIONAL_COMPONENTS system) # Ceres