Workaround tests failures on aarch64
This commit is contained in:
parent
ecf8f72447
commit
ea99ebaff6
@ -506,6 +506,10 @@ export GO_LDFLAGS="-linkmode internal"
|
|||||||
%if !%{cgo_enabled} || !%{external_linker}
|
%if !%{cgo_enabled} || !%{external_linker}
|
||||||
export CGO_ENABLED=0
|
export CGO_ENABLED=0
|
||||||
%endif
|
%endif
|
||||||
|
# workaround for https://github.com/golang/go/issues/39466 until it gests fixed
|
||||||
|
%ifarch aarch64
|
||||||
|
export CGO_CFLAG="-mno-outline-atomics"
|
||||||
|
%endif
|
||||||
|
|
||||||
# make sure to not timeout
|
# make sure to not timeout
|
||||||
export GO_TEST_TIMEOUT_SCALE=2
|
export GO_TEST_TIMEOUT_SCALE=2
|
||||||
|
Loading…
Reference in New Issue
Block a user