-
Notifications
You must be signed in to change notification settings - Fork 34
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
Add CMake, github action, google test and benchmark... #11
Open
bensuperpc
wants to merge
22
commits into
stbrumme:master
Choose a base branch
from
bensuperpc:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bensuperpc
force-pushed
the
master
branch
3 times, most recently
from
November 17, 2021 16:01
6834eb2
to
a868d8e
Compare
Add github action for Linux, MacOS, Windows Add github action for cross platform (ARM, RISCV, PowerPC ect...) with dockcross Add Google test and Google benchmark, to avoid regressions with units test Add CMake (Shared or Static crc32 library), can be installed (Tested only on ArchLinux/Manjaro and ubuntu 21.10) Add CMake Presets Add Examples Improve Readme Compatible C++11 to C++20 CMake library based on cmake-init Use std::chrono and std::chrono::high_resolution_clock, instead ctime and custom second function. Improve warning message with MSCV Update readme README.md Signed-off-by: Bensuperpc <[email protected]>
Signed-off-by: Bensuperpc <[email protected]>
Signed-off-by: Bensuperpc <[email protected]>
Signed-off-by: Bensuperpc <[email protected]>
Add github action for Linux, MacOS, Windows Add github action for cross platform (ARM, RISCV, PowerPC ect...) with dockcross Add Google test and Google benchmark, to avoid regressions with units test Add CMake (Shared or Static crc32 library), can be installed (Tested only on ArchLinux/Manjaro and ubuntu 21.10) Add CMake Presets Add Examples Improve Readme Compatible C++11 to C++20 CMake library based on cmake-init Use std::chrono and std::chrono::high_resolution_clock, instead ctime and custom second function. Improve warning message with MSCV Update readme README.md Signed-off-by: Bensuperpc <[email protected]>
Signed-off-by: Bensuperpc <[email protected]>
Signed-off-by: Bensuperpc <[email protected]>
Signed-off-by: Bensuperpc <[email protected]>
Signed-off-by: Bensuperpc <[email protected]>
Signed-off-by: Bensuperpc <[email protected]>
Update master
Signed-off-by: Bensuperpc <[email protected]>
Signed-off-by: Bensuperpc <[email protected]>
Signed-off-by: Bensuperpc <[email protected]>
Signed-off-by: Bensuperpc <[email protected]>
Signed-off-by: Bensuperpc <[email protected]>
Signed-off-by: Bensuperpc <[email protected]>
Signed-off-by: Bensuperpc <[email protected]>
Signed-off-by: Bensuperpc <[email protected]>
Signed-off-by: Bensuperpc <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I made some modification for my needs, if you are interested:
Here are the main changes:
I kept arduino and js codes.
It is a CMake library, it can be used easily with other CMake projects (or non-cmake projects)
Google Benchmark info (Built with Clang 12):
Results of github action: https://github.com/bensuperpc/crc32/actions
Graph code (Based on this code): https://int-i.github.io/python/2021-11-07/matplotlib-google-benchmark-visualization/
Sorry for my imperfect English, I'm French