mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
Update build instructions to reflect Zig dependency (#832)
This commit is contained in:
parent
51debbe3c0
commit
f681e9966f
13
.github/actions/setup-musl-gcc/action.yml
vendored
13
.github/actions/setup-musl-gcc/action.yml
vendored
@ -1,13 +0,0 @@
|
||||
name: "Setup musl-gcc"
|
||||
description: "Compile and install musl-gcc from source"
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- run: |
|
||||
git clone https://git.musl-libc.org/git/musl
|
||||
cd musl
|
||||
./configure
|
||||
make
|
||||
sudo make install
|
||||
shell: bash
|
21
BUILD.md
21
BUILD.md
@ -14,34 +14,25 @@ macOS does not have any platform-specific dependencies.
|
||||
|
||||
#### Linux
|
||||
|
||||
Make sure you have a recent install of GCC and Zip.
|
||||
You must have Zip installed. We also require the Zig compiler for statically linking CGO.
|
||||
|
||||
Debian:
|
||||
Debian/Ubuntu:
|
||||
|
||||
```sh
|
||||
sudo apt install build-essential zip
|
||||
sudo apt install zip snapd
|
||||
sudo snap install zig --classic --beta
|
||||
```
|
||||
|
||||
Fedora:
|
||||
|
||||
```sh
|
||||
sudo dnf install make automake gcc gcc-c++ kernel-devel zip
|
||||
sudo dnf install zip zig
|
||||
```
|
||||
|
||||
Arch:
|
||||
|
||||
```sh
|
||||
sudo pacman -S base-devel zip
|
||||
```
|
||||
|
||||
We also require `musl-gcc` for statically linking CGO. Run the following from wherever you keep your source code:
|
||||
|
||||
```sh
|
||||
git clone https://git.musl-libc.org/git/musl
|
||||
cd musl
|
||||
./configure
|
||||
make
|
||||
sudo make install
|
||||
sudo pacman -S zip zig
|
||||
```
|
||||
|
||||
#### Windows
|
||||
|
Loading…
Reference in New Issue
Block a user