local CODENAME=$(lsb_release -c -s)
local DESCRIPTION=$(lsb_release -d -s)
case ${DISTRO}:${CODENAME}:${DESCRIPTION} in
- *:*:*Ubuntu*\ 13*) echo ubuntu13;;
+ *:*:*Ubuntu*\ 12*) echo ubuntu12;;
*:*:*Ubuntu*\ 14*) echo ubuntu14;;
*:*:*Ubuntu*\ 15*) echo ubuntu15;;
*:Tikanga*:*) echo rhel5;;
# Reset timings
TIMINGS=""
+# If TRILINOS_MAJOR_VERSION is set to AUTO, pick Trilinos 11 except for Ubuntu 12
+if [[ ${TRILINOS_MAJOR_VERSION} == "AUTO" ]]; then
+ if [[ ${PLATFORM} == *"ubuntu12"* ]]; then
+ TRILINOS_MAJOR_VERSION=11
+ else
+ TRILINOS_MAJOR_VERSION=12
+ fi
+fi
+
# Fetch and build individual packages
for PACKAGE in ${PACKAGES[@]}; do
# Start timer
#########################################################################
# If you want to use Trilions, decide if you want v11.x.x or v12.x.x
-TRILINOS_MAJOR_VERSION=12
+TRILINOS_MAJOR_VERSION=AUTO
+#TRILINOS_MAJOR_VERSION=11
+#TRILINOS_MAJOR_VERSION=12
#########################################################################