]> https://gitweb.dealii.org/ - candi.git/commitdiff
major platform update; adds platforms debian9 and ubuntu17 contributed by Lukas van...
authorUwe Köcher <koecher@hsu-hamburg.de>
Tue, 25 Jul 2017 06:40:59 +0000 (08:40 +0200)
committerUwe Köcher <koecher@hsu-hamburg.de>
Tue, 25 Jul 2017 06:40:59 +0000 (08:40 +0200)
19 files changed:
candi.sh
deal.II-toolchain/platforms/deprecated/fedora22.platform [moved from deal.II-toolchain/platforms/supported/fedora22.platform with 100% similarity]
deal.II-toolchain/platforms/deprecated/fedora23.platform [moved from deal.II-toolchain/platforms/supported/fedora23.platform with 100% similarity]
deal.II-toolchain/platforms/supported/centos7.platform
deal.II-toolchain/platforms/supported/debian9.platform [new file with mode: 0644]
deal.II-toolchain/platforms/supported/elcapitan.platform
deal.II-toolchain/platforms/supported/fedora24.platform
deal.II-toolchain/platforms/supported/fedora25.platform
deal.II-toolchain/platforms/supported/fedora26.platform [new file with mode: 0644]
deal.II-toolchain/platforms/supported/linux_cluster.platform
deal.II-toolchain/platforms/supported/opensuse12.platform
deal.II-toolchain/platforms/supported/opensuse13.platform
deal.II-toolchain/platforms/supported/rhel7.platform
deal.II-toolchain/platforms/supported/sierra.platform
deal.II-toolchain/platforms/supported/ubuntu12.platform
deal.II-toolchain/platforms/supported/ubuntu14.platform
deal.II-toolchain/platforms/supported/ubuntu15.platform
deal.II-toolchain/platforms/supported/ubuntu16.platform
deal.II-toolchain/platforms/supported/ubuntu17.platform [new file with mode: 0644]

index fad4bbdca2122a188323689c28185544440380af..4240007ef7e73d48a9ad6ec7da8053f43f8b0735 100755 (executable)
--- a/candi.sh
+++ b/candi.sh
@@ -550,7 +550,17 @@ guess_platform() {
     # Try to guess the name of the platform we're running on
     if [ -f /usr/bin/cygwin1.dll ]; then
         echo cygwin
-
+    
+    elif [ -x /usr/bin/sw_vers ]; then
+        local MACOSVER=$(sw_vers -productVersion)
+        case ${MACOSVER} in
+            10.11*)               echo elcapitan;;
+            10.12*)               echo sierra;;
+        esac
+    
+    elif [ ! -z "$CRAYOS_VERSION" ]; then
+        echo cray
+    
     elif [ -f /etc/fedora-release ]; then
         local FEDORANAME=`gawk '{if (match($0,/\((.*)\)/,f)) print f[1]}' /etc/fedora-release`
         case ${FEDORANAME} in
@@ -561,43 +571,29 @@ guess_platform() {
             "Twenty Three"*)      echo fedora23;;
             "Twenty Four"*)       echo fedora24;;
             "Twenty Five"*)       echo fedora25;;
+            "Twenty Six"*)        echo fedora26;;
         esac
     
     elif [ -f /etc/redhat-release ]; then
         local RHELNAME=`gawk '{if (match($0,/\((.*)\)/,f)) print f[1]}' /etc/redhat-release`
         case ${RHELNAME} in
-            "Tikanga"*)           echo rhel5;;
-            "Santiago"*)          echo rhel6;;
             "Maipo"*)             echo rhel7;;
             "Core"*)              echo centos7;;
         esac
     
