Commit Graph

97 Commits (d57a9c419d047711681c505bc9f61237c23b50d8)

Author SHA1 Message Date
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
Delyan Angelov faca61c50a makefile: run make with -j4 on unix CIs 2019-12-22 00:09:33 +03:00
Delyan Angelov 39bc38233a android: support more termux users without make errors 2019-11-29 12:29:37 +03:00
Delyan Angelov 00365b082f make: fix make on android/termux 2019-11-21 15:03:45 +03:00
Alexander Medvednikov 4c0269597d fix repl tests; change asm syntax a bit 2019-11-18 11:59:13 +03:00
Alexander Medvednikov f7c7ffecb3 makefile: pre-build builtin modules 2019-11-18 03:51:14 +03:00
Alexander Medvednikov ad7b39d763 fix makefile 2019-11-07 17:57:20 +03:00
Alexander Medvednikov 1687afba9f remove locale.h and unistd.h 2019-11-05 20:05:25 +03:00
Alexander Medvednikov 01dba479a4 makefile: remove -O2 2019-10-31 22:30:35 +03:00
Alexander Medvednikov 2798e59e7f makefile: build V with -O2 2019-10-29 12:42:20 +03:00
Alexander Medvednikov a6aad880f7 gg: resizable window option 2019-10-23 12:17:08 +03:00
Unknown User 1795d34a1f Makefile: use LDFLAGS 2019-10-18 20:22:47 +03:00
Nicolas Sauzede 69b4594bb3 makefile: download tcc linux and windows only 2019-10-15 17:22:16 +03:00
Alexander Medvednikov 093d8a2b00 compiler: remove math dependency 2019-10-14 08:34:48 +03:00
Alexander Medvednikov 387e56e215 move compiler/main.v to v.v 2019-10-14 04:41:37 +03:00