Votre Nom 1 year ago
parent
commit
011c15133b
2 changed files with 16 additions and 16 deletions
  1. 5 5
      build_cube.sh
  2. 11 11
      options/tools/_cmake.sh

+ 5 - 5
build_cube.sh

@@ -1,7 +1,7 @@
 #!/bin/bash
 set -e
-Version=14.5
-Cuda=NO
+Version=14.6
+Cuda=Yes
 kernel_custom=YES
 Webmin="webmin-2.021"
 kernel_dkms="5.15.0-71-generic"
@@ -80,7 +80,7 @@ sudo apt-get update
 echo -e ""
 sudo apt-get install lxde lxde-icon-theme -y
 echo -e ""
-sudo apt-get install  checkinstall samba cifs-utils mdadm git build-essential libtool pkg-config automake autoconf ethtool net-tools openvpn filezilla \
+sudo apt-get install  samba cifs-utils mdadm git build-essential libtool pkg-config automake autoconf ethtool net-tools openvpn filezilla \
 tasksel lzma-dev lzma cmake libuv1-dev libssl-dev msr-tools tightvncserver lm-sensors openssh-server xfsprogs -y
 echo -e ""
 sudo apt-get install pixz pbzip2 pigz btrfs-progs gparted gpart gnome-remote-desktop libcanberra-gtk-module \
@@ -91,7 +91,7 @@ echo -e ""
 if [ $Cuda = "YES" ]
 then
 echo -e "$(tput setaf 10)\nInstall Cuda packages:$(tput sgr0)"
-sudo apt-get install cmake libuv1-dev nvidia-cuda-dev nvidia-cuda-toolkit libmicrohttpd-dev gcc-8 g++-8 -y
+sudo apt-get install libgmp-dev libnuma-dev cmake libuv1-dev nvidia-cuda-dev nvidia-cuda-toolkit libmicrohttpd-dev gcc-8 g++-8 -y
 fi
 echo -e "Done."
 fi
@@ -708,7 +708,7 @@ then
 if [ ! -d /tmp/foomatic-db/ ]
 then
 cd /tmp/
-echo -e "$(tput setaf 10)\nPrinter Drivers$(tput sgr0)"
+echo -e "$(tput setaf 10)\nInstall printers generic drivers:$(tput sgr0)"
 git clone https://github.com/OpenPrinting/foomatic-db.git
 fi
 cd /tmp/foomatic-db

+ 11 - 11
options/tools/_cmake.sh

@@ -11,9 +11,9 @@ echo -e "$(tput setaf 10)\nInstall / Update cmake :$(tput sgr0)"
 if [ -x "$(command -v cmake)" ];then flag=1; else flag=0;fi
 case $flag in
 0)
-        wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/cmake_3.26.3-1_amd64.deb
-        sudo dpkg -i cmake_3.26.3-1_amd64.deb
-        rm cmake_3.26.3-1_amd64.deb
+        wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/cmake_3.26.4-1_amd64.deb
+        sudo dpkg -i cmake_3.26.4-1_amd64.deb
+        rm cmake_3.26.4-1_amd64.deb
         ;;
 1)
         cmake_v="$(cmake --version | grep "version" | awk '{print $3}')"
@@ -21,11 +21,11 @@ case $flag in
         sleep 2
         if ! [ $(version $cmake_v) -ge $(version "3.18") ]
         then
-        echo -e "cmake need update=> cmake_3.26.3"
+        echo -e "cmake need update=> cmake_3.26.4"
         sudo apt-get -qq remove --purge cmake -y
-        wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/cmake_3.26.3-1_amd64.deb
-        sudo dpkg -i cmake_3.26.3-1_amd64.deb
-        rm cmake_3.26.3-1_amd64.deb
+        wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/cmake_3.26.4-1_amd64.deb
+        sudo dpkg -i cmake_3.26.4-1_amd64.deb
+        rm cmake_3.26.4-1_amd64.deb
         else
         echo -e "cmake version ok."
         sleep 2
@@ -40,12 +40,12 @@ function cmake_source {
 echo -e "$(tput setaf 12)Cmake kitware build:$(tput sgr0)"
 sleep 2
 sudo apt-get install checkinstall -y
-wget -c https://github.com/Kitware/CMake/releases/download/v3.26.3/cmake-3.26.3.tar.gz
-tar xvfz cmake-3.26.3.tar.gz
-cd cmake-3.26.3
+wget -c https://github.com/Kitware/CMake/releases/download/v3.26.4/cmake-3.26.4.tar.gz
+tar xvfz cmake-3.26.4.tar.gz
+cd cmake-3.26.4
 ./bootstrap
 make -j6
-sudo checkinstall --pkgname=cmake --pkgversion="3.26.3" --default
+sudo checkinstall --pkgname=cmake --pkgversion="3.26.4" --default
 hash -r
 }