Commit Graph

22 Commits

Author SHA1 Message Date
Jakub Sokołowski 6b419277aa
hardcode CC to gcc for windows (#52)
Windows doesn't have a `cc` symlnk and this results in build failure:
```
C compiler (cc) not installed. Aborting.
```
Because `?=` operator treats `CC` as already set, since it defaults to `cc`:
https://www.gnu.org/software/make/manual/make.html#Implicit-Variables
2022-10-12 18:28:34 +03:00
Jakub Sokołowski 07e37730c6
allow overriding CC with clang or other (#51) 2022-10-04 19:18:45 +03:00
Ștefan Talpalaru 8425ff9e3b
"update-dev" target (#40)
OVERRIDE now defaults to 1 for "update" and 0 for "update-dev".
2022-01-26 15:20:55 +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 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 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
Jacek Sieka dbb7219f44
conditional pcre (#15) 2020-11-13 13:44:27 +01:00
Ștefan Talpalaru c278412dbf
new var: PARTIAL_STATIC_LINKING 2020-10-08 21:39:40 +02:00
Ștefan Talpalaru e104d62e4d
variables.mk: don't set LOG_LEVEL in here
so it can be given a default value in the top-level Makefile
2020-08-27 13:20:16 +02:00
Zed abf45cfa27
Support compiling without PCRE (#12) 2020-08-22 04:44:10 +02:00
Michael Bradley, Jr ed7dfd86f8 set params for dynamically linked pcre only if OS is not Win/macOS 2020-06-16 18:34:34 -05:00
Ștefan Talpalaru 34a884e1cf
fix improper escaping 2020-05-29 00:15:18 +02:00
Ștefan Talpalaru f6c093d703
quote $(LOG_LEVEL) in NIM_PARAMS 2020-05-28 03:31:08 +02:00
Ștefan Talpalaru e8e1f1c2cf
show Nim warnings by default 2020-04-18 18:28:38 +02:00
Ștefan Talpalaru 988217cc53
new env var: USE_SYSTEM_NIM 2020-04-15 17:25:03 +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 705c897ee7
move Nim, Nim-csources and nimble submodules here 2019-08-28 15:10:15 +02:00
Ștefan Talpalaru a7618a6491
initial commit 2019-08-20 23:14:45 +02:00