perf: use -j to build on multiple cores (#8)
* perf: use -j to build on multiple cores * chore: update version, 0.0.4
This commit is contained in:
parent
5006ff3076
commit
5dea83f9a8
2 changed files with 2 additions and 2 deletions
|
@ -111,7 +111,7 @@ func buildFromSource(pkgMeta PackageMetadata, verbose bool) (PackageMetadata, er
|
|||
}
|
||||
|
||||
buildPrint("Building")
|
||||
_, buildErr := RunCommand([]string{"make", "altinstall"}, unzippedRoot, !verbose)
|
||||
_, buildErr := RunCommand([]string{"make", "altinstall", "-j4"}, unzippedRoot, !verbose)
|
||||
|
||||
if buildErr != nil {
|
||||
return pkgMeta, buildErr
|
||||
|
|
2
v.go
2
v.go
|
@ -5,7 +5,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
Version = "0.0.3"
|
||||
Version = "0.0.4"
|
||||
Author = "Marc Cataford <hello@karnov.club>"
|
||||
Homepage = "https://github.com/mcataford/v"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue