Commit Graph

85 Commits

Author SHA1 Message Date
andri lim 14d1c28982 new member of premix tool set 2019-02-27 13:44:01 +02:00
Ștefan Talpalaru 12d18a1fd6 build p2pd and run some client tests
(with `make V=0 test-libp2p-daemon`)
2019-02-27 13:33:18 +02:00
Ștefan Talpalaru 2abf779668 fix rebase 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru 9806110979 Makefile: better "github-ssh" target 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru 5fcfa70be4 test-reproducibility: coloured messages 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru e9565258a6 Windows: disable timestamps in PE headers 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru a96976cd0a custom nimcache dir 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru 05535591f1 quiet compiler building 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru 0f656125ac macOS doesn't have "md5sum" 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru 90dcb20d35 let the Makefile manage the symlink 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru da79a7e996 very simple reproducibility test
Additional changes:
- Makefile verbosity control
- nimble.sh can now run in parallel on the same *.nimble file
- nimble.sh no longer used in the Makefile, in favour of a nimbus.nims
  symlink that eliminates race risks in parallel jobs
- nimbus.nimble takes extra params in the command line, with the caveat
  that they also apply to nim
- setCommand() replaced with exec(), to avoid splitting param strings
2019-02-24 10:41:05 +02:00
Ștefan Talpalaru e8d654ed0f Windows: allow architecture override 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru 50860e3817 Makefile: delete tool binaries in the "clean" target 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru 63b8ce8c00 Windows: take into account the .exe suffix 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru 69440a6b4c Makefile comments 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru 74196c87ea don't bother rebuilding Nimble, since we don't use it 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru 21f96bc19e macOS "ln" doesn't support "-r" 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru c07006030d update submodules 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru 44a88bbf4c use "nim" instead of "nimble" to run *.nimble tasks 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru f8faa16e76 various fixes and improvements
- "vendor/Nim/dist" might not exist
- work around build_all.sh not liking a symbolic link for csources
- submodule rename: asyndispatch2 -> chronos
- allow parallel building of Nim csources
- Windows testing
- go back to detached HEADs for reproducible historical builds
- update submodules
- document workflows
2019-02-24 10:41:05 +02:00
Ștefan Talpalaru b7d5de3bed update Makefile comments 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru f98902e2e5 add submodules for csources and Nimble 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru 53acac205a fix the github-ssh `make` target 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru 16296cbe72 add submodules 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru 500820c9e4 Makefile: bring GITHUB_REPOS up to date 2019-02-23 18:50:12 +02:00
Mamy Ratsimbazafy e1812eb7ce
Prepare for AD2 rebranding to chronos (#225)
* Prepare for AD2 rebranding to chronos - https://github.com/status-im/nim-asyncdispatch2/pull/20

* fix nimble path to chronos

* nim-eth and nim-chronos merged into nimble packages

* fix nimble package name
2019-02-06 19:03:36 +01:00
Yuriy Glukhov 481c6cf4ed Use nim-eth (#224) 2019-02-05 20:15:50 +01:00
Ștefan Talpalaru ede45648e7 Premix-related changes
- build all tools using the Makefile and place them in ./build
- add copyright header to Makefile
- premix/readme.md edited to fix some errors, improve descriptions and
  document Makefile usage
- link the Premix documentation in the main README.md
- also build `hunter` in the nimble tests
- refactored the file and directory search so all debugging tools can be run
  from the top-level dir like this: `./build/<tool> ...`
- write all JSON debugging data in the current directory
- add JSON files generated in the top-level dir to .gitignore
- Nimbus now exits with an exception after dumping debug data and
  running `premix` on it
2019-01-28 12:38:23 +02:00
Bruno Škvorc 85b979ec32 Missing r flag added to remove command (#219) 2019-01-24 14:34:26 +01:00
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