49 Commits

Author SHA1 Message Date
Ștefan Talpalaru
135e43468f
add an upstream remote to the Status Nim fork repo
and fix the Nimble commit that went missing upstream at some point
2021-04-29 01:07:25 +02:00
Ștefan Talpalaru
7d418e44da move from timestamps to commit hashes
This allows a faster path for the most common scenario and avoiding a
hard link that probably doesn't work on Windows.
2021-04-28 18:00:44 +03:00
Zahary Karadjov
dc8e54b1e9 Allow the user to specify the Nim version in an ENV variable 2021-04-28 18:00:44 +03:00
Ștefan Talpalaru
820aeaec8e
download CA cert for Nimble 2021-02-26 01:34:21 +01:00
Ștefan Talpalaru
316f033bad
Nim-1.2.10 2021-02-23 20:53:00 +01:00
Ștefan Talpalaru
17aeb26a24
comment 2021-02-11 02:15:06 +01:00
Ștefan Talpalaru
53870bc6bc
add_submodule.sh: ignore only untracked files in submodules 2021-01-20 20:02:59 +01:00
Ștefan Talpalaru
98b580a00e
QUICK_AND_DIRTY_COMPILER: add a bootstrap iteration 2021-01-10 22:53:15 +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
92e5042667
USE_SYSTEM_NIM: print message to stderr 2020-10-14 01:25:15 +02:00
Ștefan Talpalaru
79469de156
libnatpmp.a: use CFLAGS from the environment 2020-09-22 19:32:19 +02:00
Mamy André-Ratsimbazafy
525772599d
support Linux 32-bit builds 2020-09-18 19:51:17 +02:00
Jakub
384264142c
use env bash shebangs for portability (#11)
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-08-13 15:37:57 +02:00
Ștefan Talpalaru
9bad27f6c2
show-deps: also show commit hashes 2020-07-16 21:02:06 +02:00
Ștefan Talpalaru
077cba3487
build_nim.sh: quiet Git cloning 2020-06-19 00:46:22 +02:00
Ștefan Talpalaru
f764fdf7f2
build_p2pd.sh: print target version 2020-06-18 23:07:56 +02:00
Ștefan Talpalaru
16aa087173
build_p2pd.sh: move to a timestamp file 2020-06-18 19:28:42 +02:00
Ștefan Talpalaru
ae49e03af6
Merge branch 'Nim-1-2-2' 2020-06-17 14:23:02 +02:00
Ștefan Talpalaru
a662777d03
document the scripts 2020-06-14 19:12:27 +02:00
Ștefan Talpalaru
c2f9ac62f4
Nim-1.2.2-RC2 2020-06-03 14:47:27 +02:00
Ștefan Talpalaru
fb6a9d2f8d
env.sh: print a message when using the system Nim 2020-05-22 15:41:50 +02:00
Ștefan Talpalaru
89709a0913
add comments 2020-05-01 15:10:44 +02:00
Ștefan Talpalaru
6a32811ebd
AppVeyor's Git is using a strftime() that doesn't support %s 2020-04-30 22:27:55 +02:00
Ștefan Talpalaru
c8278c4ca4
"--date:unix" -> "--date=format-local:%s"
- "--date:unix" was introduced in Git 2.9.4, while
  "--date=format-local:..." appeared in 2.7.0
2020-04-30 16:58:16 +02:00
Ștefan Talpalaru
988217cc53
new env var: USE_SYSTEM_NIM 2020-04-15 17:25:03 +02:00
Ștefan Talpalaru
3ff26b54eb
remove Go support 2020-04-15 14:37:39 +02:00
Zahary Karadjov
088d3b7f68 The zsh PATH issue strikes again; Use more portable code 2020-02-25 18:48:15 +02:00
Zahary Karadjov
9f43764458 Add the Nimble bin directory to the PATH
I'm using this directory as a place to put the new testrunner exe
from the testutils package. For now, I'm doing this manually, but
it may be automated by the Makefiles in the future.
2020-02-25 18:48:15 +02:00
Ștefan Talpalaru
2c4faa5372
"--skipUserCfg --skipParentCfg" does the trick 2020-02-12 01:40:41 +01:00
Ștefan Talpalaru
9bf2fc264c
more debugging 2020-02-12 01:27:15 +01:00
Ștefan Talpalaru
cc48d62c22
more verbosity 2020-02-12 01:11:00 +01:00
Ștefan Talpalaru
5c9585b004
add "-d:disableMarchNative" to "koch boot" 2020-02-12 00:36:19 +01:00
Ștefan Talpalaru
6cfabf7820
disable warnings/hints when building the compiler
fixes https://github.com/status-im/nimbus-build-system/issues/4
2019-12-03 17:16:24 +01:00
Ștefan Talpalaru
351b68fd94
fix logical error 2019-10-29 15:57:26 +01:00
Ștefan Talpalaru
15f531200e
Merge branch 'master' into nim_v1 2019-10-28 21:05:44 +01:00
Ștefan Talpalaru
dee348f0fa
build_nim.sh: bump csources and Nimble target commits
so they work with the latest Nim in https://github.com/status-im/Nim
("use the latest...") strategy employed by projects other than Nimbus
and nim-beacon-chain
2019-10-23 22:38:02 +02:00
Ștefan Talpalaru
d58ee95fe0
build_rocksdb.sh: use the NPROC env var for number of make jobs 2019-10-21 23:39:11 +02:00
Ștefan Talpalaru
6261b66a25
build_nim.sh: also rebuild when the compiled commit is newer
than the last Nim repo commit (useful when switching branches)
2019-10-02 14:51:39 +02:00
Ștefan Talpalaru
6b4fed06ac
build_nim.sh: store a timestamp in a separate file 2019-10-02 14:50:13 +02:00
Ștefan Talpalaru
bf86dccf4d
add comment 2019-09-04 18:58:26 +02:00
Zahary Karadjov
58780243a7
Alternative fix for the Nim path problem in zsh 2019-09-04 16:51:58 +02:00
Ștefan Talpalaru
705c897ee7
move Nim, Nim-csources and nimble submodules here 2019-08-28 15:10:15 +02:00
Ștefan Talpalaru
cc71f15243
build_p2pd.sh: allow setting LIBP2P_COMMIT from the command line 2019-08-26 16:38:31 +02:00
Ștefan Talpalaru
e359e17445
build_p2pd.sh 2019-08-25 15:44:14 +02:00
Ștefan Talpalaru
ed16839098
env.sh: Zsh support 2019-08-23 20:24:45 +02:00
Ștefan Talpalaru
9397da232f
env.sh: $0 -> $BASH_SOURCE (to allow sourcing the file)
and set the prompt in `env.sh bash`
2019-08-23 18:55:16 +02:00
Ștefan Talpalaru
c2ca83644e
env.sh needs Bash 2019-08-21 17:43:00 +02:00
Ștefan Talpalaru
17b4288519
env.sh: new functions - "nimble" and "add_submodule" 2019-08-21 17:06:22 +02:00
Ștefan Talpalaru
a7618a6491
initial commit 2019-08-20 23:14:45 +02:00