Skip to content

Commit

Permalink
[Polly] Fix plugin build.
Browse files Browse the repository at this point in the history
The target_link_libraries call was accidentially removed in
D142580 (Remove Polly-ACC).
  • Loading branch information
Meinersbur committed Mar 9, 2023
1 parent a8adb38 commit a71a772
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions polly/lib/CMakeLists.txt
Expand Up @@ -126,6 +126,12 @@ else ()
$<TARGET_OBJECTS:obj.Polly>
)

# Only add the dependencies that are not part of LLVM. The latter are assumed
# to be already available in the address space the module is loaded into.
# Adding them once more would have the effect that both copies try to register
# the same command line options, to which LLVM reacts with an error.
target_link_libraries(LLVMPolly PUBLIC ${ISL_TARGET})

set_target_properties(LLVMPolly
PROPERTIES
LINKER_LANGUAGE CXX
Expand Down

0 comments on commit a71a772

Please sign in to comment.