aboutsummaryrefslogtreecommitdiffstats
path: root/docs/for_Ze_Devs.md
blob: e5feff23d1b0c4345d0616dc7b2fb9af93af1553 (plain) (blame)
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
### Preparing for Compiler Development on OS X

# Requirements
- OS X Yosemite (10.10.5)
- Homebrew
- Xcode

# Set up Homebrew
```
brew update
brew install boost --c++11 # this takes a while
brew install cmake qt5 cryptopp miniupnpc leveldb gmp libmicrohttpd libjson-rpc-cpp 
brew install llvm --HEAD --with-clang
```

# Clone source repo and run this script
```
git clone --recursive https://github.com/ethereum/webthree-umbrella.git
webthree-helpers/scripts/ethupdate.sh --no-push --simple-pull --project solidity #update solidity repo
./webthree-helpers/scripts/ethbuild.sh --no-git --build-type Debug --project solidity --all --cores 4 -DFATDB=0 -DEVMJIT=0 -DETHASHCL=0 #install solidity
```

# Bringing it all together
clone your forked repo, then:

```
cd ~/webthree-helpers/solidity
mv build ../../yourForkedRepo
```

you are now ready to develop :)