Skip to content
Commit 13df1584 authored by Marc Herbert's avatar Marc Herbert Committed by Carles Cufí
Browse files

cmake: drop ERROR_QUIET in python.cmake



ERROR_QUIET should be used only when the command is actually expected to
fail, otherwise discarding stderr can be extremely time-consuming. See
recent example of time lost in commit 40c2e08e ("xcc/cmake: don't
discard stderr; don't (ever!) use ERROR_QUIET")

If some Python interpreter cannot even evaluate `sys.version_info[:2]`,
then we definitely don't want to hide what its stderr says about that.

Fixes commit 94de3e9f ("cmake: FindPython3: Adjust python3 program
search")

Signed-off-by: default avatarMarc Herbert <marc.herbert@intel.com>
parent fbfd36e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment