From: Timo Heister Date: Thu, 11 Oct 2018 13:58:53 +0000 (+0200) Subject: support opensuse 15 X-Git-Tag: v9.0.1~4^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F98%2Fhead;p=candi.git support opensuse 15 --- diff --git a/candi.sh b/candi.sh index 1ede64b..fc33438 100755 --- 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 index 0000000..8e1df35 --- /dev/null +++ b/deal.II-toolchain/platforms/supported/opensuse15.platform @@ -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}"