search for: target_file_dir

Displaying 2 results from an estimated 2 matches for "target_file_dir".

2014 Jul 18
2
[LLVMdev] Fixing LLVM's CMake interface before LLVM3.5 release
...obalID MODULE ReplaceGetGlobalID.cpp) file(GENERATE OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/run.sh INPUT ${CMAKE_CURRENT_SOURCE_DIR}/run.sh.in) ``` where run.sh.in looks like... ``` #!/bin/bash # THIS IS A HACK - the clang target is missing, just assume its in the same directory as the opt tool $<TARGET_FILE_DIR:opt>/clang -emit-llvm -c simple_prog.c # Load our "Hello pass" as a plug-in to opt and run it on the LLVM bitcode for simple_prog $<TARGET_FILE:opt> - load $<TARGET_FILE:ReplaceGetGlobalID> -hello -stats simple_prog.bc > /dev/null ``` This exposes a few issues * run.s...
2014 Jul 16
5
[LLVMdev] Fixing LLVM's CMake interface before LLVM3.5 release
Hi All, I've been playing [1] with the newly introduced CMake interface for using exported LLVM CMake targets (e.g. the LLVMSupport library) in CMake projects and although it works there are a few things I think we should fix before the LLVM 3.5 release. Here are the current issues I see that I'd like to discuss. Just to clarify by "Targets" I mean targets in the CMake sense