Skip to content

Make DISPLAY_LEVEL_DEFAULT configurable at compile time#4620

Merged
Cyan4973 merged 2 commits intofacebook:devfrom
jlee303:defineable_cflags
Mar 13, 2026
Merged

Make DISPLAY_LEVEL_DEFAULT configurable at compile time#4620
Cyan4973 merged 2 commits intofacebook:devfrom
jlee303:defineable_cflags

Conversation

@jlee303
Copy link
Contributor

@jlee303 jlee303 commented Mar 10, 2026

Enables DISPLAY_LEVEL_DEFAULT to be configured at compile time by wrapping it in #ifndef guards and adding the ZSTD_ prefix to avoid namespace pollution. Allows for quieter output without need to pass in -q every invocation.

To verify change, compare difference in verbosity with make vs CPPFLAGS='-DZSTD_DISPLAY_LEVEL_DEFAULT=3' make

Thanks @tansy for suggestion! #4492

@meta-cla meta-cla bot added the CLA Signed label Mar 10, 2026
@Cyan4973 Cyan4973 merged commit 155046f into facebook:dev Mar 13, 2026
105 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants