Commit Graph

82 Commits

Author SHA1 Message Date
Jordan Hrycaj bca6e791aa provide experimental op handler switch -d:lowmem:1 for low memory C compiler
why:
  on 32bit windows 7, there seems to be a 64k memory ceiling for the gcc
  compiler which was exceeded on some test platform.

details:
  compiling VM2 for low memory C compiler can be triggered with
  "make ENABLE_VM2LOWMEM". this comes with a ~24% longer execution time
  of the test suite against old VM and optimised VM2.
2021-04-28 15:24:14 +03:00
Jacek Sieka 3147df0dcd
switch to chronos metrics, remove insecure (#580)
* switch to chronos metrics, remove insecure

See https://github.com/status-im/nimbus-eth2/pull/2468

also fixes pcre linking for real, and adds some random build flags that
help nimbus-eth2 stay afloat

* fix help

* don't omit frame pointers on windows
2021-04-09 09:26:06 +02:00
jangko b22828806f add github action script 2021-01-15 14:03:10 +07:00
zah 4e77dc220c
Update README.md 2020-10-07 21:48:46 +03:00
Ștefan Talpalaru 6fcf7f4ef4
add link to nimbus-build-system docs 2020-06-13 02:03:02 +02:00
Ștefan Talpalaru 73e9199ebf
new initial submodule update strategy (#494)
* new initial submodule update strategy

* Azure: increase timeout

* Makefile: change comment [skip ci]
2020-04-18 14:56:40 +02:00
Ștefan Talpalaru 9c0922cc16
Azure test (#492)
* Azure test

* can't build libnimbus on Windows
2020-04-16 03:31:00 +02:00
acolytec3 b4dc8105d1 Add readme updates 2020-02-21 23:45:21 +02:00
Oskar Thorén 5a978089d6 Update README.md (#434)
Without `pcre-devel` I get the following error when running `make`:

```
> make
Building: build/premix

Error: execution of an external compiler program 'gcc -c  -w -pthread -I/home/oskarth/git/status-im/nimbus/vendor/nim-secp256k1/secp256k1_wrapper -I/home/oskarth/git/status-im/nimbus/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1 -I/home/oskarth/git/status-im/nimbus/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1/src -DHAVE_CONFIG_H -I/home/oskarth/git/status-im/nimbus/vendor/nim-nat-traversal/vendor/miniupnp/miniupnpc -I/home/oskarth/git/status-im/nimbus/vendor/nim-nat-traversal/vendor/libnatpmp -DENABLE_STRNATPMPERR -g3 -Og -O3 -fno-strict-aliasing  -I/home/oskarth/git/status-im/nimbus/vendor/nimbus-build-system/vendor/Nim/lib -I/home/oskarth/git/status-im/nimbus/premix -o nimcache/debug/premix/stdlib_re.nim.c.o nimcache/debug/premix/stdlib_re.nim.c' failed with exit code: 1

nimcache/debug/premix/stdlib_re.nim.c:10:10: fatal error: pcre.h: No such file or directory
 #include <pcre.h>
          ^~~~~~~~
compilation terminated.
make: *** [Makefile:48: premix] Error 1
```
2019-12-09 09:44:59 +01:00
Jacek Sieka f4ff53364e
Update README.md 2019-10-25 14:11:02 +02:00
Jacek Sieka 03d033cc95
Update README.md 2019-10-25 13:47:14 +02:00
Jacek Sieka 39bc73b7e0
Update README.md 2019-10-25 13:46:06 +02:00
Jacek Sieka 4e010676cc
Update README.md 2019-10-25 13:44:58 +02:00
Dustin Brody 3a71ad202d Under Debian and probably Ubuntu, simply running prometheus does not use local config 2019-10-25 11:16:19 +00:00
Ștefan Talpalaru 642691aa30
link screenshot [skip ci] 2019-10-02 22:50:40 +02:00
Ștefan Talpalaru 7dd2c657fe
metric visualisation instructions 2019-10-02 18:14:21 +02:00
Ștefan Talpalaru 013688c44b
README: minimum Git version 2019-09-12 18:29:14 +02:00
Ștefan Talpalaru b086ad9c5a
it's "libpcre3-dev" in Ubuntu too 2019-09-04 13:29:36 +02:00
Ștefan Talpalaru 0602dae2f0
spelling 2019-09-04 13:11:22 +02:00
Ștefan Talpalaru c120ec2e49
more env.sh info 2019-09-04 13:09:42 +02:00
Ștefan Talpalaru 588b766a7b
README.md: update dependencies and build documentation 2019-09-04 12:59:01 +02:00
Ștefan Talpalaru 2314b4d593
use nimbus-build-system
Also remove the nim-beacon-chain submodule and its specific
dependencies.
2019-08-22 02:02:32 +02:00
Bruno Škvorc c7c7502eae
PCRE instructions in readme 2019-08-07 11:09:45 +02:00
Jacek Sieka c531115802
Merge remote-tracking branch 'origin/master' into devel 2019-07-30 10:55:51 +02:00
Dustin Brody 78714295da
Update README.md
Removing speculative statement which hasn't come true.
2019-06-30 10:00:07 +00:00
Jacek Sieka 756738df97
Fixup raspberry instructions 2019-06-27 15:29:57 +02:00
Jacek Sieka 65809b6e47
Add RPi instructions 2019-06-27 15:29:23 +02:00
Ștefan Talpalaru 9d8aa105ef
build_nim.sh: refactoring and CI caching 2019-06-12 13:53:34 +02:00
Ștefan Talpalaru 803ac6ab7a
README.md: remove Nimble mentions 2019-03-30 21:24:54 +01:00
Bruno Škvorc 655a997559
Update README.md 2019-03-30 00:54:36 +01:00
Ștefan Talpalaru 8150199581
Makefile: low verbosity by default 2019-03-29 18:08:39 +01:00
Yuriy Glukhov 01817da06f Arch rocksdb instructions (#287) 2019-03-25 08:32:29 -06:00
Ștefan Talpalaru 9f0c945336 CI: use a release build for the test suite (#278)
* CI: use a release build for the test suite

Makefile: the "testsuite" target is no longer needed

* rename EXTRA_NIM_PARAMS to NIMFLAGS
2019-03-16 18:54:30 -06:00
Dustin Brody 63fe46fd80
add Debian and Ubuntu rocksdb installation instructions 2019-03-14 13:54:27 -07:00
Jacek Sieka 7bceefda6b
Update readme, submodule 2019-03-14 14:33:06 -06:00
Dustin Brody 7cad0cd09d
add macOS Homebrew link for Rocksdb installation 2019-03-13 08:31:48 -07:00
Ștefan Talpalaru 6495a645df
README.md: the "clean" target should never be run in parallel
(the second example doesn't do that, but you never know when users might
start adding -jN to it)
2019-03-12 15:48:39 +01:00
Ștefan Talpalaru 83d811ca1c Makefile: allow arbitrary nim params through EXTRA_NIM_PARAMS 2019-03-12 13:29:10 +02:00
Ștefan Talpalaru fba31263d4 Makefile: specify the Chronicles log level 2019-03-12 13:29:10 +02:00
Julien Eluard c8db2d9268 Fixed typo (#266) 2019-03-11 16:03:29 -06:00
Ștefan Talpalaru 9806110979 Makefile: better "github-ssh" target 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 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 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
Ș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
Ștefan Talpalaru 89044b84e7 update Nimbus header and refine db backend picking
- dynamically generated copyright year interval
- added the db backend to the header
- documented the db-backend-changing define, made it case insensitive
  and ensured wrong values would trigger compilation errors
2019-01-07 01:21:29 +02:00
Bruno Škvorc 0c2e3eb204
Update README.md 2019-01-02 14:50:44 +01:00
Bruno Škvorc e24bf52624
Update README.md 2019-01-02 14:50:29 +01:00
Bruno Škvorc f874f675a0
Update README.md 2018-12-27 15:32:35 +01:00