Enable ppc64le
Related: RHEL-39099
This commit is contained in:
parent
4139e85015
commit
4a0f16f6d7
11
delve.spec
11
delve.spec
@ -1,6 +1,11 @@
|
|||||||
# Run tests in check section
|
# Run tests in check section
|
||||||
%bcond_without check
|
%bcond_without check
|
||||||
|
|
||||||
|
%ifarch ppc64le
|
||||||
|
%global exp "-tags=exp.linuxppc64le"
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
# https://github.com/go-delve/delve
|
# https://github.com/go-delve/delve
|
||||||
%global goipath github.com/go-delve/delve
|
%global goipath github.com/go-delve/delve
|
||||||
Version: 1.22.1
|
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
|
aren't going your way. With that in mind, Delve should stay out of your way as
|
||||||
much as possible.}
|
much as possible.}
|
||||||
|
|
||||||
# Currently Delve only supports x86_64 and aarch64
|
# Currently Delve only supports x86_64, aarch64, and ppc64le
|
||||||
%global golang_arches x86_64 aarch64
|
%global golang_arches x86_64 aarch64 ppc64le
|
||||||
|
|
||||||
%gometa
|
%gometa
|
||||||
|
|
||||||
@ -93,7 +98,7 @@ cp -r pkg/proc/internal/ebpf $delvepath/pkg/proc/internal/
|
|||||||
|
|
||||||
pushd $delvepath
|
pushd $delvepath
|
||||||
echo "=== Start tests ==="
|
echo "=== Start tests ==="
|
||||||
%gotest $(go list ./... | awk '!/(cmd|scripts)/ {print $1}')
|
%gotest %{?exp} $(go list ./... | awk '!/(cmd|scripts)/ {print $1}')
|
||||||
echo "=== End tests ==="
|
echo "=== End tests ==="
|
||||||
rm -rf $delvepath
|
rm -rf $delvepath
|
||||||
popd
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user