Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[polly] Link polly-isl-test with LLVMSupport #65424

Closed
wants to merge 1 commit into from
Closed

Conversation

vient
Copy link
Contributor

@vient vient commented Sep 6, 2023

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. Note that -lpthread cannot be passed via CMAKE_EXE_LINKER_FLAGS by user because it breaks pthread detection in LLVM CMakeLists, LLVM_PTHREAD_LIB becomes empty.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants