scons,python: Fix `--without-python` flag
authorBobby R. Bruce <bbruce@ucdavis.edu>
Mon, 25 Jan 2021 21:54:03 +0000 (13:54 -0800)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Wed, 3 Feb 2021 19:09:08 +0000 (19:09 +0000)
commit758011f3c20cc23804bb6dbe153852f0df026ffd
treea04f3f91868fa3c82b3dc2fb9609951f5842f57f
parenta4345ff3246ddda900526334e463634ff6f5c0a4
scons,python: Fix `--without-python` flag

Even with the `--without-python` flag, checks were still done to ensure
the correct version of Python was being used. This commit fixes this so
these checks are not performed when `--without-python` is enabled.

Change-Id: I2242f2971a49ef28cff229ad0337bce0a998413d
Issue-on: https://gem5.atlassian.net/browse/GEM5-880
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39715
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Reviewed-by: Lukas Steiner <lsteiner@rhrk.uni-kl.de>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
SConstruct
src/SConscript