Commit Graph

120 Commits (31b28af179c40be49a91db7ee189237c1eb2f953)

Author SHA1 Message Date
Delyan Angelov 31b28af179
bootstrap: remove -I ./thirdparty/stdatomic/nix from make files (#14111) 2022-04-21 00:12:50 +03:00
Delyan Angelov 137fade014
Makefile: support CFLAGS and LDFLAGS for the vc/v.c to v bootstrap. 2022-03-08 14:48:20 +02:00
Delyan Angelov 6dfa11e2f7
make: improve diagnostic messages when the prebuilt tcc executable does not work/is missing 2022-01-18 17:36:05 +02:00
Delyan Angelov 975550f912 ci: add -lpthread on FreeBSD's makefile 2021-09-28 11:42:14 +03:00
Delyan Angelov d31c9250d3 ci: further makefile bootstrapping fixes 2021-09-28 11:38:33 +03:00
Delyan Angelov 858161bbc4
ci: fix makefiles 2021-09-28 11:02:05 +03:00
crthpl 85b58b03a3
cgen: parallelize (#10844) 2021-09-28 10:28:04 +03:00
Paul Dardeau 0115a51de4
makefiles: rename as requested in issues tracker (#11380) 2021-09-04 14:32:42 +03:00
Alexander Medvednikov 0b9b80e0c9 cgen: register u8 2021-07-29 05:02:13 +03:00
Delyan Angelov b7c873498c
Makefile: remove -g from the `cc v.c -> v` bootstrapping step 2021-07-05 16:48:03 +03:00
pancake 4b11e59bb0
Makefile: honor local=1 in the fresh_tcc make target (#10172) 2021-05-22 21:08:28 +03:00
Thomas Treffner 591d185db6
builtin: fix termux make (#10016) 2021-05-06 17:05:47 +03:00
Rhialto The M c21df2d44c
v: building on NetBSD (#9953) 2021-05-03 19:50:54 +03:00
pancake 9a3869c521 v.ast: rename aarch64 to arm64 and aarch32 to arm32 2021-04-27 12:24:58 +03:00
Nicolas Sauzede 22351a6fb7
builtin: remove `unused return` C warnings (#9797) 2021-04-19 14:14:27 +03:00
Delyan Angelov 5b2cec6c6b
vc: cleanup temporary patch in Makefile 2021-03-24 19:08:44 +02:00
Delyan Angelov 49c770ea7b
vc: fix Makefile 2021-03-24 19:04:01 +02:00
Delyan Angelov bb1485745f
vc: temporary patch for v.c 2021-03-24 19:02:30 +02:00
Delyan Angelov a4690e4ce2
CI: do not use `v self` temporarily, till vc is regenerated 2021-03-23 14:58:29 +02:00
Delyan Angelov 5cfe55b7e8
Makefile: just advice doing `sudo v install` on `make install` 2021-03-11 16:33:16 +02:00
Delyan Angelov 98fe87381e
Makefile: remove `make install` target 2021-03-11 16:29:51 +02:00
SoopaKhell 1f9c006739
Makefile: add a `make install` target (#9195) 2021-03-08 17:20:26 +02:00
pancake ed9ca0b7bd
build: add address sanitizer make target (#9044) 2021-03-07 16:44:54 +01:00
Alberto González Palomo 77d2e82309
makefile: improve Makefile, support more CPU architectures (#8043)
Tested on PowerPC, IBM Power9 on Void Linux.
2021-01-11 22:30:21 +01:00
spaceface 6f5c1f060c
makefile: fix `aarch64` architecture detection, add some comments (#7504) 2020-12-23 17:20:49 +02:00
spaceface bf8cf8b817
makefile: detect CPU architecture for cloning the proper prebuilt thirdparty/tcc branch (#7502) 2020-12-23 14:41:50 +02:00
Marc Redemske ae062b1146
Makefile: trim trailing whitespace (#7203) 2020-12-09 10:56:20 +02:00
Delyan Angelov 97ed2bf211
make: remove obsolete references to /var/tmp/tcc 2020-12-03 09:17:31 +02:00
Delyan Angelov adeebad2a6
compiler: use thirdparty/tcc/tcc.exe by default, when no explicit -cc is given (#6598) 2020-11-29 16:18:49 +01:00
Delyan Angelov 5e523fd03a vc: revert previous commit, vc is now regenerated
This reverts commit e1478d02b1.
2020-10-21 14:53:34 +03:00
Delyan Angelov e1478d02b1 vc: fix stuck vc bootstrapping (fixes CI) 2020-10-21 14:43:10 +03:00
Delyan Angelov 3d0f4fd756 backporting: cleanup Makefile, use -std=gnu99 by default, honor CFLAGS and LDFLAGS (CentOS 6.9) 2020-10-07 07:05:59 +00:00
Nicolas Sauzede a6071da33b
makefile: abstract V exe extension for better coherence (#6544) 2020-10-03 12:17:33 +02:00
Delyan Angelov 25771a1afe compiler: remove -keepc option (it is now always on) 2020-07-06 13:42:18 +03:00
yuyi f1f4e380a2
make: optimize Makefile 2020-06-02 19:11:58 +03:00
Alexander Medvednikov dd34e65398 gg: sokol fixes and text rendering benchmark 2020-05-30 12:52:27 +02:00
Delyan Angelov 2eac2a5c0c make: do not pull tcc on macs 2020-05-25 15:08:21 +03:00
Delyan Angelov 7a4f26ac4f compiler: use -lpthread during building v itself. 2020-05-22 08:36:56 +03:00
Alexander Medvednikov 478ebed069 Revert "makefile: simplify and speed up"
This reverts commit c7e4f5eefb.
2020-05-13 15:33:44 +02:00
Alexander Medvednikov c7e4f5eefb makefile: simplify and speed up 2020-05-13 14:50:33 +02:00
Delyan Angelov 6180b843a1 make: add -g flag to the default vc->c CC bootstrap step 2020-04-23 21:59:40 +03:00
yuyi dbbb27ef8f
makefile: show v version at the end 2020-04-20 19:16:15 +03:00
Delyan Angelov 83dfc6b9b9 checker: add more checks for multivar assignments 2020-04-10 15:38:43 +03:00
Daniel Däschle fe05f310fb
make: remove /tmp/vc and /var/tmp/tcc when V_ALWAYS_CLEAN_TMP is set 2020-04-05 17:36:13 +03:00
bokunodev 877b474fe1
makefile: use new flags 2020-03-10 14:24:34 +01:00
Delyan Angelov 8373ece209
make: fix building v with msys2's make.exe on windows 2020-03-02 18:16:12 +01:00
Delyan Angelov 10e15e5de7
make and vself: cleanup make based on the new 'v self' 2020-02-28 16:04:22 +01:00
radare 211d35d647 fix build on FreeBSD 2020-02-10 09:00:26 +01:00
lutherwenxu 9332a83ce6
move v.v to cmd/v 2020-02-09 10:08:04 +01:00
Mathieu Aubin dc55ce4764 add static compilation to Makefile 2020-01-14 16:17:17 +01:00