Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce the size of macOS wheels #161

Closed
sarlinpe opened this issue Aug 31, 2023 · 3 comments
Closed

Reduce the size of macOS wheels #161

sarlinpe opened this issue Aug 31, 2023 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@sarlinpe
Copy link
Collaborator

Use Boost built from source with ICU disabled:

# Install Boost
#mkdir -p boost
#cd boost
#retry 3 wget https://boostorg.jfrog.io/artifactory/main/release/1.81.0/source/boost_1_81_0.tar.gz
#tar xzf boost_1_81_0.tar.gz
#cd boost_1_81_0
#BOOST_DIR=$CURRDIR/boost_install
#./bootstrap.sh --prefix=${BOOST_DIR} --with-libraries=filesystem,system,program_options,graph,test --without-icu clang-darwin
#./b2 -j$(sysctl -n hw.logicalcpu) cxxflags="-fPIC" link=static runtime-link=static variant=release --disable-icu --prefix=${BOOST_DIR} install

Fails with linking issue: https://github.com/colmap/pycolmap/actions/runs/6042365188/job/16397322142

@sarlinpe sarlinpe added the help wanted Extra attention is needed label Aug 31, 2023
@abhiagg92
Copy link
Contributor

Could you please tell me the installed CMake version in macOS runner?

@sarlinpe
Copy link
Collaborator Author

sarlinpe commented Sep 30, 2023

We pull the latest version:

brew install wget cmake

From the latest logs (not sure you're able to see it), it's 3.27.6

@sarlinpe
Copy link
Collaborator Author

sarlinpe commented Jan 3, 2024

Solved with 3f2b219.

@sarlinpe sarlinpe closed this as completed Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants