mirror of
https://github.com/open-simh/simh.git
synced 2026-05-22 13:29:56 +00:00
Adds support for DNF-based Linux distributions.
This commit is contained in:
committed by
Paul Koning
parent
5ce7d86a7b
commit
26c1c98071
@@ -21,6 +21,13 @@ install_arch_linux() {
|
||||
|
||||
}
|
||||
|
||||
install_redhat() {
|
||||
sudo dnf group install -y "development-tools"
|
||||
sudo dnf install -y cmake ninja-build which g++
|
||||
sudo dnf install -y SDL_ttf-devel
|
||||
sudo dnf install -y freetype-devel
|
||||
|
||||
|
||||
install_linux() {
|
||||
sudo apt-get update -yqqm
|
||||
sudo apt-get install -ym pkg-config
|
||||
@@ -85,7 +92,7 @@ install_clang64() {
|
||||
|
||||
|
||||
case "$1" in
|
||||
osx|macports|linux|mingw32|mingw64|ucrt64|clang64)
|
||||
osx|macports|linux|mingw32|mingw64|redhat|ucrt64|clang64)
|
||||
install_"$1"
|
||||
;;
|
||||
arch-linux)
|
||||
|
||||
@@ -91,6 +91,8 @@ Before you begin building the simulators, you need the following:
|
||||
|
||||
apt: `sudo apt install cmake cmake-data`
|
||||
|
||||
dnf: `sudo dnf install cmake`
|
||||
|
||||
pacman: `sudo pacman install cmake`
|
||||
|
||||
- macOS: Install `cmake` using your preferred external package management
|
||||
@@ -279,6 +281,12 @@ binaries.
|
||||
$ sudo sh .travis/deps.sh linux
|
||||
```
|
||||
|
||||
- Linux dnf-based distributions (e.g., Fedora, Red Hat):
|
||||
|
||||
```bash
|
||||
$ sudo sh .travis/deps.sh redhat
|
||||
```
|
||||
|
||||
- macOS Homebrew:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user