Displaying 4 results from an estimated 4 matches for "target_link_flag".
Did you mean:
target_link_flags
2018 Apr 11
2
[compiler-rt] r329776 - [XRay][compiler-rt] Fix osx-based builds
...> set(TEST_OBJECTS)
> get_xray_lib_for_arch(${arch} XRAY_RUNTIME_LIBS)
> @@ -55,9 +60,7 @@ macro(add_xray_unittest testname)
> RUNTIME "${XRAY_RUNTIME_LIBS}"
> DEPS gtest xray
> CFLAGS ${XRAY_UNITTEST_CFLAGS}
> - LINK_FLAGS ${TARGET_LINK_FLAGS}
> - -lstdc++ -lm ${CMAKE_THREAD_LIBS_INIT}
> - ${CMAKE_DL_LIBS_INIT} -lrt)
> + LINK_FLAGS ${TARGET_LINK_FLAGS} ${XRAY_UNITTEST_LINK_FLAGS} -lstdc++)
> set_target_properties(XRayUnitTests
> PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BI...
2018 Apr 11
0
[compiler-rt] r329776 - [XRay][compiler-rt] Fix osx-based builds
...OBJECTS)
>> get_xray_lib_for_arch(${arch} XRAY_RUNTIME_LIBS)
>> @@ -55,9 +60,7 @@ macro(add_xray_unittest testname)
>> RUNTIME "${XRAY_RUNTIME_LIBS}"
>> DEPS gtest xray
>> CFLAGS ${XRAY_UNITTEST_CFLAGS}
>> - LINK_FLAGS ${TARGET_LINK_FLAGS}
>> - -lstdc++ -lm ${CMAKE_THREAD_LIBS_INIT}
>> - ${CMAKE_DL_LIBS_INIT} -lrt)
>> + LINK_FLAGS ${TARGET_LINK_FLAGS} ${XRAY_UNITTEST_LINK_FLAGS} -lstdc++)
>> set_target_properties(XRayUnitTests
>> PROPERTIES RUNTIME_OUTPUT_DIRECTORY...
2017 Jun 04
2
building llvm_Rel400 on Scientific Linux (RHEL) 7.3 x86_64
...Thanks, Tim. I don't see "-lrt":
$BASE/llvm_Rel400/projects/compiler-rt/lib/xray/tests/CMakeLists.txt
43 if(NOT APPLE)
44 add_compiler_rt_test(XRayUnitTests ${testname}
45 OBJECTS ${TEST_OBJECTS}
46 DEPS ${TEST_DEPS}
47 LINK_FLAGS ${TARGET_LINK_FLAGS}
48 -lstdc++ -lm ${CMAKE_THREAD_LIBS_INIT}
49 -lpthread
50 -L${COMPILER_RT_LIBRARY_OUTPUT_DIR} -lclang_rt.xray-fdr-${arch})
51 endif()
2017 Jun 03
2
building llvm_Rel400 on Scientific Linux (RHEL) 7.3 x86_64
Hi,
I am trying to build the LLVM suite on a RedHat Enterprise Linux clone (Scientific Linux <https://www.scientificlinux.org/>). In the latest attempt, the build seems to complete without any explicit failures but the `check-all` process fails. Any ideas about what is wrong or suggestions for how to proceed would be much appreciated.
This is the current procedure:
sudo yum install