You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make sure no benchmark in local cache by conan remove --confirm benchmark
from that directory run conan install .
check cache what you got with conan list 'benchmark/*:*' and notice package options has enable_lto: False
That is surprising to me and not really what I want.
If I modify conanfile.txt to have [requires] instead of [test_requires] then I get an LTO benchmark.
(and before I forget, thank you for amazing work on conan2).
Logs
No response
The text was updated successfully, but these errors were encountered:
Thanks for your report.
We are aware that this won't work this way, and it is by design, for tool_requires.
But maybe for test_requires it should/can work. We need to check it, we will have a look, thanks for the details to reproduce.
That guarantees that the option is passed to the dependency.
You might also define it in the profile or in command line, and I think that should work too.
(and before I forget, thank you for amazing work on conan2).
Environment details
Steps to reproduce
conanfile.txt
containing:conan remove --confirm benchmark
conan install .
conan list 'benchmark/*:*'
and notice package options hasenable_lto: False
That is surprising to me and not really what I want.
If I modify
conanfile.txt
to have[requires]
instead of[test_requires]
then I get an LTO benchmark.(and before I forget, thank you for amazing work on conan2).
Logs
No response
The text was updated successfully, but these errors were encountered: