Commit Graph

153 Commits

Author SHA1 Message Date
Ștefan Talpalaru 3b83e22943
clean-common: Windows fix (#30)
libnatpmp needs CC redefined, even for a `mingw32-make clean`
2021-11-23 01:16:27 +01:00
Ștefan Talpalaru 93ad4a4b20
NIM_COMMIT fix (#29) 2021-11-22 18:13:01 +01:00
Ștefan Talpalaru 08000b4bf0
update: check if any work might be lost (#28) 2021-11-22 17:26:51 +01:00
Ș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 57f0718a2f
Nim-1.2.14 2021-11-09 15:50:33 +01:00
Ștefan Talpalaru e5bc3dd3a2
libnatpmp.a: silence a warning 2021-11-05 12:17:30 +01:00
Ștefan Talpalaru 5fbffb2285
don't swallow stderr with V=0 (#27) 2021-11-05 00:18:36 +01:00
Etan Kissling 9d6b4b6e98
fix build output color on macOS (#26)
On macOS, `echo` does not support the `\e` extension from GNU coreutils.
Replacing with the portable `\x1B` to fix Terminal build output colors.
2021-09-09 14:12:17 +02:00
Ștefan Talpalaru 15bc75d4cf QUICK_AND_DIRTY_NIMBLE 2021-09-07 18:28:47 +03:00
Ștefan Talpalaru 6589cedffa
libminiupnpc.a: fix Windows build when '.' not in PATH 2021-08-17 02:44:49 +02: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 b6ceb0fc65
replace csources submodule 2021-05-22 19:05:06 +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 d74428a6ee
nat-libs: don't hardcode CC for Windows 2021-04-29 23:00:28 +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 2b097ec86a
Nim-1.2.12 2021-04-16 04:08:36 +02:00
Ștefan Talpalaru 2c1e94d595
Nim: cherry-pick inline patch from "nim-1.2.6-RC1-hotfix" 2021-03-14 20:17:35 +01:00
Ștefan Talpalaru 820aeaec8e
download CA cert for Nimble 2021-02-26 01:34:21 +01:00
Ștefan Talpalaru 79fa0d6367
make $(NIM_BINARY) a phony target
and have "update-common" run "deps-common" instead of "deps"
2021-02-24 17:52:33 +01:00
Ștefan Talpalaru 316f033bad
Nim-1.2.10 2021-02-23 20:53:00 +01:00
Ștefan Talpalaru 8d7080227b
Revert "Allow specifying the BUILD_LOG_LEVEL separately"
This reverts commit 8de1f8036c.
2021-02-19 19:43:14 +01:00
Zahary Karadjov 8de1f8036c
Allow specifying the BUILD_LOG_LEVEL separately 2021-02-18 23:34:56 +02:00
Ștefan Talpalaru 17aeb26a24
comment 2021-02-11 02:15:06 +01:00
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 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 fcfbfaacd9
QUICK_AND_DIRTY_COMPILER: document why it shouldn't be used 2021-01-09 21:42:24 +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 059d8151c5
README: update URLs 2020-12-08 21:24:07 +01:00
Ștefan Talpalaru c8a1339b2b
fix typo 2020-11-22 17:09:28 +01:00
Jacek Sieka dbb7219f44
conditional pcre (#15) 2020-11-13 13:44:27 +01:00
Ștefan Talpalaru 92e5042667
USE_SYSTEM_NIM: print message to stderr 2020-10-14 01:25:15 +02:00
Ștefan Talpalaru c278412dbf
new var: PARTIAL_STATIC_LINKING 2020-10-08 21:39:40 +02: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
Mamy André-Ratsimbazafy 525772599d
support Linux 32-bit builds 2020-09-18 19:51:17 +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