-
Notifications
You must be signed in to change notification settings - Fork 273
cmake configure without internet access #6582
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
Comments
or alternatively add the sources to those solvers as git submodules. |
till diffblue/cbmc#6582 is resolved. Additionally disable building tests Closes #8679 Signed-off-by: Konrad Weihmann <[email protected]>
till diffblue/cbmc#6582 is resolved. Additionally disable building tests Closes #8679 Signed-off-by: Konrad Weihmann <[email protected]>
till diffblue/cbmc#6582 is resolved. Additionally disable building tests Closes #8679 Signed-off-by: Konrad Weihmann <[email protected]>
till diffblue/cbmc#6582 is resolved. Additionally disable building tests Closes #8679 Signed-off-by: Konrad Weihmann <[email protected]>
till diffblue/cbmc#6582 is resolved. Additionally disable building tests Closes #8679 Signed-off-by: Konrad Weihmann <[email protected]>
Yes. I think it could be an improvement if we can avoid redownloading the minisat sources when they have already been downloaded and patched. However I currently have other priorities to work on. So I am unlikely to find time to make the required changes in the near future. |
@priv-kweihmann Could you please confirm that there really even is such an issue? I just tried the following:
|
@tautschnig will try that - but at first glance that looks like a valid workaround, even though a dedicated option to prevent network access would be really nice |
@priv-kweihmann Can I just confirm that the desired added value of having a dedicated option is such that the user could specify the path to a pre-existing file? |
@tautschnig yes! In my use case I have the needed blob outside of the current build workspace and it would be nice to handle that without the need to know the internal path structure of cbmc's cmake implementation |
@tautschnig your proposed workaround works like a charm - this ticket could therefore be a very low priority enhancement |
Build environments may be configured in a way that disallows network access. The make-based build system already supported this as downloading and building solvers is a separate step. For CMake, document the procedure to facilitate this. Fixes: diffblue#6582
I propose #6649 as the fix: I decided not to introduce a new flag, as that flag itself would require documentation. Instead, the above procedure is now documented. |
Works for me - thanks |
CBMC version: 5.48.0
Operating system: linux
Exact command line resulting in the issue:
cmake ../source/
What behaviour did you expect:
a way to prevent downloading of minisat2 sources again and again and again, as they are already in place
What happened instead:
please add a way to define the sources of the download_project cmake snippet (
cbmc/src/solvers/CMakeLists.txt
Line 71 in 087296a
The text was updated successfully, but these errors were encountered: