https://bugzilla.redhat.com/show_bug.cgi?id=1869907

Robert-André Mauchin 🐧 <zebo...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zebo...@gmail.com



--- Comment #1 from Robert-André Mauchin 🐧 <zebo...@gmail.com> ---
 - In order to avoid unannounced soname bump, we recommend not globbing the
major soname version:

%{_libdir}/libLLVMSPIRVLib.so.*


 - Build fails:

CMake Error at CMakeLists.txt:34 (find_package):
  Could not find a configuration file for package "LLVM" that is compatible
  with requested version "10.0.0".
  The following configuration files were considered but not accepted:
    /usr/lib64/cmake/llvm/LLVMConfig.cmake, version: 11.0.0
    /lib64/cmake/llvm/LLVMConfig.cmake, version: 11.0.0

BuildRequires:  llvm-devel

→

BuildRequires:  llvm10-devel

and

%build
%cmake -GNinja \
       -DLLVM_BUILD_TOOLS=ON \
       -DCMAKE_BUILD_TYPE=RelWithDebInfo \
       -DCMAKE_INSTALL_RPATH:BOOL=";" \
       -DCMAKE_PREFIX_PATH=%{_libdir}/llvm10


But then it fails with:

CMake Error at /usr/lib64/llvm10/lib/cmake/llvm/LLVMStaticExports.cmake:1122
(message):
  The imported target "LLVMDemangle" references the file
     "/usr/lib64/llvm10/lib/libLLVMDemangle.a"
  but this file does not exist.  Possible reasons include:
  * The file was deleted, renamed, or moved to another location.
  * An install or uninstall procedure did not complete successfully.
  * The installation package was faulty and contained
     "/usr/lib64/llvm10/lib/cmake/llvm/LLVMStaticExports.cmake"
  but not all the files it references.
Call Stack (most recent call first):
  /usr/lib64/llvm10/lib/cmake/llvm/LLVMConfig.cmake:260 (include)
  CMakeLists.txt:34 (find_package)
-- Configuring incomplete, errors occurred!


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org

Reply via email to