Commit Graph

106 Commits

Author SHA1 Message Date
Zahary Karadjov 3619090cb4 Fix a changed path 2019-01-21 20:17:29 +02:00
Ștefan Talpalaru e267254b4c Makefile modifications
- dependency repos moved to "vendor/<package name>"; delete
  "vendor/repos" by hand after making sure it contains no unpushed work
- fixed the "validator_keygen" build and merged it with that of "beacon_node"
2019-01-09 22:26:40 +02:00
Ștefan Talpalaru 262eefac26 - marked the phony targets explicitly
- replaced `nimble` with `nim` for compiling, since `nim` already knows
  how to add the Nimble packages to its module path
- better target dependencies for "beacon_node" and "validator_keygen"
2019-01-09 14:25:00 +02:00
Ștefan Talpalaru afb76ff65c rebuild Nimble's package db when cloning newly added REPOS items 2019-01-09 14:25:00 +02:00
Zahary Karadjov 8b054858b3 Add build targets for nim-beacon-chain 2019-01-09 14:25:00 +02:00
Ștefan Talpalaru bd9d15d947 new build system
- isolate dependencies (both Git repos and ".nimble" dir) in "vendor"
- ensure that everything is compiled using our version of Nim with
  something as simple as "make"
- pull the latest changes with "make update"
- re-create Nimble's package dir and re-build the Nim compiler automatically when needed
- "env.sh" script that can be used to prefix any command that needs to use
  "nim" or "nimble" from our Nim repo
- move the top level nim.cfg to nimbus/nim.cfg so it doesn't apply to
  deps
- "fetch-dlls" `make` target for Windows to get precompiled Snappy, RocksDB and SQLite DLLs
2019-01-09 14:25:00 +02:00