From 82223d22f20dafc8dd8694abd49c57c25a840397731cc26c0682763acffe8711 Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Sat, 24 Dec 2022 15:18:25 +0000 Subject: [PATCH] Accepting request 1045200 from openSUSE:Factory:RISCV - Use generic-rv64 cpu on riscv64 OBS-URL: https://build.opensuse.org/request/show/1045200 OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=69 --- pocl.changes | 5 +++++ pocl.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/pocl.changes b/pocl.changes index 48f81cd..0e2ced6 100644 --- a/pocl.changes +++ b/pocl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Dec 24 12:27:06 UTC 2022 - Andreas Schwab + +- Use generic-rv64 cpu on riscv64 + ------------------------------------------------------------------- Mon Dec 5 13:43:13 UTC 2022 - Ondřej Súkup diff --git a/pocl.spec b/pocl.spec index b3e642c..2e48d02 100644 --- a/pocl.spec +++ b/pocl.spec @@ -100,6 +100,9 @@ This subpackage provides the development files needed for pocl. %ifarch aarch64 -DLLC_HOST_CPU=cortex-a53 \ %endif +%ifarch riscv64 + -DLLC_HOST_CPU=generic-rv64 \ +%endif %if 0%{?suse_version} <= 1500 && 0%{?sle_version} <= 150300 -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \ %endif