Usage and Building.md changes for ps4_unfself which is required for Testing

This commit is contained in:
RyzenDew 2023-07-28 00:07:36 -03:00 committed by GitHub
parent b63d13d6ec
commit 032d1915f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 5 deletions

19
.github/BUILDING.md vendored
View file

@ -4,28 +4,41 @@
### The dependencies for Debian-like distributions.
```
sudo apt install build-essential cmake libunwind-dev libglfw3-dev libvulkan-dev vulkan-validationlayers-dev spirv-tools glslang-tools libspirv-cross-c-shared-dev
sudo apt install build-essential cmake libunwind-dev libglfw3-dev libvulkan-dev vulkan-validationlayers-dev spirv-tools glslang-tools libspirv-cross-c-shared-dev python3-pip git
```
# git is only needed for ubuntu 22.04
### The dependencies for Fedora distributions:
```
sudo dnf install cmake libunwind-devel glfw-devel vulkan-devel vulkan-validation-layers-devel spirv-tools glslang-devel gcc-c++ gcc spirv-tools-devel xbyak-devel
sudo dnf install cmake libunwind-devel glfw-devel vulkan-devel vulkan-validation-layers-devel spirv-tools glslang-devel gcc-c++ gcc spirv-tools-devel xbyak-devel python3-pip
```
### The dependencies for Arch distributions:
```
sudo pacman -S libunwind glfw-x11 vulkan-devel glslang
sudo pacman -S libunwind glfw-x11 vulkan-devel glslang python-pip git cmake
```
> Side note you will need to pull ``spirv-cross`` from the AUR for now so do the following
```
sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si
```
> Side note glslang as of the newest version is broken and it needs a simple fix
```
sudo ln -s /usr/bin/glslang /usr/bin/glslangValidator
```
```
yay -S spirv-cross
```
## We need one more thing
Python2 is now replaced fully and to use ```ps4_unfself``` we have to use python3 and install future using ```pip```
```
pip install future
```
## Getting spriv-cross on Fedora and Arch Linux
```