@@ -90,7 +90,7 @@ shift $((OPTIND -1))
90
90
# dependencies array to build out
91
91
dependencies=()
92
92
93
- function add_debain_based_deps () {
93
+ function add_debian_based_deps () {
94
94
dependencies+=(
95
95
" bison" # required if we need to compile doxygen
96
96
" build-essential"
@@ -134,8 +134,8 @@ function add_debain_based_deps() {
134
134
fi
135
135
}
136
136
137
- function add_debain_deps () {
138
- add_debain_based_deps
137
+ function add_debian_deps () {
138
+ add_debian_based_deps
139
139
dependencies+=(
140
140
" libayatana-appindicator3-dev"
141
141
)
@@ -147,7 +147,7 @@ function add_ubuntu_deps() {
147
147
${sudo_cmd} add-apt-repository ppa:ubuntu-toolchain-r/test -y
148
148
fi
149
149
150
- add_debain_based_deps
150
+ add_debian_based_deps
151
151
dependencies+=(
152
152
" libappindicator3-dev"
153
153
)
@@ -157,8 +157,8 @@ function add_fedora_deps() {
157
157
dependencies+=(
158
158
" cmake"
159
159
" doxygen"
160
- " gcc"
161
- " g ++"
160
+ " gcc${gcc_version} "
161
+ " gcc ${gcc_version} -c ++"
162
162
" git"
163
163
" graphviz"
164
164
" libappindicator-gtk3-devel"
@@ -304,12 +304,12 @@ function run_install() {
304
304
$package_update_command
305
305
306
306
if [ " $distro " == " debian" ]; then
307
- add_debain_deps
307
+ add_debian_deps
308
308
elif [ " $distro " == " ubuntu" ]; then
309
309
add_ubuntu_deps
310
310
elif [ " $distro " == " fedora" ]; then
311
311
add_fedora_deps
312
- ${sudo_cmd} dnf group install " Development Tools " -y
312
+ ${sudo_cmd} dnf group install " $dev_tools_group " -y
313
313
fi
314
314
315
315
# Install the dependencies
@@ -445,24 +445,36 @@ if grep -q "Debian GNU/Linux 12 (bookworm)" /etc/os-release; then
445
445
cuda_build=" 525.60.13"
446
446
gcc_version=" 12"
447
447
nvm_node=0
448
- elif grep -q " PLATFORM_ID=\" platform:f39 \" " /etc/os-release; then
448
+ elif grep -q " PLATFORM_ID=\" platform:f40 \" " /etc/os-release; then
449
449
distro=" fedora"
450
- version=" 39 "
450
+ version=" 40 "
451
451
package_update_command=" ${sudo_cmd} dnf update -y"
452
452
package_install_command=" ${sudo_cmd} dnf install -y"
453
- cuda_version=" 12.4.0 "
454
- cuda_build=" 550.54.14 "
453
+ cuda_version=12.6.3
454
+ cuda_build=560.35.05
455
455
gcc_version=" 13"
456
456
nvm_node=0
457
- elif grep -q " PLATFORM_ID=\" platform:f40\" " /etc/os-release; then
457
+ dev_tools_group=" Development Tools"
458
+ elif grep -q " PLATFORM_ID=\" platform:f41\" " /etc/os-release; then
458
459
distro=" fedora"
459
- version=" 40 "
460
+ version=" 41 "
460
461
package_update_command=" ${sudo_cmd} dnf update -y"
461
462
package_install_command=" ${sudo_cmd} dnf install -y"
462
- cuda_version=
463
- cuda_build=
463
+ cuda_version=12.6.3
464
+ cuda_build=560.35.05
464
465
gcc_version=" 13"
465
466
nvm_node=0
467
+ dev_tools_group=" development-tools"
468
+ elif grep -q " PLATFORM_ID=\" platform:f42\" " /etc/os-release; then
469
+ distro=" fedora"
470
+ version=" 42"
471
+ package_update_command=" ${sudo_cmd} dnf update -y"
472
+ package_install_command=" ${sudo_cmd} dnf install -y"
473
+ cuda_version=12.8.1
474
+ cuda_build=570.124.06
475
+ gcc_version=" 14"
476
+ nvm_node=0
477
+ dev_tools_group=" development-tools"
466
478
elif grep -q " Ubuntu 22.04" /etc/os-release; then
467
479
distro=" ubuntu"
468
480
version=" 22.04"
0 commit comments