https://bugzilla.redhat.com/show_bug.cgi?id=2260538



--- Comment #10 from Nathan Scott <[email protected]> ---
| The build system will build for all architectures.

What I suspect is actually needed here is the intersection of 'all support
golang architectures' and 'all supported bpf architectures' (which is not all
architectures, it turns out).  There's a similar situation in the Grafana
build, where we need golang and nodejs architectures only, and this spec file
snippet is used there:

%global grafana_arches %{lua: go_arches = {}
  for arch in rpm.expand("%{go_arches}"):gmatch("%S+") do
    go_arches[arch] = 1
  end
  for arch in rpm.expand("%{nodejs_arches}"):gmatch("%S+") do
    if go_arches[arch] then
      print(arch .. " ")
  end
end}

However, I'm not aware of a bpf_arches macro - for PCP we are using a local
macro defined as: 'x86_64 %{power64} aarch64 s390x'.


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2260538

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202260538%23c10
--
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to