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 + README update #1276

Open
wants to merge 1 commit into
base: unstable
Choose a base branch
from

Conversation

eifrah-aws
Copy link
Contributor

@eifrah-aws eifrah-aws commented Nov 8, 2024

  • Updated README with CMake variable default values
  • CMake: support for tcmalloc / tcmalloc_minimal is now working
  • CMake: Lua lib: prefer mkstemp over tmpnam (tmpname is considered insecured)
  • CMake: use valkey_pkg_config to wrap pkg_check_modules to reduce code verbosity
  • Reduced the CMake minimum version to 3.10 (this allows using CMake build on older systems)
  • CMake: sanitizer flags should be set for valkey-server only (no need to enable it for valkey-cli & valkey-benchmark)

@eifrah-aws eifrah-aws mentioned this pull request Nov 8, 2024
21 tasks
Copy link

codecov bot commented Nov 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.73%. Comparing base (863d312) to head (a3a9eea).
Report is 1 commits behind head on unstable.

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #1276      +/-   ##
============================================
+ Coverage     70.69%   70.73%   +0.04%     
============================================
  Files           114      115       +1     
  Lines         63165    63153      -12     
============================================
+ Hits          44654    44671      +17     
+ Misses        18511    18482      -29     

see 17 files with indirect coverage changes

@eifrah-aws eifrah-aws marked this pull request as ready for review November 8, 2024 10:36
@eifrah-aws
Copy link
Contributor Author

@PingXie the fix you requested (readme updates) is part of this pr

@madolson madolson requested a review from PingXie November 8, 2024 18:06
- Updated README with CMake variable default values
- CMake: support for tcmalloc / tcmalloc_minimal is now working
- CMake: Lua lib: prefer mkstemp over tmpnam (tmpname is considered insecured)
- CMake: use `valkey_pkg_config` to wrap `pkg_check_modules`
- Reduced the CMake minimum version to 3.10 (this allows using CMake build on older systems)
- CMake: sanitizer flags should be set for valkey-server only (no need for valkey-cli & valkey-benchmark)

Signed-off-by: Eran Ifrah <[email protected]>
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.

2 participants