From 4a0f16f6d7501c07ac67c60a78e297fce384b012 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20S=C3=A1ez?= Date: Thu, 23 May 2024 17:14:23 +0200 Subject: [PATCH] Enable ppc64le Related: RHEL-39099 --- delve.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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