mirror of
https://github.com/open-goal/jak-project
synced 2026-07-07 14:13:45 -04:00
readme: add fedora build instructions (#1508)
This commit is contained in:
@@ -136,6 +136,28 @@ Run tests:
|
||||
./test.sh
|
||||
```
|
||||
|
||||
### Fedora
|
||||
|
||||
Install packages and init repository:
|
||||
|
||||
```sh
|
||||
sudo dnf install cmake lld clang nasm libX11-devel libXrandr-devel libXinerama-devel libXcursor-devel libXi-devel pulseaudio-libs-devel
|
||||
sudo sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
|
||||
```
|
||||
|
||||
Compile with `clang`:
|
||||
|
||||
```sh
|
||||
cmake -DCMAKE_SHARED_LINKER_FLAGS="-fuse-ld=lld" -DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=lld" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -B build
|
||||
cmake --build build -j$(nproc)
|
||||
```
|
||||
|
||||
Run tests:
|
||||
|
||||
```sh
|
||||
./test.sh
|
||||
```
|
||||
|
||||
## Getting Started - Windows
|
||||
|
||||
### Required Software
|
||||
|
||||
Reference in New Issue
Block a user