Skip to content

Commit

Permalink
docs+mk: update guidance for unsupported platforms
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
  • Loading branch information
djdv committed May 15, 2019
1 parent 942760b commit fa479f7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 39 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,15 @@ $ cd go-ipfs
$ make install
```

If you are building on FreeBSD instead of `make install` use `gmake install`.
If you are building on a non-GNU system, use `gmake` in place of `make`.
Unsupported platforms (run `(g)make supported` for a list) will also need to set the `nofuse` gotag during build.
```
$ GOTAGS=nofuse (g)make install
```

#### Troubleshooting

- Separate [instructions are available for building on Windows](docs/windows.md).
- Also, [instructions for OpenBSD](docs/openbsd.md).
- `git` is required in order for `go get` to fetch all dependencies.
- Package managers often contain out-of-date `golang` packages.
Ensure that `go version` reports at least 1.10. See above for how to install go.
Expand Down
5 changes: 5 additions & 0 deletions Rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ uninstall:
$(GOCC) clean -i ./cmd/ipfs
.PHONY: uninstall

supported:
@echo "Currently supported platforms:"
@for p in ${SUPPORTED_PLATFORMS}; do echo $$p; done
.PHONY: supported

help:
@echo 'DEPENDENCY TARGETS:'
@echo ''
Expand Down
37 changes: 0 additions & 37 deletions docs/openbsd.md

This file was deleted.

0 comments on commit fa479f7

Please sign in to comment.