Ștefan Talpalaru
8d226580a0
build_nim.sh: don't set a default NIM_COMMIT value
...
Targeting a branch doesn't work, when it's a submodule pointing to an
older commit that we're dealing with.
2021-11-10 09:46:43 +01:00
Ștefan Talpalaru
15bc75d4cf
QUICK_AND_DIRTY_NIMBLE
2021-09-07 18:28:47 +03:00
Ștefan Talpalaru
7897dfe46c
deal w/ a diverged local branch where a ff merge is not possible
2021-07-30 21:34:43 +02:00
Ștefan Talpalaru
0e709abc28
build_nim.sh: deal with old local branches used as Nim targets ( #23 )
2021-07-30 01:12:26 +02:00
Ștefan Talpalaru
a1da1f403d
don't build csources twice on Nim devel
2021-06-17 04:52:02 +02:00
Ștefan Talpalaru
77747657f6
support old Git versions, like the one from Ubuntu-18.04
2021-05-25 19:51:12 +02:00
Ștefan Talpalaru
e125ec9a51
build_nim.sh: change csources repo
...
Nim devel no longer builds with the old one
2021-05-22 17:13:58 +02:00
Ștefan Talpalaru
8758242198
build_nim.sh: update "last_built_commit"
2021-05-22 04:44:06 +02:00
Ștefan Talpalaru
12c3591fc1
speculative fix
2021-05-05 12:25:14 +02:00
Ștefan Talpalaru
38e81f10d3
Windows: the "nim" symlinks lacked a suffix
2021-04-29 13:22:35 +02:00
Ștefan Talpalaru
47b4317888
deal with local modifications in the working copy
2021-04-29 01:31:35 +02:00
Ș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