Skip to content

Document steps to perform CMake configuration without network access #6649

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

Merged
merged 1 commit into from
Feb 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions COMPILING.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,16 @@ files.
to generate IDE projects by supplying the `-G` flag. Run `cmake -G` for a
comprehensive list of supported back-ends.

As part of this step, CMake will download the back-end solver (see Section
"Compiling with alternative SAT solvers" in this document for configuration
options). Should it be necessary to perform this step without network access,
a solver can be downloaded ahead of the above `cmake` invocation as follows:
```
mkdir -p build/minisat2-download/minisat2-download-prefix/src/
wget http://ftp.debian.org/debian/pool/main/m/minisat2/minisat2_2.2.1.orig.tar.gz \
-O build/minisat2-download/minisat2-download-prefix/src/minisat2_2.2.1.orig.tar.gz
```

On macOS >10.14, the build will fail unless you explicitly specify
the full path to the compiler. This issue is being tracked
[here](https://github.com/diffblue/cbmc/issues/4956). The invocation thus
Expand Down