Skip to content

Add libpthread for older linux gcc builds #324

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

Merged
merged 2 commits into from
Dec 26, 2023

Conversation

Ngalstyan4
Copy link
Contributor

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

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
@Ngalstyan4 Ngalstyan4 changed the title Narek/gnu add pthreads Add libpthread for older linux gcc builds Dec 26, 2023
@ashvardanian ashvardanian merged commit 6f1e5dd into unum-cloud:main-dev Dec 26, 2023
@ashvardanian
Copy link
Contributor

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

@Ngalstyan4 Ngalstyan4 deleted the narek/gnu-add-pthreads branch December 26, 2023 16:06
Ngalstyan4 added a commit to Ngalstyan4/usearch that referenced this pull request Feb 5, 2024
* Add threads linker option on linux

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

* Use is_dummy() instead of repeating dummy predicate check logic
ashvardanian pushed a commit that referenced this pull request Feb 22, 2024
# [2.9.0](v2.8.16...v2.9.0) (2024-02-22)

### Add

* SQLite binding ([222de55](222de55))
* String distances to SQLite ([ae4d0f0](ae4d0f0))

### Docs

* Header refreshed ([7465c29](7465c29))
* Py and SQLite extensions ([550624b](550624b))
* README.md link to Joins (#327) ([1279c54](1279c54)), closes [#327](#327)

### Fix

* bug reports were immediately marked invalid ([c5fc825](c5fc825))
* Error handling, mem safety bugs #335 (#339) ([4747ef4](4747ef4)), closes [#335](#335) [#339](#339)
* Passing SQLite tests ([6334983](6334983))
* Reported number of levels ([9b1a06a](9b1a06a))
* Skip non-Linux SQLite tests ([b02d262](b02d262))
* SQLite cosine function + tests ([55464fb](55464fb))
* undefined var error in `remove` api ([8d86a9e](8d86a9e))

### Improve

* Multi property lookup ([e8bf02c](e8bf02c))
* Support multi-column vectors ([66f1716](66f1716))

### Make

* `npi ci` (#330) ([5680920](5680920)), closes [#330](#330)
* Add 3.12 wheels ([d66f697](d66f697))
* Change include paths ([21db294](21db294))
* invalid C++17 Clang arg ([2a6d779](2a6d779))
* Link libpthread for older Linux GCC builds (#324) ([6f1e5dd](6f1e5dd)), closes [#324](#324)
* Parallel CI for Python wheels ([a9ad89e](a9ad89e))
* Upgrade SimSIMD & StringZilla ([5481bdf](5481bdf))

### Revert

* Postpone Apache Arrow integration ([5d040ca](5d040ca))
@ashvardanian
Copy link
Contributor

🎉 This PR is included in version 2.9.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants