-
Notifications
You must be signed in to change notification settings - Fork 185
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
Add FindBoost_EP.cmake #4724
Add FindBoost_EP.cmake #4724
Conversation
6b026a8
to
91ebc38
Compare
include(TileDBCommon) | ||
|
||
if(TILEDB_VCPKG) | ||
set(Boost_NO_SYSTEM_PATHS ON) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
set(Boost_NO_SYSTEM_PATHS ON) |
See #4723 (comment)
How about we use boost-cmake instead of b2? 🤔 |
The boost repository has a |
Recursively cloning boost and all its submodules takes an extraordinary amount of time… |
Given that
How about we
|
Why not follow KISS and vendor the Boost parts we need as proposed by @eric-hughes-tiledb and (implicitly) endorsed by @lums658 ? |
Because the bits we need aren't header only so just vendoring it means that we'll need to reverse engineer whatever sort of build system which is where things start to get a bit weird. |
Dang. Consider my proposal withdrawn. |
@teo-tsirpanis I just used what the docs and tutorials were using. I didn't see boost-cmake. In terms of cross platform, it appears to work just fine on both macOS and Linux. Is there something non-trivial preventing the branch from working on Windows? I've got no idea what's breaking in that build in CI so I can't tell if its as simple as invoking the build command incorrectly because I don't know how Windows CLIs work, or if there's some deeper issue there. But if you tell me that it's untenable to fix then I'm fine going with another approach. I'm not against the idea of relying on a system installed version of boost, but I'd need to @ihnorton or someone else a lot more familiar with packaging and distribution to know if that's a viable approach. |
Why are you cloning things? This PR just downloads the release tarball. |
The tarball doesn't have |
Pull in Boost as an external project when building without vcpkg.
TYPE: NO_HISTORY
DESC: Add FindBoost_EP.cmake