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

[FIX] fix detection of pthread on some linuxes #1200

Merged
merged 1 commit into from
Aug 3, 2019

Conversation

h-2
Copy link
Member

@h-2 h-2 commented Aug 2, 2019

fixes #1193 #1199

It's strange that we didn't see this earlier. I know that for macOS we don't need to explicitly add it. Apparently FreeBSD also doesn't need it, but we should have seen this on Debian, or not? Maybe not all Linuxes are affected. In any case, the proposed fix is the recommended way of doing it with CMake nowadays.

@h-2 h-2 requested a review from marehr August 2, 2019 13:09
@h-2
Copy link
Member Author

h-2 commented Aug 2, 2019

Note that apparently the FindThreads.cmake has a bug where it prints stuff, even if told to be quiet. I have reported it:
https://gitlab.kitware.com/cmake/cmake/issues/19550

(purely cosmetic)

@codecov
Copy link

codecov bot commented Aug 2, 2019

Codecov Report

Merging #1200 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1200   +/-   ##
=======================================
  Coverage   96.73%   96.73%           
=======================================
  Files         210      210           
  Lines        7975     7975           
=======================================
  Hits         7715     7715           
  Misses        260      260

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a60194e...b9ba668. Read the comment docs.

Copy link
Member

@marehr marehr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@h-2 h-2 merged commit 1974255 into seqan:master Aug 3, 2019
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.

Do I need to add -lpthread to linker flags?
2 participants