aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRJ <catalanor0220@gmail.com>2015-12-10 03:54:26 +0800
committerRJ <catalanor0220@gmail.com>2015-12-10 03:54:26 +0800
commit1f1b180d94e29c69ca46f2b3cb9a625f2b7d58d8 (patch)
tree4d18970adab23a4f8e09975f34db5a206d68bf0b /docs
parent15a1468c3fcf520b9c8f0af22159ea729cf9f085 (diff)
downloaddexon-solidity-1f1b180d94e29c69ca46f2b3cb9a625f2b7d58d8.tar.gz
dexon-solidity-1f1b180d94e29c69ca46f2b3cb9a625f2b7d58d8.tar.zst
dexon-solidity-1f1b180d94e29c69ca46f2b3cb9a625f2b7d58d8.zip
Create for_Ze_Devs.md
tentative means to get a dev environment set up for the compiler on OS X
Diffstat (limited to 'docs')
-rw-r--r--docs/for_Ze_Devs.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/for_Ze_Devs.md b/docs/for_Ze_Devs.md
new file mode 100644
index 00000000..67fd6f4c
--- /dev/null
+++ b/docs/for_Ze_Devs.md
@@ -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 :)