[packages/llvm] - clean mlir objects when building with just mlir, not flang

qboosh qboosh at pld-linux.org
Mon Jul 3 07:53:35 CEST 2023


commit 80920c3548ed6462944747f55d5a4b989989b2c6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jul 3 06:26:34 2023 +0200

    - clean mlir objects when building with just mlir, not flang

 llvm.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/llvm.spec b/llvm.spec
index 72e68d0..15f8a4c 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -880,7 +880,7 @@ install -d $RPM_BUILD_ROOT%{bash_compdir}
 %{__rm} $RPM_BUILD_ROOT%{_datadir}/clang/clang-format-bbedit.applescript
 # it seems it is used internally by an extra clang tool
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libfindAllSymbols.a
-%if %{with flang}
+%if %{with mlir}
 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/objects-PLD
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/llvm.git/commitdiff/80920c3548ed6462944747f55d5a4b989989b2c6



More information about the pld-cvs-commit mailing list