-    elif [ -x /usr/bin/sw_vers ]; then
-        local MACOSVER=$(sw_vers -productVersion)
-        case ${MACOSVER} in
-            10.11*)                echo elcapitan;;
-            10.12*)                echo sierra;;
-        esac
-
-    elif [[ $CRAYOS_VERSION ]]; then
-        echo cray    
-    
     elif [ -x /usr/bin/lsb_release ]; then
         local DISTRO=$(lsb_release -i -s)
         local CODENAME=$(lsb_release -c -s)
         local DESCRIPTION=$(lsb_release -d -s)
         case ${DISTRO}:${CODENAME}:${DESCRIPTION} in
-            *:*:*Ubuntu*\ 12*)     echo ubuntu12;;
-            *:*:*Ubuntu*\ 14*)     echo ubuntu14;;
-            *:*:*Ubuntu*\ 15*)     echo ubuntu15;;
-            *:xenial*:*Ubuntu*)    echo ubuntu16;;
-            *:Tikanga*:*)          echo rhel5;;
-            *:Santiago*:*)         echo rhel6;;
-            Scientific:Carbon*:*)  echo rhel6;;
-            *:*:*CentOS*\ 5*)      echo rhel5;;
-            *:*:*CentOS*\ 6*)      echo rhel6;;
-            *:*:*openSUSE\ 12*)    echo opensuse12;;
-            *:*:*openSUSE\ 13*)    echo opensuse13;;
+            *:*:*Debian*9*)       echo debian9;;
+            *:*:*Ubuntu*\ 12*)    echo ubuntu12;;
+            *:*:*Ubuntu*\ 14*)    echo ubuntu14;;
+            *:*:*Ubuntu*\ 15*)    echo ubuntu15;;
+            *:xenial*:*Ubuntu*)   echo ubuntu16;;
+            *:zesty*:*Ubuntu*)    echo ubuntu17;;
+            *:*:*openSUSE\ 12*)   echo opensuse12;;
+            *:*:*openSUSE\ 13*)   echo opensuse13;;
         esac
     fi
 }
@@ -607,32 +603,17 @@ guess_ostype() {
     if [ -f /usr/bin/cygwin1.dll ]; then
         echo cygwin
     
+    elif [ -x /usr/bin/sw_vers ]; then
+        echo macos
+    
     elif [ -f /etc/fedora-release ]; then
         echo linux
     
     elif [ -f /etc/redhat-release ]; then
         echo linux
     
-    elif [ -x /usr/bin/sw_vers ]; then
-        echo macos
-    
     elif [ -x /usr/bin/lsb_release ]; then
-        local DISTRO=$(lsb_release -i -s)
-        local CODENAME=$(lsb_release -c -s)
-        local DESCRIPTION=$(lsb_release -d -s)
-        case ${DISTRO}:${CODENAME}:${DESCRIPTION} in
-            *:*:*Ubuntu*\ 12*)     echo linux;;
-            *:*:*Ubuntu*\ 14*)     echo linux;;
-            *:*:*Ubuntu*\ 15*)     echo linux;;
-            *:xenial*:*Ubuntu*)    echo linux;;
-            *:Tikanga*:*)          echo linux;;
-            *:Santiago*:*)         echo linux;;
-            Scientific:Carbon*:*)  echo linux;;
-            *:*:*CentOS*\ 5*)      echo linux;;
-            *:*:*CentOS*\ 6*)      echo linux;;
-            *:*:*openSUSE\ 12*)    echo linux;;
-            *:*:*openSUSE\ 13*)    echo linux;;
-        esac
+        echo linux
     fi
 }
 
index a47dfb46fe3224236b3119f0edee181ad54c67f9..a68fde3f042ee07977d67d08355b41cc6a7a07f9 100644 (file)
@@ -22,3 +22,4 @@
 #
 # Define the additional packages for this platform.
 #PACKAGES="once:cmake ${PACKAGES}"
