LTO by default
This commit is contained in:
parent
654fcbcd67
commit
8827c02861
@ -56,9 +56,9 @@ func StartPackageQueueWorker(ctx context.Context) {
|
|||||||
return true
|
return true
|
||||||
})
|
})
|
||||||
if needsBuild {
|
if needsBuild {
|
||||||
typ := domain.BuildTypeNormal
|
typ := domain.BuildTypeLTO
|
||||||
if errPreviously {
|
if errPreviously {
|
||||||
typ = domain.BuildTypeLTO
|
typ = domain.BuildTypeNormal
|
||||||
}
|
}
|
||||||
buildItem := domain.BuildQueueItem{
|
buildItem := domain.BuildQueueItem{
|
||||||
Source: v,
|
Source: v,
|
||||||
|
@ -425,9 +425,6 @@ func GetPackagesCount() domain.PackagesCount {
|
|||||||
case domain.Error:
|
case domain.Error:
|
||||||
count.Error++
|
count.Error++
|
||||||
}
|
}
|
||||||
if pkg.LastBuildStatus == domain.Error {
|
|
||||||
count.Error++
|
|
||||||
}
|
|
||||||
return false
|
return false
|
||||||
})
|
})
|
||||||
return true
|
return true
|
||||||
|
Loading…
Reference in New Issue
Block a user