Skip to content

Commit fa479f7

Browse files
committed
docs+mk: update guidance for unsupported platforms
License: MIT Signed-off-by: Dominic Della Valle <[email protected]>
1 parent 942760b commit fa479f7

File tree

3 files changed

+10
-39
lines changed

3 files changed

+10
-39
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,15 @@ $ cd go-ipfs
138138
$ make install
139139
```
140140

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

143147
#### Troubleshooting
144148

145149
- Separate [instructions are available for building on Windows](docs/windows.md).
146-
- Also, [instructions for OpenBSD](docs/openbsd.md).
147150
- `git` is required in order for `go get` to fetch all dependencies.
148151
- Package managers often contain out-of-date `golang` packages.
149152
Ensure that `go version` reports at least 1.10. See above for how to install go.

Rules.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@ uninstall:
108108
$(GOCC) clean -i ./cmd/ipfs
109109
.PHONY: uninstall
110110

111+
supported:
112+
@echo "Currently supported platforms:"
113+
@for p in ${SUPPORTED_PLATFORMS}; do echo $$p; done
114+
.PHONY: supported
115+
111116
help:
112117
@echo 'DEPENDENCY TARGETS:'
113118
@echo ''

docs/openbsd.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)