Skip to content

Commit b951239

Browse files
vientthesamesam
authored andcommitted
[polly] [CMake] Link polly-isl-test with LLVMSupport (llvm#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: llvm#65424
1 parent 88548df commit b951239

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

polly/lib/External/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ if (POLLY_BUNDLED_ISL)
306306

307307
target_link_libraries(polly-isl-test PRIVATE
308308
PollyISL
309+
LLVMSupport
309310
)
310311

311312
# ISL requires at least C99 to compile. gcc < 5.0 use -std=gnu89 as default.

0 commit comments

Comments
 (0)