Skip to content

Commit

Permalink
doc: update instructions on installation
Browse files Browse the repository at this point in the history
  • Loading branch information
QRWells committed Mar 18, 2024
1 parent c08271b commit c9833b7
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ Build the package as follows:
```bash
export LMNTAL_HOME=/path/to/devel # set the path to the compiler
cd slim
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake -DCMAKE_INSTALL_PREFIX=$(pwd) -DCMAKE_BUILD_TYPE=Release -B build -S .
make -j
make -j install
```
Expand All @@ -36,12 +35,19 @@ or
```bash
tar xvzf slim-x.y.z.tar.gz
cd slim-x.y.z
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake -DCMAKE_INSTALL_PREFIX=$(pwd) -DCMAKE_BUILD_TYPE=Release -B build -S .
make -j
make -j install
```

If Ninja is preferred, you can use it as follows:

```bash
cmake -G Ninja -DCMAKE_INSTALL_PREFIX=$(pwd) -DCMAKE_BUILD_TYPE=Release -B build -S .
ninja
ninja install
```

Among generated files, `bin/slim` is the LMNtal interpreter.
So you can run SLIM as follows:

Expand Down

0 comments on commit c9833b7

Please sign in to comment.