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

cgen: parallel cc for much faster compilation using all CPU cores

This commit is contained in:
Alexander Medvednikov
2022-10-01 10:03:59 +03:00
parent be7b0f1dc5
commit 3d2588f101
16 changed files with 289 additions and 95 deletions

View File

@@ -247,6 +247,8 @@ jobs:
./v2 -o v3 -usecache cmd/v
./v3 version
./v3 -o tetris -usecache examples/tetris/tetris.v
- name: V self compilation with -parallel-cc
./v -o v2 -parallel-cc cmd/v
- name: Test password input
run: |
./v examples/password
@@ -317,6 +319,8 @@ jobs:
run: ./v -autofree -experimental -o tetris examples/tetris/tetris.v
- name: Build option_test.v with -autofree
run: ./v -autofree vlib/v/tests/option_test.v
- name: V self compilation with -parallel-cc
./v -o v2 -parallel-cc cmd/v
- name: Build modules
run: |
./v build-module vlib/os