]> https://gitweb.dealii.org/ - candi.git/commitdiff
OSX 10.14 and 10.15 support
authorTimo Heister <timo.heister@gmail.com>
Sun, 29 Dec 2019 21:26:29 +0000 (16:26 -0500)
committerTimo Heister <timo.heister@gmail.com>
Thu, 9 Jan 2020 18:29:02 +0000 (13:29 -0500)
- add platform detection
- update homebrew instructions

candi.sh
deal.II-toolchain/platforms/supported/catalina.platform [new file with mode: 0644]
deal.II-toolchain/platforms/supported/mojave.platform [new file with mode: 0644]

index 2d50de69070c2db82f87f25b46f70dece513b29a..9794c20e6b6419e3f8db1ec2de0486c54de245f1 100755 (executable)
--- a/candi.sh
+++ b/candi.sh
@@ -565,6 +565,8 @@ guess_platform() {
             10.11*)  echo elcapitan;;
             10.12*)  echo sierra;;
             10.13*)  echo highsierra;;
+            10.14*)  echo mojave;;
+            10.15*)  echo catalina;;
         esac
 
     elif [ ! -z "$CRAYOS_VERSION" ]; then
diff --git a/deal.II-toolchain/platforms/supported/catalina.platform b/deal.II-toolchain/platforms/supported/catalina.platform
new file mode 100644 (file)
index 0000000..a2bb36d
--- /dev/null
@@ -0,0 +1,38 @@
+# macOS 10.15 (Catalina)
+#
+# macOS support is experimental and requires:
+# - a recent version of xcode with command line tools
+# - openmpi installed using homebrew and
+# - cmake
+#
+# Detailed Installation Notes:
+# - install Xcode from AppStore, open it and accept the license.
+# - Open Terminal, and install Xcode command line tools via
+# $ xcode-select --install
+# and then run
+# $ xcodebuild -license
+# to accept the license.
+#
+# Install Homebrew in a Terminal via
+# $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
+#
+# Install the following via Homebrew
+# $ brew install cmake
+# $ brew install openmpi
+#
+# Put the following definitions into your bashrc to use gcc (instead of apple clang):
+#   export OMPI_CXX=g++-9
+#   export OMPI_CC=gcc-9
+#   export OMPI_FC=gfortran-9
+#
+# (Optional) Install the following via Homebrew
+# $ brew install wget
+# $ brew install gnuplot
+#
+# $ brew install bash
+# and follow the shell activation notes.
+#
+# $ brew install modules
+# and follow the activation notes to use the modulefile configuration.
+#
+##
diff --git a/deal.II-toolchain/platforms/supported/mojave.platform b/deal.II-toolchain/platforms/supported/mojave.platform
new file mode 100644 (file)
index 0000000..7163969
--- /dev/null
@@ -0,0 +1,38 @@
+# macOS 10.14 (Mojave)
+#
+# macOS support is experimental and requires:
+# - a recent version of xcode with command line tools
+# - openmpi installed using homebrew and
+# - cmake
+#
+# Detailed Installation Notes:
+# - install Xcode from AppStore, open it and accept the license.
+# - Open Terminal, and install Xcode command line tools via
+# $ xcode-select --install
+# and then run
+# $ xcodebuild -license
+# to accept the license.
+#
+# Install Homebrew in a Terminal via
+# $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
+#
+# Install the following via Homebrew
+# $ brew install cmake
+# $ brew install openmpi
+#
+# Put the following definitions into your bashrc to use gcc (instead of apple clang):
+#   export OMPI_CXX=g++-9
+#   export OMPI_CC=gcc-9
+#   export OMPI_FC=gfortran-9
+#
+# (Optional) Install the following via Homebrew
+# $ brew install wget
+# $ brew install gnuplot
+#
+# $ brew install bash
+# and follow the shell activation notes.
+#
+# $ brew install modules
+# and follow the activation notes to use the modulefile configuration.
+#
+##

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.