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

CMake fixes #191

Merged
merged 3 commits into from
Nov 6, 2024
Merged

CMake fixes #191

merged 3 commits into from
Nov 6, 2024

Conversation

Spixmaster
Copy link
Contributor

Set needed variable.
Fixed unum-cloud/usearch#522.

@Spixmaster
Copy link
Contributor Author

These fixed are really needed. Please merge and publish a new version.

@ashvardanian
Copy link
Owner

@Spixmaster can look into this later today, thanks!

CMakeLists.txt Outdated
install(
TARGETS stringzilla_shared
ARCHIVE
BUNDLE CXX_MODULES_BMI
Copy link
Owner

Choose a reason for hiding this comment

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

We don't need CXX BMI here as well, I believe.

Copy link
Contributor Author

@Spixmaster Spixmaster Nov 6, 2024

Choose a reason for hiding this comment

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

I understand that argument for SimSIMD as it is written in C but StringZilla is a C++ library. I would install everything that is related to C++ for a C++ library.

Copy link
Owner

Choose a reason for hiding this comment

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

Not really, StringZilla in-core is two C99 libraries: header-only and pre-compiled shared lib with dynamic dispatch. There is also a third header-only C++11 wrapper, so we need to install them all with different settings. But this requires a full CMake rewrite and will take much more time.

It's expected with the next major release.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes the CMake files really need a revamp. I would suggestall projects SimSIMD, StringZilla and usearch.

Copy link
Contributor Author

@Spixmaster Spixmaster Nov 6, 2024

Choose a reason for hiding this comment

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

Still remove CXX_MODULES_BMI?

Copy link
Owner

Choose a reason for hiding this comment

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

Yes, let's remove the BMI for now, and keep the bigger changes for future. If you have broader changes in mind, can you please comment on this PR?

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.

Bug: StringZilla not correctly installed
2 participants