Skip to content

Commit 9f4fd35

Browse files
giordanostaticfloat
authored andcommitted
Add to documentation list of supported platforms and their tripl… (#622)
1 parent 0ac7808 commit 9f4fd35

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/src/FAQ.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ Absolutely! There's nothing Julia-specific about the binaries generated by the
2424

2525
At the time of writing, we support Linux (`x86_64`, `i686`, `armv7l`, `aarch64`, `ppc64le`), Windows (`x86_64`, `i686`), macOS (`x86_64`) and FreeBSD (`x86_64`).
2626

27+
You can get the list of the supported platforms and their associated _triplets_ by using the functions `supported_platforms` and `triplet`:
28+
29+
```@repl
30+
using BinaryBuilder
31+
for p in supported_platforms()
32+
println("Platform: $(p); triplet: $(triplet(p))")
33+
end
34+
```
35+
2736
### At line XXX, ABORTED (Operation not permitted)!
2837

2938
Some linux distributions have a bug in their `overlayfs` implementation that prevents us from mounting overlay filesystems within user namespaces. See [this Ubuntu kernel bug report](https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1531747) for a description of the situation and how Ubuntu has patched it in their kernels. To work around this, you can launch `BinaryBuilder.jl` in "privileged container" mode. BinaryBuilder should auto-detect this situation, however if the autodetection is not working or you want to silence the warning, you can set the `BINARYBUILDER_RUNNER` environment variable to `privileged`. Unfortunately, this involves running `sudo` every time you launch into a BinaryBuilder session, but on the other hand, this successfully works around the issue on distributions such as Arch linux.

0 commit comments

Comments
 (0)