Commit Graph

50 Commits

Author SHA1 Message Date
Sacha Saint-Leger 9c4c4d3acf
Edit make update warning message (#18)
* edit make update warning message

* fix shell syntax and reword the warning

* add some newlines

Co-authored-by: Ștefan Talpalaru <stefantalpalaru@yahoo.com>
2021-01-29 13:16:23 +01:00
Ștefan Talpalaru f7c732a150 new variable: QUICK_AND_DIRTY_COMPILER
Don't re-build the Nim compiler multiple times until we get identical
binaries, like "build_all.sh" does. Don't build any tools either.

Disabled by default, useful in CI.
2021-01-06 14:54:31 +02:00
Ștefan Talpalaru e2de003ce6 warn if "make update" was not executed
and warn if Make's parallelism is not enabled
2020-12-10 19:58:44 +02:00
Ștefan Talpalaru c8a1339b2b
fix typo 2020-11-22 17:09:28 +01:00
Ștefan Talpalaru 4b662df1e9
libminiupnpc.a: Windows fix 2020-10-07 01:00:57 +02:00
Ștefan Talpalaru f1234f6374
renamed the libnatpmp dir
and moved the "clean-cross" target here
2020-10-07 00:31:30 +02:00
Ștefan Talpalaru 79469de156
libnatpmp.a: use CFLAGS from the environment 2020-09-22 19:32:19 +02:00
Ștefan Talpalaru 41272d2002
update-common: delete "nimcache" directories 2020-09-20 16:03:20 +02:00
Michael Bradley a8cafce7c0
fix: use --recursive opt of git-submodule to generate vendor/.nimble (#13) 2020-09-03 22:26:40 +02:00
Ștefan Talpalaru 7c08b78522
support spaces in $(MAKE) 2020-09-03 14:01:32 +02:00
Ștefan Talpalaru 9bad27f6c2
show-deps: also show commit hashes 2020-07-16 21:02:06 +02:00
Ștefan Talpalaru 767c8e0fb4
cosmetic changes 2020-06-22 16:44:45 +02:00
Ștefan Talpalaru 0abe6535b5
remove "nat-libs" from "deps-common" 2020-06-22 16:29:20 +02:00
Ștefan Talpalaru 78eef09601
avoid a rare race in the "build" target
when two Make instances run in parallel and the timing is just right for
one of them to create the dir after the other checked for its existence,
but before it tries to create it
2020-05-22 15:31:19 +02:00
Ștefan Talpalaru 252af3e779
update-common: don't delete dotfiles 2020-05-20 21:02:05 +02:00
Ștefan Talpalaru 3512a8633b
use xargs 2020-05-20 20:36:42 +02:00
Ștefan Talpalaru 3ea7d959d7
make it quiet 2020-05-20 20:00:17 +02:00
Ștefan Talpalaru daf6c96097
fix 2020-05-20 19:55:09 +02:00
Ștefan Talpalaru 8f227779e6
Jenkins Git doesn't support "restore" 2020-05-20 19:51:13 +02:00
Ștefan Talpalaru 1706e69d84
update-common: better filename handling 2020-05-20 19:41:03 +02:00
Ștefan Talpalaru 1c26934d98
new Make target: show-deps 2020-05-20 18:42:30 +02:00
Ștefan Talpalaru 1c9feb0d66
recursive foreach 2020-05-20 15:44:17 +02:00
Ștefan Talpalaru a553d87d50
use "--recurse-submodules" 2020-05-20 15:39:51 +02:00
Ștefan Talpalaru f5278aef73
drop "-k" 2020-05-20 15:36:47 +02:00
Ștefan Talpalaru 254f2379b6
update-common: add "git restore ." 2020-05-20 15:25:46 +02:00
Ștefan Talpalaru 9c2ef2c85d
update-common: delete submodule files that would prevent a checkout 2020-05-20 15:01:56 +02:00
Ștefan Talpalaru 4ce1ae394a
update-common: run the "deps" target at the end 2020-05-15 14:26:35 +02:00
Ștefan Talpalaru 1e4051bc23
silence Make some more 2020-04-18 02:00:08 +02:00
Ștefan Talpalaru d8cde2ad85
update-common: take USE_SYSTEM_NIM into account 2020-04-15 19:19:35 +02:00
Ștefan Talpalaru 7b0a7f88c2
decouple $(NIM_BINARY) from update-common 2020-04-15 18:25:36 +02:00
Ștefan Talpalaru 3ff26b54eb
remove Go support 2020-04-15 14:37:39 +02:00
Ștefan Talpalaru acfe8c4bfe
Revert "Azure no longer has /bin/bash"
This reverts commit 4a4091141c.
2020-01-30 01:09:52 +01:00
Ștefan Talpalaru 4a4091141c
Azure no longer has /bin/bash 2020-01-28 16:23:14 +01:00
Ștefan Talpalaru a13a7efa9f
"update" target: improve submodule sync logic 2019-11-27 19:23:10 +01:00
Ștefan Talpalaru e31d0fbc90
remove git-lfs support 2019-11-22 15:53:20 +01:00
Ștefan Talpalaru 28e88efada
make update: sync and update submodules twice
to support changing the URL of a submodule's submodule without having to
explain to users why they need to run `make update` twice.
2019-11-18 09:16:20 +01:00
Ștefan Talpalaru 798b101910
libnatpmp.a: add -DNATPMP_MAX_RETRIES=4 2019-11-14 17:50:10 +01:00
Ștefan Talpalaru c29bc8342c
bump vendor/Nim 2019-10-15 18:29:35 +02:00
Ștefan Talpalaru 0641a8a04a
update-common: ignore an error 2019-09-27 06:37:21 +02:00
Ștefan Talpalaru 648a08f970
update-common: handle a modified "go.mod" 2019-09-07 22:18:12 +02:00
Ștefan Talpalaru 6c375c3474
move "go-checks" in here, since it's also used by Nimbus 2019-09-05 13:52:21 +02:00
Ștefan Talpalaru 178ded44a3
make "nat-libs" a dependency of the "deps-common" target 2019-09-04 19:13:28 +02:00
Ștefan Talpalaru bf10b1b72e
move Go-related stuff to nim-beacon-chain 2019-08-21 22:05:50 +02:00
Ștefan Talpalaru dafd9342e0
add DISABLE_GO_CHECKS flag 2019-08-21 17:32:28 +02:00
Ștefan Talpalaru ab5566603f
clean: avoid make failure 2019-08-21 14:32:13 +02:00
Ștefan Talpalaru ecaa6afcb2
clean: check if dirs exist 2019-08-21 14:28:16 +02:00
Ștefan Talpalaru a5875f5f12
fetch-dlls: no longer depend on the "deps" target 2019-08-21 01:33:01 +02:00
Ștefan Talpalaru a392b9fc34
move targets around 2019-08-21 00:17:02 +02:00
Ștefan Talpalaru dcc857b44d
fix "fetch-dlls" 2019-08-20 23:47:27 +02:00
Ștefan Talpalaru a7618a6491
initial commit 2019-08-20 23:14:45 +02:00