Commit Graph

111 Commits (72c56ccc856a45d18607073afaf066eba447e8bb)

Author SHA1 Message Date
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
Delyan Angelov 8053175ead android: fix os.create and builtin 2020-01-05 20:13:35 +01:00
Nicolas Sauzede 60eec9fd4d fix Windows/msys2 build by replicating flags from make.bat 2020-01-03 08:53:41 +01:00
Alexander Medvednikov c915c58d12 local vars + Parser.errror() 2019-12-29 07:14:29 +01:00
Nicolas Sauzede c09ce9cb42 fix version check to prevent useless rebuilds 2019-12-28 08:51:08 +01:00
Delyan Angelov c1f4fc3f0f make: fix building on termux 2019-12-25 16:14:08 +03:00
Delyan Angelov 42b1660c7e move vfmt frontend program to tools/vfmt.v 2019-12-23 13:02:50 +03:00
Alexander Medvednikov b76227b781 small vfmt fixes 2019-12-22 01:39:04 +03:00
Alexander Medvednikov ef28a6b872 final vfmt run before CI check 2019-12-22 00:58:57 +03:00
Alexander Medvednikov 2b9392c46c move hashmap to its own module for now 2019-12-22 00:54:25 +03:00