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

stringzilla: add version 3.8.4 #22708

Merged
merged 29 commits into from
Jun 6, 2024
Merged

Conversation

toge
Copy link
Contributor

@toge toge commented Feb 7, 2024

Specify library name and version: stringzilla/*


@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@toge
Copy link
Contributor Author

toge commented Feb 9, 2024

Wait for merged.
ashvardanian/StringZilla#88

@toge toge marked this pull request as draft February 9, 2024 07:04
@toge toge changed the title stringzilla: add version 3.0.0 stringzilla: add version 3.1.1 Feb 15, 2024
@conan-center-bot

This comment has been minimized.

@toge toge marked this pull request as ready for review February 15, 2024 02:51
Comment on lines 9 to 14
if(stringzilla_VERSION VERSION_LESS 2.0)
target_compile_definitions(${PROJECT_NAME} PRIVATE STRINGZILLA_LESS_2_0)
target_compile_definitions(${PROJECT_NAME} PRIVATE STRINGZILLA_API=1)
elseif(stringzilla_VERSION VERSION_LESS 3.0)
target_compile_definitions(${PROJECT_NAME} PRIVATE STRINGZILLA_API=2)
else()
target_compile_definitions(${PROJECT_NAME} PRIVATE STRINGZILLA_API=3)
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you put this variable directly in the CMakeToolchain, something like tc.preprocessor_definitions["STRINGZILLA_API"] = Version(self.dependencies["stringzilla"].ref.version).major?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Ahajha
Thank you for your comment!
I fixed as you suggested.
Could you review it again?

@conan-center-bot

This comment has been minimized.

haystack.end() - haystack.begin() == haystack.size(); // Or `rbegin`, `rend`
haystack.find_first_of(" \w\t") == 4; // Or `find_last_of`, `find_first_not_of`, `find_last_not_of`
haystack.starts_with(needle) == true; // Or `ends_with`
haystack.remove_prefix(needle.size()); // Why is this operation in-place?!
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor, for consistency add return EXIT_SUCCESS;.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed.

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

@Ahajha Ahajha left a comment

Choose a reason for hiding this comment

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

LGTM

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@toge toge changed the title stringzilla: add version 3.7.3 stringzilla: add version 3.8.0 Apr 15, 2024
@conan-center-bot

This comment has been minimized.

@toge toge changed the title stringzilla: add version 3.8.0 stringzilla: add version 3.8.1 Apr 18, 2024
@conan-center-bot

This comment has been minimized.

@toge toge changed the title stringzilla: add version 3.8.1 stringzilla: add version 3.8.2 Apr 22, 2024
@conan-center-bot

This comment has been minimized.

@toge
Copy link
Contributor Author

toge commented Apr 23, 2024

@RubenRBS
Could you review this PR?
The current version of StringZilla is 2.0.4 and StringZilla has been changed lots of API since 3.0.0.

@toge toge changed the title stringzilla: add version 3.8.2 stringzilla: add version 3.8.3 Apr 27, 2024
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@toge toge changed the title stringzilla: add version 3.8.3 stringzilla: add version 3.8.4 Apr 28, 2024
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 17 (565ed446ebc2c64eb06e2745a080e5b5575929ff):

  • stringzilla/2.0.4:
    All packages built successfully! (All logs)

  • stringzilla/2.0.3:
    All packages built successfully! (All logs)

  • stringzilla/1.2.2:
    All packages built successfully! (All logs)

  • stringzilla/1.1.3:
    All packages built successfully! (All logs)

  • stringzilla/2.0.1:
    All packages built successfully! (All logs)

  • stringzilla/3.8.4:
    All packages built successfully! (All logs)


Conan v2 pipeline ✔️

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 18 (565ed446ebc2c64eb06e2745a080e5b5575929ff):

  • stringzilla/2.0.4:
    All packages built successfully! (All logs)

  • stringzilla/2.0.3:
    All packages built successfully! (All logs)

  • stringzilla/2.0.1:
    All packages built successfully! (All logs)

  • stringzilla/1.2.2:
    All packages built successfully! (All logs)

  • stringzilla/1.1.3:
    All packages built successfully! (All logs)

  • stringzilla/3.8.4:
    All packages built successfully! (All logs)

@AbrilRBS AbrilRBS self-assigned this May 29, 2024
Copy link
Member

@AbrilRBS AbrilRBS left a comment

Choose a reason for hiding this comment

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

Thanks a lot for your patience while I circled back to this PR - The simplifications look great, thanks a lot! :)

Copy link
Contributor

@perseoGI perseoGI left a comment

Choose a reason for hiding this comment

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

LGTM!

@conan-center-bot conan-center-bot merged commit 65f82b5 into conan-io:master Jun 6, 2024
38 checks passed
@perseoGI perseoGI self-assigned this Jun 6, 2024
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.

6 participants