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

Add VAR_DEPENDS feature to auto options #11729

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

JosiahWI
Copy link
Contributor

All the variables listed in VAR_DEPENDS need to be truthy for the feature to be enabled. This will be used for ja4_fingerprint to require vanilla OpenSSL.

All the variables listed in `VAR_DEPENDS` need to be truthy for the feature to
be enabled. This will be used for ja4_fingerprint to require vanilla OpenSSL.
@JosiahWI JosiahWI added the CMake work related to CMakes scripts or issues label Aug 21, 2024
@JosiahWI JosiahWI added this to the 10.1.0 milestone Aug 21, 2024
@JosiahWI JosiahWI self-assigned this Aug 21, 2024
@JosiahWI JosiahWI mentioned this pull request Aug 21, 2024
@JosiahWI
Copy link
Contributor Author

The AuTest remap_acl failed.

cmcfarlen
cmcfarlen previously approved these changes Aug 21, 2024
Copy link
Contributor

@cmcfarlen cmcfarlen left a comment

Choose a reason for hiding this comment

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

Consider improving the fatal message to include the var that failed the build

cmake/AutoOptionHelpers.cmake Outdated Show resolved Hide resolved
 * Hint that the issue can be resolved by enabling the variable. The message
 is intentionally vague, because unfortunately, it may be an internal variable
 that should not/cannot be directly enabled.
@JosiahWI JosiahWI merged commit 7d15039 into apache:master Aug 21, 2024
15 checks passed
@JosiahWI JosiahWI deleted the feat/auto-option-var-depends branch August 21, 2024 23:57
masaori335 pushed a commit to masaori335/trafficserver that referenced this pull request Aug 22, 2024
* Add `VAR_DEPENDS` feature to auto options

All the variables listed in `VAR_DEPENDS` need to be truthy for the feature to
be enabled. This will be used for ja4_fingerprint to require vanilla OpenSSL.

* Implement changes suggested by Chris McFarlen

 * Hint that the issue can be resolved by enabling the variable. The message
 is intentionally vague, because unfortunately, it may be an internal variable
 that should not/cannot be directly enabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake work related to CMakes scripts or issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants