-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[cmake] explicit feature=OFF should have hierarchical priority over cached or explicit builtin_feature=ON v2 #18467
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: master
Are you sure you want to change the base?
Conversation
@pcanal I have tried to follow your suggestion. My question now is, how do I prevent enabling fftw3=ON if I passed explicitly -Dfftw3=OFF ? Right now the sequence
still leaves fftw3 ON. Do I need to do something like https://stackoverflow.com/a/54302498/7471760 or rather https://stackoverflow.com/a/61986176/7471760? Sth like:
|
Try without the |
Test Results0 tests 0 ✅ 0s ⏱️ Results for commit 8998e58. ♻️ This comment has been updated with latest results. |
Fixes https://its.cern.ch/jira/browse/ROOT-10743 feature=ON can force-enable builtin_feature=OFF, but not the other way round, a warning is issued in that case now instead of silently enabling. This prevents automatic enablings of features that the user can not disable unless he writes feature=OFF builtin_feature=OFF.
I tried and it does not solve the issue. Probably because the default option fftw3=OFF, so that has priority over the cache? So without force -Dbuiltin_fftw3=ON does not turn fftw3=ON. I tried also NOT DEFINED CACHE, to no avail. It seems that this post is relevant: But then we are back to the debate... is this extra complexity worth or can we stick with v1 #18413? |
This Pull request:
Changes or fixes:
This v2 of #18413
Fixes https://its.cern.ch/jira/browse/ROOT-10743
Related:
Checklist: