Bug#735592: llvm-3.5-dev: LLVM/Clang CMake package files missing
Sylvestre Ledru
sylvestre at debian.org
Wed Feb 19 17:45:25 UTC 2014
On 19/02/2014 15:49, Brad King wrote:
> On 02/14/2014 12:41 PM, Sylvestre Ledru wrote:
>> I just uploaded a new snapshot release of llvm with your changes.
> Thanks. However, the files still do not appear as of 1:3.5~svn201412-1.
> I downloaded the package source and it does have the changes to the
> Makefile rules but the files still do not seem to be installed. Does
> the packaging config file "debian/llvm-3.5-dev.install" line:
>
> cmake/modules/*.cmake usr/share/llvm-3.5/cmake/
>
> influence this? The missing modules appear in the build tree here:
>
> cmake/modules/LLVMConfig.cmake
> cmake/modules/LLVMConfigVersion.cmake
> cmake/modules/LLVMExports.cmake
>
> The "make install" rules install the needed modules from both the
> build and source trees when building with configure+make by hand
> but I have not tried building the debian package from source.
>
>
Hmm, that is surprising. I just restarted a build to check that.
After the build/make install, I have:
# ls -1 debian/llvm-3.5-dev/usr/share/llvm-3.5/cmake/
AddLLVM.cmake
AddLLVMDefinitions.cmake
CheckAtomic.cmake
ChooseMSVCCRT.cmake
GetHostTriple.cmake
GetSVN.cmake
HandleLLVMOptions.cmake
HandleLLVMStdlib.cmake
LLVM-Config.cmake
LLVMParseArguments.cmake
LLVMProcessSources.cmake
TableGen.cmake
VersionFromVCS.cmake
but in the package, after the files are supposed to be moved, I get:
ls -1 ./debian/tmp/usr/lib/llvm-3.5/share/llvm/cmake/
AddLLVM.cmake
AddLLVMDefinitions.cmake
ChooseMSVCCRT.cmake
GetSVN.cmake
HandleLLVMOptions.cmake
HandleLLVMStdlib.cmake
LLVM-Config.cmake
LLVMConfig.cmake
LLVMConfigVersion.cmake
LLVMExports.cmake
LLVMParseArguments.cmake
LLVMProcessSources.cmake
TableGen.cmake
# ls -1 build-llvm/cmake/modules/
LLVMBuildExports.cmake
LLVMConfig.cmake
LLVMConfigVersion.cmake
LLVMExports.cmake
Makefile
=> That might be the cause but I am not sure why. (maybe dh_install is
confused because there are two
cmake/modules/*.cmake)
I am sick today :/ So, I won't spend too much time on this (it would be
wasted) but I will have a look. That is an interesting issue (or please
go ahead).
Thanks again for your work. It is great (and I am looking forward to
switch to cmake)
S
More information about the Pkg-llvm-team
mailing list