+
diff --git a/deal.II-toolchain/platforms/supported/debian9.platform b/deal.II-toolchain/platforms/supported/debian9.platform
new file mode 100644 (file)
index 0000000..bbd5ea3
--- /dev/null
@@ -0,0 +1,18 @@
+# debian 9
+#
+# This build script assumes that you have several packages already
+# installed via ubuntu's apt-get using the following commands:
+#
+# > sudo apt-get install build-essential automake autoconf gfortran \
+#   openmpi-bin openmpi-common libopenmpi-dev cmake subversion git \
+#   libblas-dev liblapack-dev libblas3gf liblapack3gf splint tcl tcl-dev \
+#   environment-modules libsuitesparse-dev libtool libboost-all-dev \
+#   qt4-dev-tools
+#
+# Then reboot and run candi again.
+##
+
+#
+# Define the additional packages for this platform.
+#PACKAGES="once:cmake ${PACKAGES}"
+
index 244fd5996e04d7ba126caf8a3cff1c0bd058b115..824ffb21643be4d4253a628c21be7993d4336b3d 100644 (file)
@@ -31,3 +31,8 @@
 # and follow the activation notes to use the modulefile configuration.
 # 
 ##
+
+#
+# Define the additional packages for this platform.
+#PACKAGES="once:cmake ${PACKAGES}"
+
index 3762112faea241de169664dc0fd8811789cc07ce..8ef0bba6b18d1b4f81c98a793c65d15c1d359977 100644 (file)
@@ -20,3 +20,4 @@
 #
 # Define the additional packages for this platform.
 #PACKAGES="once:cmake ${PACKAGES}"
+
index 4a01ff49354c4ae4da0c35d674a527912857bddd..1a8ec320de182dbb25659842b84f43c0a89d3d1f 100644 (file)
@@ -20,3 +20,4 @@
 #
 # Define the additional packages for this platform.
 #PACKAGES="once:cmake ${PACKAGES}"
+
diff --git a/deal.II-toolchain/platforms/supported/fedora26.platform b/deal.II-toolchain/platforms/supported/fedora26.platform
new file mode 100644 (file)
index 0000000..aea6a6f
--- /dev/null
@@ -0,0 +1,23 @@
+# Fedora 26
+
+# This build script assumes that you have several packages already
+# installed via Fedora's dnf using the following command:
+#
+# $ sudo dnf install \
+# @development-tools gcc-c++ cmake openmpi openmpi-devel splint \
+# patch libtool lua lua-devel \
+# blas blas-devel lapack lapack-devel \
+# doxygen graphviz graphviz-devel qt-devel \
+# metis metis-devel 
+# 
+# Please load the 'openmpi' compiler with
+# $  module load mpi/openmpi-x86_64
+# and then set the compiler enviroment variables to
+# $ export CC=mpicc; export CXX=mpicxx; export FC=mpif90; export FF=mpif77
+# before you continue!
+##
+
+#
+# Define the additional packages for this platform.
+#PACKAGES="once:cmake ${PACKAGES}"
+
index 50b297ee5b07032b44b45c5dfb74d9b8778e31b8..c2b3ec8c507df61d25eebe9e2141d989cd1faa09 100644 (file)
@@ -14,7 +14,6 @@
 # 
 ##
 
-
 #
 # Define the additional packages for this platform.
 PACKAGES="
@@ -22,3 +21,4 @@ once:zlib
 once:bzip2
 once:boost
 ${PACKAGES}"
+
index a8c47038ff477560444436cb05646fcea7e16404..cb0c3e31968f0613f28ada5145366a9c08e6063e 100644 (file)
@@ -22,3 +22,4 @@
 #
 # Define the additional packages for this platform.
 #PACKAGES="once:cmake ${PACKAGES}"
+
index 4d06c2da638200d398bfcf3a9248726508d489ef..09c00d5ad4afd132ca5d1f435052e55c02d4283a 100644 (file)
@@ -17,3 +17,4 @@
 #
 # Define the additional packages for this platform.
 #PACKAGES="once:cmake ${PACKAGES}"
