Enable ppc64le

Related: RHEL-39099
This commit is contained in:
Alejandro Sáez 2024-05-23 17:14:23 +02:00 committed by Álex Sáez
parent 4139e85015
commit 4a0f16f6d7

View File

@ -1,6 +1,11 @@
# Run tests in check section
%bcond_without check
%ifarch ppc64le
%global exp "-tags=exp.linuxppc64le"
%endif
# https://github.com/go-delve/delve
%global goipath github.com/go-delve/delve
Version: 1.22.1
@ -12,8 +17,8 @@ easy to invoke and easy to use. Chances are if you're using a debugger, things
aren't going your way. With that in mind, Delve should stay out of your way as
much as possible.}
# Currently Delve only supports x86_64 and aarch64
%global golang_arches x86_64 aarch64
# Currently Delve only supports x86_64, aarch64, and ppc64le
%global golang_arches x86_64 aarch64 ppc64le
%gometa
@ -93,7 +98,7 @@ cp -r pkg/proc/internal/ebpf $delvepath/pkg/proc/internal/
pushd $delvepath
echo "=== Start tests ==="
%gotest $(go list ./... | awk '!/(cmd|scripts)/ {print $1}')
%gotest %{?exp} $(go list ./... | awk '!/(cmd|scripts)/ {print $1}')
echo "=== End tests ==="
rm -rf $delvepath
popd