mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Create for_Ze_Devs.md
tentative means to get a dev environment set up for the compiler on OS X
This commit is contained in:
parent
15a1468c3f
commit
1f1b180d94
31
docs/for_Ze_Devs.md
Normal file
31
docs/for_Ze_Devs.md
Normal file
@ -0,0 +1,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 :)
|
Loading…
Reference in New Issue
Block a user