unum-cloud / usearch

Fast Open-Source Search & Clustering engine × for Vectors & 🔜 Strings × in C++, C, Python, JavaScript, Rust, Java, Objective-C, Swift, C#, GoLang, and Wolfram 🔍
https://unum-cloud.github.io/usearch/
Apache License 2.0
2.28k stars 143 forks source link

Add libpthread for older linux gcc builds #324

Closed Ngalstyan4 closed 11 months ago

Ngalstyan4 commented 11 months ago

Latest versions of libc (>= 2.34, released on August, 2021) have libpthread built in but in slightly older libcs one has to still specify -llibpthread to explicitly link it in The commit makes sure usearch compiles successfully with these older libcs

It changes nothing on newer libcs as libpthread exists on newer libcs as an empty library

ashvardanian commented 11 months ago

Thank you, @Ngalstyan4! Merged and expected to be on main on Thursday 🤗

ashvardanian commented 9 months ago

:tada: This PR is included in version 2.9.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: