Skip to content

Commit

Permalink
docs: update README to mention install using Homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
mhx committed Aug 25, 2024
1 parent 3d490e5 commit aa0a2bf
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -626,8 +626,17 @@ your machine.

## macOS Support

The DwarFS libraries and tools (`mkdwarfs`, `dwarfsck`, `dwarfsextract`)
are now available from [Homebrew](https://brew.sh/):

```
$ brew install dwarfs
$ brew test dwarfs
```

The macOS version of the DwarFS filesystem driver relies on the awesome
[macFUSE](https://osxfuse.github.io/) project.
[macFUSE](https://osxfuse.github.io/) project. Until a formula has been
added, you will have to build the DwarFS FUSE driver manually.

### Building on macOS

Expand Down Expand Up @@ -670,6 +679,12 @@ $ ctest --test-dir dwarfs-build -j
$ cmake --fresh -B dwarfs-build -S dwarfs-0.10.0 -GNinja -DWITH_TESTS=ON -DWITH_FUSE_DRIVER=OFF
```

- To *only* build the FUSE driver, you can use this instead:

```
$ cmake --fresh -B dwarfs-build -S dwarfs-0.10.0 -GNinja -DWITH_TESTS=ON -DWITH_LIBDWARFS=OFF -DWITH_TOOLS=OFF
```

- Install DwarFS:

```
Expand Down

0 comments on commit aa0a2bf

Please sign in to comment.