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
Alexander Medvednikov
b188ecf680
Makefile: re-write `make test` in V
2019-08-16 16:51:46 +03:00
Alexander Medvednikov
09340d48a0
Makefile: simplify
2019-08-16 09:36:14 +03:00
Alexander Medvednikov
40e788552c
Makefile: fix info message
2019-08-16 09:25:10 +03:00
Alexander Medvednikov
287ab1ffb0
Makefile: don't build vget (openssl dependency)
2019-08-13 01:07:21 +03:00
Delyan Angelov
e96f0b5409
Makefile: use simpler shell syntax.
2019-08-12 09:13:44 +03:00
Delyan Angelov
58b52aa9fb
Makefile: 'make install' should build v too.
2019-08-10 10:20:59 +02:00
Alexander Medvednikov
cb7e87589c
Update Makefile
2019-08-10 10:17:58 +02:00
iRedMail
2ebfc8ab73
Fix copy issue and symbol link
...
- Fix the issue while running `make install` on Debian 10:
```
# make install
rm -rf /usr/local/{bin/v,lib/vlang}
mkdir -p /usr/local/lib/vlang /usr/local/bin
cp -fr {v,vlib,thirdparty} /usr/local/lib/vlang
cp: cannot stat '{v,vlib,thirdparty}': No such file or directory
make: *** [Makefile:49: install] Error 1
```
- Force to create symbol link if `${PREFIX}/bin/v` already exists.
2019-08-10 08:37:25 +02:00