1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

freebsd: update Makefile to use --filter=blob:none for vc/

This commit is contained in:
Delyan Angelov 2022-12-14 13:25:40 +02:00
parent 173b1895d6
commit 93a1cd5aab
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -5,9 +5,8 @@ LDFLAGS ?=
.PHONY: all check .PHONY: all check
all: all: vc
rm -rf vc/ git -C vc/ pull;
git clone --depth 1 --quiet https://github.com/vlang/vc
$(CC) $(CFLAGS) -std=gnu11 -w -o v1 vc/v.c -lm -lexecinfo -lpthread $(LDFLAGS) $(CC) $(CFLAGS) -std=gnu11 -w -o v1 vc/v.c -lm -lexecinfo -lpthread $(LDFLAGS)
./v1 -no-parallel -o v2 $(VFLAGS) cmd/v ./v1 -no-parallel -o v2 $(VFLAGS) cmd/v
./v2 -o v $(VFLAGS) cmd/v ./v2 -o v $(VFLAGS) cmd/v
@ -15,5 +14,8 @@ all:
@echo "V has been successfully built" @echo "V has been successfully built"
./v run ./cmd/tools/detect_tcc.v ./v run ./cmd/tools/detect_tcc.v
vc/v.c:
git clone --filter=blob:none https://github.com/vlang/vc
check: check:
./v test-all ./v test-all