+
index 1527a4ca72ab3f4aca111ed39a438f54e1df1bcd..c9737cf4740f5539821e11dddb51c9d2a8f0383b 100644 (file)
@@ -21,3 +21,4 @@
 #
 # Define the additional packages for this platform.
 #PACKAGES="once:cmake ${PACKAGES}"
+
index 6f9d93212422c636ec8c6a4c2e7b19cf01d0b719..1b14dd32bdf9bda0bbe7c94f1f771421e465200a 100644 (file)
@@ -31,3 +31,4 @@
 # and follow the activation notes to use the modulefile configuration.
 # 
 ##
+
index 6ebdc0e80d93294f4b4752bc9e66b07aba7cea10..4c87c33c2cb71a081d125d22de2ed801c6659e98 100644 (file)
 # Then run candi again.
 ##
 
-#
-# Define the additional packages for this platform.
-PACKAGES="once:cmake ${PACKAGES}"
-
 # The default compiler on ubuntu12 does not support Trilinos 12.
 # Anyhow, the user can decide to use Trilinos 11 or 12, if the
 # version number is not set to AUTO.
@@ -24,3 +20,8 @@ PACKAGES="once:cmake ${PACKAGES}"
 if [ ${TRILINOS_MAJOR_VERSION} == "AUTO" ]; then
   TRILINOS_MAJOR_VERSION=11
 fi
+
+#
+# Define the additional packages for this platform.
+#PACKAGES="once:cmake ${PACKAGES}"
+
index 6c333756db4d062d147fd19e4ed91d2e6e7ba81b..8de746c64d622155eb96bb4227fc904ac2c3ecf8 100644 (file)
@@ -23,3 +23,8 @@
 if [ ${STABLE_BUILD} == "true" ] && [ ${DEAL_II_VERSION} == "v8.3.0" ] && [ ${TRILINOS_MAJOR_VERSION} == "AUTO" ]; then
   TRILINOS_MAJOR_VERSION=11
 fi
+
+#
+# Define the additional packages for this platform.
+#PACKAGES="once:cmake ${PACKAGES}"
+
index bb207dab8a6b3238f8d2895ba7808866957ab245..e4aaf705a913a15a93096e4a723401681261149b 100644 (file)
@@ -15,3 +15,4 @@
 #
 # Define the additional packages for this platform.
 #PACKAGES="once:cmake ${PACKAGES}"
+
index 674cd2f3fef22f88afda6279016de2c8c3db2663..263c1c0f697810051af9e9e6739e4bb998f052ea 100644 (file)
@@ -1,4 +1,4 @@
-# ubuntu 16
+# ubuntu 16 LTS
 #
 # This build script assumes that you have several packages already
 # installed via ubuntu's apt-get using the following commands:
@@ -13,3 +13,7 @@
 # Then run candi again.
 ##
 
+#
+# Define the additional packages for this platform.
+#PACKAGES="once:cmake ${PACKAGES}"
+
diff --git a/deal.II-toolchain/platforms/supported/ubuntu17.platform b/deal.II-toolchain/platforms/supported/ubuntu17.platform
new file mode 100644 (file)
index 0000000..5004333
--- /dev/null
@@ -0,0 +1,19 @@
+# ubuntu 17
+#
+# This build script assumes that you have several packages already
+# installed via ubuntu's apt-get using the following commands:
+#
+# > sudo apt-get install build-essential lsb-release wget \
+#   automake autoconf gfortran \
+#   openmpi-bin openmpi-common libopenmpi-dev cmake subversion git \
+#   libblas-dev liblapack-dev libblas3 liblapack3 \
+#   libsuitesparse-dev libtool libboost-all-dev \
+#   splint tcl tcl-dev environment-modules qt4-dev-tools
+#
+# Then run candi again.
+##
+
+#
+# Define the additional packages for this platform.
+#PACKAGES="once:cmake ${PACKAGES}"
+

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.