Commit Graph

78 Commits (402e55d115a9edc76ca786a680ab5a9cc359ff63)

Author SHA1 Message Date
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
Alexander Medvednikov 5a80bf27f4 Revert "update makefile"
This reverts commit 4229892e29.
2019-10-14 03:48:26 +03:00
Alexander Medvednikov 4229892e29 update makefile 2019-10-14 03:40:18 +03:00
joe-conigliaro 5dfdd87707
makefile: use just `uname`, not `uname -o` - osx has no `-o` (#2327)
* use just uname, not uname -s in makefile

* add mac detect
2019-10-14 01:15:12 +11:00
Nicolas Sauzede 59d4535f84 makefile: Detect Linux 2019-10-13 16:13:25 +03:00
Delyan Angelov d3a206d6db compiler: prepare for moving compiler to vlib/vcompiler (stage 1)
* compiler: prepare for moving under vlib/vcompiler .

* make: stabilize the Makefile (extract rules for freshly cloning vc and tccbin).
2019-10-13 13:11:52 +03:00
Nicolas Sauzede 12eba4d311 makfile: remove tcc before clone 2019-10-13 12:13:07 +03:00
Alexander Medvednikov 9845fade89 use tcc on linux by default 2019-10-12 16:54:53 +03:00
Alexander Medvednikov fdef2b0f8b makefile: use C 99 standard 2019-10-06 17:35:14 +03:00
Nicolas Sauzede 433e69e560 makefile: Recompile V itself also for nix, if needed
* Only self rebuild if v.c and v HEAD versions differ
2019-10-04 16:12:54 +03:00
Alexander Medvednikov 3c0fce4928
makefile: hide the warnings for now 2019-09-17 18:01:49 +03:00
vitalyster 52c5f0172e compiler: always define _UNICODE and UNICODE on Windows 2019-09-17 14:56:32 +03:00
Alexander Medvednikov 3db4d66824 operator | not defined on bool 2019-09-15 19:35:48 +03:00
Alexander Medvednikov 5055ac4b23 makefile: now that v.c is regenerated after every commit, it is no longer needed to run "v -o v compiler" 2019-09-13 14:02:34 +03:00
joe-conigliaro a0b3d0809d makefile: uname osx fix & detect MinGW & MSYS 2019-09-04 19:49:11 +03:00
Sauzede, Nicolas a206667b4d Make Makefile make windows build succesfully on MSYS2/mingw64 2019-09-04 02:43:24 +03:00
Alexander Medvednikov e2c7d3b2d9 v symlink 2019-08-27 19:35:48 +03:00
Delyan Angelov d362f73af8 compiler: support passing -cc to specify the desired C compiler 2019-08-23 11:42:48 +03:00
Alexander Medvednikov d984f2ccec make: remove curl dependency 2019-08-17 19:24:24 +03:00
Alexander Medvednikov a336775ae6
Makefile: use ./v 2019-08-16 23:31:45 +03:00