[llvm-bugs] [Bug 47878] New: LLVM/Clang Windows installer doesn't provide CMake package information
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Oct 16 06:35:56 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=47878
Bug ID: 47878
Summary: LLVM/Clang Windows installer doesn't provide CMake
package information
Product: Packaging
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Windows Installer
Assignee: unassignedbugs at nondot.org
Reporter: cristian.adam at gmail.com
CC: llvm-bugs at lists.llvm.org
After installing LLVM-11.0.0-win64.exe there is no useful CMake package
information present:
c:\Program Files\LLVM\lib\cmake
$ tree /f
C:.
└───llvm
LLVMConfigExtensions.cmake
Without the CMake package files one cannot simply configure a project that
consumes LLVM libraries with CMake like for example:
list(APPEND CMAKE_PREFIX_PATH "c:\\Program Files\\LLVM")
find_package(Clang)
target_link_libraries(my_target PRIVATE Clang)
In comparsion the Ubuntu 20.04
clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz package contains:
C:\llvm\clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04\lib\cmake
$ tree /f
C:.
├───clang
│ ClangConfig.cmake
│ ClangTargets-release.cmake
│ ClangTargets.cmake
│
├───lld
│ LLDConfig.cmake
│ LLDTargets-release.cmake
│ LLDTargets.cmake
│
├───llvm
│ AddLLVM.cmake
│ AddLLVMDefinitions.cmake
│ AddOCaml.cmake
│ AddSphinxTarget.cmake
│ CheckAtomic.cmake
│ CheckCompilerVersion.cmake
│ CheckLinkerFlag.cmake
│ ChooseMSVCCRT.cmake
│ CrossCompile.cmake
│ DetermineGCCCompatible.cmake
│ FindGRPC.cmake
│ FindLibpfm.cmake
│ FindOCaml.cmake
│ FindSphinx.cmake
│ FindZ3.cmake
│ GenerateVersionFromVCS.cmake
│ HandleLLVMOptions.cmake
│ HandleLLVMStdlib.cmake
│ LLVM-Config.cmake
│ LLVMConfig.cmake
│ LLVMConfigExtensions.cmake
│ LLVMConfigVersion.cmake
│ LLVMDistributionSupport.cmake
│ LLVMExports-release.cmake
│ LLVMExports.cmake
│ LLVMExternalProjectUtils.cmake
│ LLVMInstallSymlink.cmake
│ LLVMProcessSources.cmake
│ TableGen.cmake
│ TensorFlowCompile.cmake
│ UseLibtool.cmake
│ VersionFromVCS.cmake
│
├───mlir
│ AddMLIR.cmake
│ MLIRConfig.cmake
│ MLIRTargets-release.cmake
│ MLIRTargets.cmake
│
└───polly
PollyConfig.cmake
PollyExports-all.cmake
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201016/91d952d8/attachment.html>
More information about the llvm-bugs
mailing list