Skip to content

Commit f70b228

Browse files
committed
Add a Brewfile to install prereqs with Homebrew
Homebrew users can now get all the prereqs easily installed: ``` brew tap homebrew/bundle brew bundle ``` [ci skip]
1 parent 09a1e30 commit f70b228

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Brewfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Brewfile to install OpenCoarrays prerequisites with [Homebrew] or [Linuxbrew].
2+
#
3+
# TL;DR: `brew tap homebrew/bundle && brew bundle` to install prerequisites
4+
#
5+
# Homebrew for Mac OS X can be installed via:
6+
# `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
7+
# Linux brew (lives in userland, no sudo required) can be installed with:
8+
# `ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/linuxbrew/go/install)"`
9+
#
10+
# Once Homebrew/Linuxbrew is installed, execute the following commands to install the required prerequisites:
11+
# `brew tap homebrew/bundle && brew bundle`
12+
#
13+
# NOTE: Until Linuxbrew upgrades to GCC 6.1 or later, you will have to edit the `mpich` line to:
14+
# `brew 'mpich', args: ['cc=gcc-5', 'cxx=g++-5']`
15+
16+
brew 'cmake'
17+
brew 'gcc'
18+
brew 'mpich', args: ['cc=gcc-6', 'cxx=g++-6']
19+
20+
# [Homebrew]: http://brew.sh
21+
# [Linuxbrew]: http://linuxbrew.sh

0 commit comments

Comments
 (0)