Skip to content

Commit 1823636

Browse files
authored
Merge pull request #6649 from tautschnig/feature/cmake-offline
Document steps to perform CMake configuration without network access
2 parents b0f0318 + b630cc5 commit 1823636

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

COMPILING.md

+10
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,16 @@ files.
8282
to generate IDE projects by supplying the `-G` flag. Run `cmake -G` for a
8383
comprehensive list of supported back-ends.
8484
85+
As part of this step, CMake will download the back-end solver (see Section
86+
"Compiling with alternative SAT solvers" in this document for configuration
87+
options). Should it be necessary to perform this step without network access,
88+
a solver can be downloaded ahead of the above `cmake` invocation as follows:
89+
```
90+
mkdir -p build/minisat2-download/minisat2-download-prefix/src/
91+
wget http://ftp.debian.org/debian/pool/main/m/minisat2/minisat2_2.2.1.orig.tar.gz \
92+
-O build/minisat2-download/minisat2-download-prefix/src/minisat2_2.2.1.orig.tar.gz
93+
```
94+
8595
On macOS >10.14, the build will fail unless you explicitly specify
8696
the full path to the compiler. This issue is being tracked
8797
[here](https://github.com/diffblue/cbmc/issues/4956). The invocation thus

0 commit comments

Comments
 (0)