Displaying 5 results from an estimated 5 matches for "cmake_shared_module_suffix".
2014 Feb 13
2
[LLVMdev] [llvm] r201072 - [CMake] Introduce llvm_add_library().
...:29 PM, NAKAMURA Takumi <geek4civic at gmail.com> wrote:
> Juergen,
>
> Thanks to let me know. I guess r200762 (and r200763) might affect.
>
> Although I won't check this on darwin box, I suspect the line in
> HandleLLVMOptions.cmake;
>
> set(LLVM_PLUGIN_EXT ${CMAKE_SHARED_MODULE_SUFFIX})
>
> Does it have expected value?
>
> 2014-02-13 10:11 GMT+09:00 Juergen Ributzka <juergen at apple.com>:
>> Hi Takumi,
>>
>> I am not sure if it this change, but recently we started to build
>> LLVMHello.so and BugpointPasses.so on OS X. A few bugpoint...
2014 Feb 13
2
[LLVMdev] [llvm] r201072 - [CMake] Introduce llvm_add_library().
...IX ${LLVM_PLUGIN_EXT})
>> endif()
>>
>> if(ARG_SHARED)
>> if (MSVC)
>> set_target_properties(${name}
>> PROPERTIES
>> IMPORT_SUFFIX ".imp")
>> endif ()
>> endif()
>>
>>
>> CMake provides CMAKE_SHARED_MODULE_SUFFIX and CMAKE_IMPORT_LIBRARY_SUFFIX.
>> Can you set those at directory scope instead of setting the target property
>> in the macro?
>
> Reasonable. They could be put into common configurator, HandleLLVMOptions.
> For now in r201072, I simply gather common logics around there.
>...
2014 Feb 10
2
[LLVMdev] [llvm] r201072 - [CMake] Introduce llvm_add_library().
...eded for, but I looked at it a
bit.
if(ARG_MODULE)
set_property(TARGET ${name} PROPERTY SUFFIX ${LLVM_PLUGIN_EXT})
endif()
if(ARG_SHARED)
if (MSVC)
set_target_properties(${name}
PROPERTIES
IMPORT_SUFFIX ".imp")
endif ()
endif()
CMake provides CMAKE_SHARED_MODULE_SUFFIX and CMAKE_IMPORT_LIBRARY_SUFFIX.
Can you set those at directory scope instead of setting the target property
in the macro?
Anyway, just a note to consider moving instead in a direction of fewer
wrappers, rather than more. I'm not familiar enough with the llvm
buildsystem to know why you...
2012 Oct 21
0
[LLVMdev] dragonegg polly support broken?
...> @@ -11,7 +11,7 @@ set(POLLY_TEST_DIRECTORIES
>
> set(POLLY_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/..")
> set(POLLY_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/..")
> -set(LLVM_SHLIBEXT "${CMAKE_SHARED_LIBRARY_SUFFIX}")
> +set(LLVM_SHLIBEXT "${CMAKE_SHARED_MODULE_SUFFIX}")
>
> if (NOT DEFINED LLVM_MAIN_SRC_DIR)
> # We are building polly out of tree, adjust the settings.
> --
> 1.7.9.5
>
2012 Oct 21
2
[LLVMdev] dragonegg polly support broken?
On 10/21/2012 11:46 AM, Jack Howarth wrote:
> On Sun, Oct 21, 2012 at 02:35:49PM -0400, Jack Howarth wrote:
>> On Sun, Oct 21, 2012 at 11:01:37AM -0700, Tobias Grosser wrote:
>>> On 10/21/2012 10:57 AM, Jack Howarth wrote:
>>>> On Sun, Oct 21, 2012 at 10:38:48AM -0700, Tobias Grosser wrote:
>>>>> On 10/21/2012 09:13 AM, Jack Howarth wrote: