diff --git a/delve.spec b/delve.spec index afcc7df..5c726de 100644 --- a/delve.spec +++ b/delve.spec @@ -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