Skip to content

Commit

Permalink
Instructions for building release binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
jnalanko committed Sep 21, 2023
1 parent 0c3032a commit 38be252
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,12 @@ make

This builds the tests to `build/bin/themisto_tests`. The test executable must be ran at the root of the repository, or otherwise it wont find the test input files at `example_input`.

To build release binaries for Linux, use a machine with as old of a libc as possible for maximum compatibility. It's also important to disable architecture-specific optimizations in Roaring, so use the following cmake command:

```
cmake .. -DCMAKE_BUILD_ZLIB=1 -DCMAKE_BUILD_BZIP2=1 -DROARING_DISABLE_NATIVE=ON -DCMAKE_BUILD_TYPE=Release
```

# License

This software is licensed under GPLv2. See LICENSE.txt.

0 comments on commit 38be252

Please sign in to comment.