[PATCH] Help CMake-based applications find a specific LLVM version

Eric Christopher echristo at gmail.com
Wed Apr 16 16:22:46 PDT 2014


Applied thusly:

dzur:~/sources/llvm> git svn dcommit
Committing to https://llvm.org/svn/llvm-project/llvm/trunk ...
M cmake/modules/LLVMConfig.cmake.in
M cmake/modules/Makefile
Committed r206425
M cmake/modules/Makefile
M cmake/modules/LLVMConfig.cmake.in
r206425 = aec3278b86f59f03fb49533312d4c98fcef897e7 (refs/remotes/origin/master)
M cmake/modules/LLVMConfigVersion.cmake.in
M cmake/modules/Makefile
Committed r206426
M cmake/modules/LLVMConfigVersion.cmake.in
M cmake/modules/Makefile
r206426 = eb8b60182d7713b9b661aded5dc7c37559ffaca1 (refs/remotes/origin/master)

thanks!

Tom: You'll probably want to pull these into the release branch.

-eric


On Wed, Apr 16, 2014 at 10:06 AM, Eric Christopher <echristo at gmail.com> wrote:
> Sure. Will do
>
> On Apr 16, 2014 7:16 AM, "Brad King" <brad.king at kitware.com> wrote:
>>
>> On 04/11/2014 06:43 PM, Eric Christopher wrote:
>> > LGTM.
>>
>> Great.  Can someone with access please commit the two patches?
>>
>> Thanks,
>> -Brad
>>
>> > On Thu, Apr 3, 2014 at 10:52 AM, Brad King <brad.king at kitware.com>
>> > wrote:
>> >> Hi Folks,
>> >>
>> >> Here is a series to help CMake-based applications use code of the form
>> >>
>> >>  find_package(LLVM 3.5)
>> >>
>> >> to locate a specific version of LLVM.  The first patch exports the
>> >> LLVM_VERSION_PATCH value in LLVMConfig.cmake and the second patch
>> >> teaches LLVMConfigVersion.cmake to behave as find_package() expects.
>> >>
>> >> See the commit message in each patch for details.
>> >>
>> >> Thanks,
>> >> -Brad
>>
>



More information about the llvm-commits mailing list