Skip to content

Commit f1f5a38

Browse files
committed
Bitwuzla: update build-documentation
1 parent 31450c5 commit f1f5a38

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

doc/Developers-How-to-Release-into-Ivy.md

+26-2
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Then upload the binaries to the Ivy repository using SVN as described in the mes
132132

133133
We prefer to use our own Boolector binaries and Java bindings.
134134
Boolector's dependencies, mainly Minisat, requires GCC version 7 and does not yet compile with newer compilers.
135-
We prefer to directly build directly on Ubuntu 18.04, where gcc-7 is the default compiler.
135+
We prefer to build directly on Ubuntu 18.04, where gcc-7 is the default compiler.
136136
It should also be possible to set environment varables like CC=gcc-7 on newer systems.
137137
For simple usage, we provide a Docker definition/environment under `/docker`,
138138
in which the following command can be run.
@@ -149,7 +149,31 @@ ant publish-boolector -Dboolector.path=../boolector -Dboolector.customRev=3.2.2
149149
```
150150
Our build script will automatically append the git-revision of Boolector, if available.
151151

152-
Finally follow the instructions shown in the message at the end.
152+
Finally, follow the instructions shown in the message at the end.
153+
The instructions for publication via SVN into the Ivy repository are not intended to be executed in the Docker environment,
154+
but in the normal system environment, where some testing can be applied by the developer before the commit.
155+
156+
157+
### Publishing Bitwuzla
158+
159+
We prefer to use our own Bitwuzla binaries and SWIG-based Java bindings.
160+
We prefer to build directly on Ubuntu 22.04, where CMake, SWIG, and Meson are sufficiently up-to-date.
161+
For simple usage, we provide a Docker definition/environment under `/docker`,
162+
in which the following command can be run.
163+
164+
To publish Bitwuzla, checkout the [Bitwuzla repository](https://github.com/bitwuzla/bitwuzla).
165+
Then execute the following command in the JavaSMT directory:
166+
```
167+
ant publish-bitwuzla -Dbitwuzla.path=$BITWUZLA_DIR -Dbitwuzla.customRev=$VERSION -Dbitwuzla.rebuildWrapper=$BOOL
168+
```
169+
Example:
170+
```
171+
ant publish-bitwuzla -Dbitwuzla.path=../bitwuzla/ -Dbitwuzla.customRev=0.4.0 -Dbitwuzla.rebuildWrapper=false
172+
```
173+
The build-scripts Bitwuzla will download and build necessary dependencies like GMP automatically.
174+
Our build script will automatically append the git-revision of Bitwuzla, if available.
175+
176+
Finally, follow the instructions shown in the message at the end.
153177
The instructions for publication via SVN into the Ivy repository are not intended to be executed in the Docker environment,
154178
but in the normal system environment, where some testing can be applied by the developer before the commit.
155179

0 commit comments

Comments
 (0)