Description of problem: I'm having issues with the LLVM/Clang packages. It seems these packages are missing files that I can only obtain when building LLVM/Clang myself. I'd rather use Fedora's packages, and so I am wondering if these files can be included in either an existing or a new devel package. The files I am referring to are the LLVM cmake modules - applications that build custom LLVM passes require the LLVM cmake modules during the build process. How reproducible: For llvm-3.2, the files I'm referring to exist in: llvm-3.2.src/cmake/modules/*.cmake And after building LLVM/Cmake like this: wget http://llvm.org/releases/3.2/llvm-3.2.src.tar.gz wget http://llvm.org/releases/3.2/clang-3.2.src.tar.gz tar xaf llvm-3.2.src.tar.gz tar xaf clang-3.2.src.tar.gz cp -R clang-3.2.src llvm-3.2.src/tools/clang cd llvm-3.2.src/ mkdir build cd build/ cmake -DCMAKE_INSTALL_PREFIX=/home/karsten/.local ../. make make install the files are then installed to: /home/karsten/.local/share/llvm/cmake/*.cmake Neither the llvm or llvm-devel packages contain these files. Version-Release number of selected component (if applicable): 3.2-1.fc19 Actual results: LLVM CMake modules are not included in llvm-devel package. Expected results: LLVM CMake modules are included in llvm-devel package. Additional info: Is there an existing package that I am missing that contains these files? Otherwise, does it make sense to include these files in the llvm-devel package? See this Debian bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701153
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19
Fedora's llvm build does not use cmake but "configure": http://pkgs.fedoraproject.org/cgit/llvm.git/plain/llvm.spec IMO, it would make more sense to submit a bug report upstream and request that the CMake support files are installed always.
(In reply to Michael Schwendt from comment #3) > Fedora's llvm build does not use cmake but "configure": > http://pkgs.fedoraproject.org/cgit/llvm.git/plain/llvm.spec > OK, but I don't see how the files that get *bundled* in the llvm package depend on the tool used to *build* the package. > IMO, it would make more sense to submit a bug report upstream and request > that the CMake support files are installed always. Where should I report this?
I was trying to switch LLVM build from autotools to cmake to allow separate building of Clang and LLDB. But it just didn't work. It required a lot of patching and there were still some problems. I gave up because it was demanding. And upstream documentation prefers to build the tools withing LLVM tree. If upstream improves cmake support, it might be possible in future. But not now.
Can you please explain why your LLVM build needs to change to cmake? You should be able to continue to build LLVM with autotools as before. All I am asking is that some files in the LLVM source distribution get included in the rpm. I think all you have to do is change you spec file, not the build process. I can see where the confusion comes in, since the example in the original post says you need to reproduce it using cmake. I'll soon post an example to reproduce it with autotools.
wget http://llvm.org/releases/3.2/llvm-3.2.src.tar.gz tar xaf llvm-3.2.src.tar.gz Now I ask the the files in llvm-3.2.src/cmake/modules/*.cmake are included in llvm-devel or some other rpm. Actually, there is no need to build llvm at all to obtain the files I am asking to be included in the rpm. Although one could build llvm that using autotools like this: cd llvm-3.2.src/ ./configure make The files I am asking for will still exist in llvm-3.2.src/cmake/modules/*.cmake. Does this make sense, or am I missing something?
In case its helpful, debian solved this by placing those files (llvm-3.2.src/cmake/modules/*.cmake) in a new llvm-toolchain package. See here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701153
OK, I will take a look at it.
llvm-3.3-4.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/llvm-3.3-4.fc19
llvm-3.3-4.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/llvm-3.3-4.fc20
Package llvm-3.3-4.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing llvm-3.3-4.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-23760/llvm-3.3-4.fc19 then log in and leave karma (feedback).
llvm-3.3-4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
llvm-3.3-4.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.