-
Notifications
You must be signed in to change notification settings - Fork 0
/
ConfigureOSX
46 lines (36 loc) · 984 Bytes
/
ConfigureOSX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/bash
#
# Install recommendations and notes for OSX Mavericks
#
####################
###### Install #####
####################
# Install Brew
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
brew doctor
# PATH for brew installs
echo -e "# Update PATH to prefer brew installs\nexport PATH=/usr/local/bin:\$PATH" >> ~/.bash_profile
# gcc
brew tap homebrew/versions
brew install gcc48
brew install gcc47
ln -s -i -v /usr/local/bin/g++-4.8 /usr/local/bin/g++
brew install boost
# MPI
brew install open-mpi
# BLAS/LAPACK
brew tap homebrew/dupes
brew install lapack
# Emacs
brew install emacs --HEAD --use-git-head --cocoa --srgb
# Latex
brew install caskroom/cask/brew-cask
brew cask install mactex
####################
##### Configure ####
####################
# Git
git config --global user.name "Cris Cecka"
git config --global user.email "[email protected]"
git config --global core.editor 'emacs -nw'
git config --global color.ui true