internal/rosa/gnu: gnutls disable arm64 hardware acceleration
All checks were successful
Test / Create distribution (push) Successful in 1m22s
Test / Sandbox (push) Successful in 3m22s
Test / Hakurei (push) Successful in 5m9s
Test / ShareFS (push) Successful in 5m9s
Test / Sandbox (race detector) (push) Successful in 6m17s
Test / Hakurei (race detector) (push) Successful in 7m42s
Test / Flake checks (push) Successful in 1m52s
All checks were successful
Test / Create distribution (push) Successful in 1m22s
Test / Sandbox (push) Successful in 3m22s
Test / Hakurei (push) Successful in 5m9s
Test / ShareFS (push) Successful in 5m9s
Test / Sandbox (race detector) (push) Successful in 6m17s
Test / Hakurei (race detector) (push) Successful in 7m42s
Test / Flake checks (push) Successful in 1m52s
Hardware on arm64 is quite messy, this miscompiles. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
package rosa
|
package rosa
|
||||||
|
|
||||||
import "hakurei.app/internal/pkg"
|
import (
|
||||||
|
"runtime"
|
||||||
|
|
||||||
|
"hakurei.app/internal/pkg"
|
||||||
|
)
|
||||||
|
|
||||||
func (t Toolchain) newM4() (pkg.Artifact, string) {
|
func (t Toolchain) newM4() (pkg.Artifact, string) {
|
||||||
const (
|
const (
|
||||||
@@ -876,6 +880,15 @@ func (t Toolchain) newGnuTLS() (pkg.Artifact, string) {
|
|||||||
version = "3.8.12"
|
version = "3.8.12"
|
||||||
checksum = "VPdP-nRydQQRJcnma-YA7CJYA_kzTJ2rb3QFeP6D27emSyInJ8sQ-Wzn518I38dl"
|
checksum = "VPdP-nRydQQRJcnma-YA7CJYA_kzTJ2rb3QFeP6D27emSyInJ8sQ-Wzn518I38dl"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var configureExtra []KV
|
||||||
|
switch runtime.GOOS {
|
||||||
|
case "arm64":
|
||||||
|
configureExtra = []KV{
|
||||||
|
{"disable-hardware-acceleration"},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return t.NewPackage("gnutls", version, t.NewViaGit(
|
return t.NewPackage("gnutls", version, t.NewViaGit(
|
||||||
"https://gitlab.com/gnutls/gnutls.git",
|
"https://gitlab.com/gnutls/gnutls.git",
|
||||||
"refs/tags/"+version,
|
"refs/tags/"+version,
|
||||||
@@ -992,7 +1005,7 @@ index 1b78b8cf1..350156a86 100644
|
|||||||
}, &MakeHelper{
|
}, &MakeHelper{
|
||||||
Generate: "./bootstrap --skip-po --no-git --gnulib-srcdir=gnulib",
|
Generate: "./bootstrap --skip-po --no-git --gnulib-srcdir=gnulib",
|
||||||
|
|
||||||
Configure: []KV{
|
Configure: append([]KV{
|
||||||
{"disable-doc"},
|
{"disable-doc"},
|
||||||
{"disable-openssl-compatibility"},
|
{"disable-openssl-compatibility"},
|
||||||
|
|
||||||
@@ -1001,7 +1014,7 @@ index 1b78b8cf1..350156a86 100644
|
|||||||
|
|
||||||
{"with-zlib", "link"},
|
{"with-zlib", "link"},
|
||||||
{"with-zstd", "link"},
|
{"with-zstd", "link"},
|
||||||
},
|
}, configureExtra...),
|
||||||
},
|
},
|
||||||
Gzip,
|
Gzip,
|
||||||
Automake,
|
Automake,
|
||||||
|
|||||||
Reference in New Issue
Block a user