]> https://gitweb.dealii.org/ - candi.git/commitdiff
support opensuse 15 98/head
authorTimo Heister <timo.heister@gmail.com>
Thu, 11 Oct 2018 13:58:53 +0000 (15:58 +0200)
committerTimo Heister <timo.heister@gmail.com>
Thu, 11 Oct 2018 13:59:19 +0000 (15:59 +0200)
candi.sh
deal.II-toolchain/platforms/supported/opensuse15.platform [new file with mode: 0644]

index 1ede64b4c1c2125677f0485b5154e0214124efb1..fc33438afe53f805af2e2ce4682864d3d3458478 100755 (executable)
--- a/candi.sh
+++ b/candi.sh
@@ -587,8 +587,14 @@ guess_platform() {
                 *:*:*Ubuntu*)         echo ubuntu${OSVER};;
                 *:*:*openSUSE\ 12*)   echo opensuse12;;
                 *:*:*openSUSE\ 13*)   echo opensuse13;;
+                *:*:*openSUSE\ 15*)   echo opensuse15;;
             esac
         fi
+    elif [ -f /etc/os-release ]; then
+       . /etc/os-release
+       if [ "${PRETTY_NAME}" == "openSUSE Leap 15.0" ]; then
+           echo opensuse15
+       fi
     fi
 }
 
@@ -608,6 +614,9 @@ guess_ostype() {
 
     elif [ -x /usr/bin/lsb_release ]; then
         echo linux
+
+    elif [ -x /etc/os-release ]; then
+        echo linux
     fi
 }
 
diff --git a/deal.II-toolchain/platforms/supported/opensuse15.platform b/deal.II-toolchain/platforms/supported/opensuse15.platform
new file mode 100644 (file)
index 0000000..8e1df35
--- /dev/null
@@ -0,0 +1,20 @@
+# openSUSE 15
+#
+# This build script assumes that you have several packages already
+# installed via openSUSE's zypper using the following commands:
+#
+# > su -c 'zypper -n install -t pattern devel_basis devel_C_C++'
+#
+# > su -c 'zypper -n install \
+#          gcc-fortran subversion git cmake \
+#          openmpi3 openmpi3-devel blas-devel lapack-devel'
+#
+# optional packages:
+# Modules doxygen graphviz graphviz-devel devel_qt4 splint
+#
+# Then reboot and 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.