Skip to content

Commit

Permalink
[InlineAdvisor] Fix dependencies for InlineAdvisorPlugin
Browse files Browse the repository at this point in the history
Reviewed By: akyrtzi

Differential Revision: https://reviews.llvm.org/D140266
  • Loading branch information
ibricchi authored and akyrtzi committed Dec 18, 2022
1 parent bd7f4c5 commit c365fdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/unittests/Analysis/CMakeLists.txt
Expand Up @@ -95,9 +95,9 @@ if (NOT WIN32)
set_target_properties(InlineAdvisorPlugin PROPERTIES FOLDER "Tests")

export_executable_symbols_for_plugins(AnalysisTests)
# The plugin depends on some of the output files of llvm-tblgen, so make sure
# The plugin depends on some of the output files of intrinsics_gen, so make sure
# it is built before the plugin.
add_dependencies(InlineAdvisorPlugin llvm-tblgen)
add_dependencies(InlineAdvisorPlugin intrinsics_gen)
add_dependencies(AnalysisTests InlineAdvisorPlugin)
set_property(TARGET InlineAdvisorPlugin PROPERTY FOLDER "Tests/UnitTests/AnalysisTests")
endif()

0 comments on commit c365fdd

Please sign in to comment.