diff options
author | vient <lozko.roma@gmail.com> | 2023-09-06 03:14:32 +0300 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-12-25 10:31:09 +0000 |
commit | b951239932c735deec633bb53c0efa71912155f1 (patch) | |
tree | 417180aba7f221960db6747977958b1215706a25 /polly | |
parent | 88548df0fc08364bd03148c936e36f0bb07dde8a (diff) | |
download | llvm-b951239932c735deec633bb53c0efa71912155f1.zip llvm-b951239932c735deec633bb53c0efa71912155f1.tar.gz llvm-b951239932c735deec633bb53c0efa71912155f1.tar.bz2 |
[polly] [CMake] Link polly-isl-test with LLVMSupport (#65424)
Otherwise link may fail if user provided additional library to link with via CMAKE_EXE_LINKER_FLAGS. Concrete example is using custom allocator, LLVMSupport provides needed -lpthread in that case.
Closes: https://github.com/llvm/llvm-project/pull/65424
Diffstat (limited to 'polly')
-rw-r--r-- | polly/lib/External/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/polly/lib/External/CMakeLists.txt b/polly/lib/External/CMakeLists.txt index 458925f..1869410 100644 --- a/polly/lib/External/CMakeLists.txt +++ b/polly/lib/External/CMakeLists.txt @@ -306,6 +306,7 @@ if (POLLY_BUNDLED_ISL) target_link_libraries(polly-isl-test PRIVATE PollyISL + LLVMSupport ) # ISL requires at least C99 to compile. gcc < 5.0 use -std=gnu89 as default. |