You need cmake (>= version 3.12) and gmp to build the Ethos Checker.
To build a regular build, issue:
cd /path/to/ethos_checker
mkdir build
cd build
cmake ..
make
The executable, called ethos
, will be created in the build/src folder.
Alternatively you can configure a regular build with
cmake -DCMAKE_BUILD_TYPE=Release ..
To build a regular build and install it into /path/to/install, issue:
cd /path/to/ethos_checker
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/path/to/install ..
make install
To build a debug build, issue:
cd /path/to/ethos_checker
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make
ethos [script]
where script
is a Eunoia script. See tests
and proofs
for examples.
For further details, see the user manual here.
You can add tests in the tests
directory.
Run them using make test
in the build directory.
You can also filter tests using regular expressions for example:
ctest -R arith