From 87dace81ba76b359f08e0d6b2a35461699199e42fb9f0b569ba1a9531e7ce230 Mon Sep 17 00:00:00 2001 From: Aaron Puchert Date: Tue, 12 Nov 2024 00:58:30 +0000 Subject: [PATCH] - Require libffi when we build openmp for offloading. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=35 --- llvm17.changes | 5 +++++ llvm17.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/llvm17.changes b/llvm17.changes index 8e4b458..ee8cf15 100644 --- a/llvm17.changes +++ b/llvm17.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 11 22:53:32 UTC 2024 - Aaron Puchert + +- Require libffi when we build openmp for offloading. + ------------------------------------------------------------------- Thu Nov 7 13:58:40 UTC 2024 - Michal Suchanek diff --git a/llvm17.spec b/llvm17.spec index 6098339..042cdc1 100644 --- a/llvm17.spec +++ b/llvm17.spec @@ -434,7 +434,7 @@ Requires(post): update-alternatives Requires(postun): update-alternatives # llvm does not work on s390 ExcludeArch: s390 -%if %{with ffi} +%if %{with ffi} || %{with openmp} BuildRequires: pkgconfig(libffi) %endif %if %{with valgrind}