Displaying 8 results from an estimated 8 matches for "llvm_externalproject_add".
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
2016 Jun 09
9
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
...dded or removed.
> > +
> > +add_custom_target(runtimes)
> > +
> > +file(GLOB entries *)
> > +foreach(entry ${entries})
> > + if(IS_DIRECTORY ${entry} AND EXISTS ${entry}/CMakeLists.txt)
> > + get_filename_component(projName ${entry} NAME)
> > + llvm_ExternalProject_Add(${projName} ${entry} USE_TOOLCHAIN)
> > + add_dependencies(runtimes ${projName})
> > + endif()
> > +endforeach(entry)
> > Index: cmake/modules/LLVMExternalProjectUtils.cmake
> > ===================================================================
> > --- cmake...
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
2016 Jun 09
2
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
...om_target(runtimes)
>>> > +
>>> > +file(GLOB entries *)
>>> > +foreach(entry ${entries})
>>> > + if(IS_DIRECTORY ${entry} AND EXISTS ${entry}/CMakeLists.txt)
>>> > + get_filename_component(projName ${entry} NAME)
>>> > + llvm_ExternalProject_Add(${projName} ${entry} USE_TOOLCHAIN)
>>> > + add_dependencies(runtimes ${projName})
>>> > + endif()
>>> > +endforeach(entry)
>>> > Index: cmake/modules/LLVMExternalProjectUtils.cmake
>>> > ===============================================...
2020 Jun 24
7
[RFC] Compiled regression tests.
...tidy, and clang-format can easily be applied on the code. The
second argument to run_opt is the preprocessor directive for the IR
such that multiple IR modules can be embedded into the file.
Such tests can be compiled in two modes: Either within the LLVM
project, or as an external subproject using llvm_ExternalProject_Add.
The former has the disadvantage that new .cxx files dumped into the
test folder are not recognized until the next cmake run, unless the
CONFIGURE_DEPENDS option is used. I found this adds seconds to each
invocation of ninja which I considered a dealbreaker. The external
project searched for tests...
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
2016 Jun 10
4
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
...>>>>> > +file(GLOB entries *)
>>>>> > +foreach(entry ${entries})
>>>>> > + if(IS_DIRECTORY ${entry} AND EXISTS ${entry}/CMakeLists.txt)
>>>>> > + get_filename_component(projName ${entry} NAME)
>>>>> > + llvm_ExternalProject_Add(${projName} ${entry} USE_TOOLCHAIN)
>>>>> > + add_dependencies(runtimes ${projName})
>>>>> > + endif()
>>>>> > +endforeach(entry)
>>>>> > Index: cmake/modules/LLVMExternalProjectUtils.cmake
>>>>> > =======...
2017 Nov 25
2
PSA: debuginfo-tests workflow changing slightly
...ALL_PROJECTS}), or \"all\".")
if( LLVM_ENABLE_PROJECTS STREQUAL "all" )
@@ -885,13 +885,16 @@ if( LLVM_INCLUDE_EXAMPLES )
endif()
if( LLVM_INCLUDE_TESTS )
- if(EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite AND TARGET clang)
- include(LLVMExternalProjectUtils)
- llvm_ExternalProject_Add(test-suite
${LLVM_MAIN_SRC_DIR}/projects/test-suite
- USE_TOOLCHAIN
- EXCLUDE_FROM_ALL
- NO_INSTALL
- ALWAYS_CLEAN)
+ if(TARGET clang)
+ if(EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite)
+ include(LLVMExternalProjectUtils)
+ llvm_ExternalProject_Add(test-suite
${...
2017 Dec 06
3
PSA: debuginfo-tests workflow changing slightly
...OJECTS STREQUAL "all" )
>> @@ -885,13 +885,16 @@ if( LLVM_INCLUDE_EXAMPLES )
>> endif()
>>
>> if( LLVM_INCLUDE_TESTS )
>> - if(EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite AND TARGET clang)
>> - include(LLVMExternalProjectUtils)
>> - llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite
>> - USE_TOOLCHAIN
>> - EXCLUDE_FROM_ALL
>> - NO_INSTALL
>> - ALWAYS_CLEAN)
>> + if(TARGET clang)
>> + if(EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite)
>> + include(LLVMExte...
2017 Dec 06
2
PSA: debuginfo-tests workflow changing slightly
...t;)
> if( LLVM_ENABLE_PROJECTS STREQUAL "all" )
> @@ -885,13 +885,16 @@ if( LLVM_INCLUDE_EXAMPLES )
> endif()
>
> if( LLVM_INCLUDE_TESTS )
> - if(EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite AND TARGET clang)
> - include(LLVMExternalProjectUtils)
> - llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite
> - USE_TOOLCHAIN
> - EXCLUDE_FROM_ALL
> - NO_INSTALL
> - ALWAYS_CLEAN)
> + if(TARGET clang)
> + if(EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite)
> + include(LLVMExternalProjectUtils)
> +...
2017 Nov 22
2
PSA: debuginfo-tests workflow changing slightly
I sorta enjoy debugging stuff like this, so if you don't mind, I'll dig
into it once I get a chance -- traveling so, my access is a bit sketchy
right now.
I'll see if I can grab the logs and let you know if I find anything
interesting.
On Tue, Nov 21, 2017 at 7:04 PM, Zachary Turner <zturner at google.com> wrote:
> That change was added specifically to workaround a failure