From 0969957d9b1b304215ccb40a5822b6a4e286bbac Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Thu, 11 Oct 2018 15:58:53 +0200 Subject: [PATCH] support opensuse 15 --- candi.sh | 9 +++++++++ .../platforms/supported/opensuse15.platform | 20 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 deal.II-toolchain/platforms/supported/opensuse15.platform 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}" -- 2.39.5