Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions docs/source_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,15 @@ Build outputs will appear in the `./o` directory, e.g.:
- `o/llamafile/llamafile`: the llamafile executable, running both as a TUI and a server (with the `--server` flag)
- `o/third_party/zipalign/zipalign`: the zipalign tool used to bundle llamafile executable, model weights, and default args into llamafiles

> **NOTE**: Calling `make` should automatically run cosmocc's make when required.
If that does not happen for any reason, you can still directly run the one provided
by cosmocc: `.cosmocc/4.0.2/bin/make`.
Use the bundled `.cosmocc/4.0.2/bin/make` for build, install, and test commands.
The build rejects GNU Make 3.81, which is the version of `/usr/bin/make` on macOS.

### Testing

Optionally, you can verify the build with:

```sh
make check
.cosmocc/4.0.2/bin/make check
```

This runs our unit tests to ensure everything is built correctly.
Expand Down Expand Up @@ -71,6 +70,5 @@ or the llamafile CLI command as:

## Documentation

There's a manual page for each of the llamafile programs installed when you
run `sudo make install`. Most commands will also display that information when
passing the `--help` flag.
The installation command above also installs manual pages. Most commands
display usage information with the `--help` flag.