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

Error when using CMake with ninja #37

Open
as3810t opened this issue Sep 8, 2020 · 0 comments · May be fixed by #39
Open

Error when using CMake with ninja #37

as3810t opened this issue Sep 8, 2020 · 0 comments · May be fixed by #39

Comments

@as3810t
Copy link

as3810t commented Sep 8, 2020

When CMake uses ninja as backend instead of UNIX Makefiles, the building process fails because it cannot download Z3.

The Z3 download process is configured as:

ExternalProject_Add(z3_download
PREFIX vendor
# Download
URL https://github.com/Z3Prover/z3/releases/download/z3-4.8.6/z3-4.8.6-x64-ubuntu-16.04.zip
URL_HASH SHA1=1663a7825c45f24642045dfcc5e100d65c1b6b1e
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
UPDATE_COMMAND ""
INSTALL_COMMAND ""
)

It is a known issue, that countermeasures has to be made due to ninja's dependency scanning mechanism: https://stackoverflow.com/questions/50400592/using-an-externalproject-download-step-with-ninja

This issue should either be resolved, or marked as wontfix, and the documentation extended accordingly.

@as3810t as3810t added the bug Something isn't working label Sep 8, 2020
@as3810t as3810t linked a pull request Sep 9, 2020 that will close this issue
3 tasks
@sallaigy sallaigy removed the bug Something isn't working label Dec 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants