Accepting request 1002900 from home:Andreas_Schwab:riscv:llvm

- Use correct LLVM_HOST_TRIPLE for riscv64

OBS-URL: https://build.opensuse.org/request/show/1002900
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=2
This commit is contained in:
Richard Biener 2022-09-12 12:36:45 +00:00 committed by Git OBS Bridge
parent 43f9d469ce
commit 9fce52f067
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 12 07:29:54 UTC 2022 - Andreas Schwab <schwab@suse.de>
- Use correct LLVM_HOST_TRIPLE for riscv64
-------------------------------------------------------------------
Tue Sep 6 20:23:14 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>

View File

@ -79,7 +79,12 @@
%else
%define host_runtime gnu
%endif
%ifarch riscv64
# This must match the gcc target exactly
%define host_triple %{host_cpu}-%{_host_vendor}-%{_host_os}
%else
%define host_triple %{host_cpu}-%{_host_vendor}-%{_host_os}-%{host_runtime}
%endif
# By default, build everything.
%global llvm_targets "all"