Displaying 3 results from an estimated 3 matches for "output_variable".
2015 Jan 27
2
[LLVMdev] CMake: Gold linker detection
Hi Rafael,
I looked at the code which you pushed a while ago to check
for the gold linker.
Code below:
execute_process(
COMMAND ${CMAKE_C_COMPILER} -Wl,--version
OUTPUT_VARIABLE stdout
ERROR_QUIET)
if("${stdout}" MATCHES "GNU gold")
set(LLVM_LINKER_IS_GOLD ON)
endif()
I was trying to build runtime libraries (compiler-rt) for ARM using clang
which includes this code.
A while ago, I saw the error message until geek4civic fixed i...
2014 May 13
2
[LLVMdev] [PATCH] CMake add_version_info_from_vcs SVN_REPOSITORY
...E)
set(git_svn_rev "-svn-${git_svn_rev}")
-
+ # Get repository URL
+ execute_process(COMMAND ${git_executable} svn info --url
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+ TIMEOUT 5
+ RESULT_VARIABLE git_result
+ OUTPUT_VARIABLE git_output)
+ if( git_result EQUAL 0 )
+ string(STRIP "${git_output}" git_svn_info_url)
+ set(SVN_REPOSITORY ${git_svn_info_url} PARENT_SCOPE)
+ endif()
# Determine if the HEAD points directly at a subversion revision.
execute_...
2015 Jan 28
2
[LLVMdev] CMake: Gold linker detection
...Sumanth Gundapaneni <sgundapa at codeaurora.org <mailto:sgundapa at codeaurora.org> > wrote:
Hi Rafael,
I looked at the code which you pushed a while ago to check for the gold linker.
Code below:
execute_process(
COMMAND ${CMAKE_C_COMPILER} -Wl,--version
OUTPUT_VARIABLE stdout
ERROR_QUIET)
if("${stdout}" MATCHES "GNU gold")
set(LLVM_LINKER_IS_GOLD ON)
endif()
I was trying to build runtime libraries (compiler-rt) for ARM using “clang” which includes this code.
A while ago, I saw the error message until geek4civic fixed i...