[packages/llvm] add todo note about cmake dependencies

atler atler at pld-linux.org
Thu Jun 2 17:17:27 CEST 2022


commit 313f7f7338493af7f5ce99a88dff96f6a8e549a6
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Jun 2 17:16:43 2022 +0200

    add todo note about cmake dependencies

 llvm.spec | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/llvm.spec b/llvm.spec
index 5fef7d8..a1f1627 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -12,6 +12,19 @@
 # - system isl in polly?
 # - dependencies and files for lua module
 # - figure out whether we need obj.MLIRCAPIIR files
+# - cmake dependencies mess (LLVMExports.cmake appears to require all -devels):
+#   with llvm-devel and spirv-tools-devel installed but without llvm-mlir (or other packages):
+#   $ cat CMakeLists.txt
+#   find_package(LLVM)
+#   find_package(SPIRV-Tools)
+#   $ cmake -B build
+#   ...
+#   The imported target "mlir-tblgen" references the file
+#
+#      "/usr/bin/mlir-tblgen"
+#
+#   but this file does not exist.  Possible reasons include:
+#   ...
 #
 # Conditional build:
 %bcond_without	lldb			# LLDB debugger
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/llvm.git/commitdiff/313f7f7338493af7f5ce99a88dff96f6a8e549a6



More information about the pld-cvs-commit mailing list