-
Notifications
You must be signed in to change notification settings - Fork 282
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
Allow offline builds of chiapos with local repos #442
Conversation
Pull Request Test Coverage Report for Build 10494997837Details
💛 - Coveralls |
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.
two aspects make me a bit uneasy about this:
- whether you enable
BUILD_OFFLINE
or not depends on whether thethirdparty
directory exists or not. That's an unexpected (and unintuitive, I would say) mechanism to communicate with the build script. - the commit hashes of the dependencies are repeated in two places. I can see a future PR where we bump the versions, but forget one of those places.
I'm not sure what the best approach is, in a way I think submodules would be a pretty good alternative to cmake fetchcontent, but I'm not familiar enough with cmake to really recommend that. It might cause a bunch of trouble. But I think it's fairly standard practice in the C++ world to pull in open-source dependencies that way.
Perhaps the simplest approach would be to, essentially, replace the install-dependencies.sh
with a call to cmake
but to just download dependencies.
Agreeing with Arvid that the build process should work the same whether building locally or on CI. I think we're both missing something about the motivation here? |
The discussion happened on keybase yesterday. The summary is:
|
'This PR has been flagged as stale due to no activity for over 60 |
No description provided.