mirror of
https://github.com/gtalent/sc9k.git
synced 2025-06-08 02:04:52 -05:00
[buildcore] Add check to make sure we have the right Python
This commit is contained in:
parent
7d4671fb0c
commit
716ca9b768
12
deps/buildcore/base.mk
vendored
12
deps/buildcore/base.mk
vendored
@ -16,13 +16,19 @@ else
|
|||||||
HOST_ENV=${OS}-$(shell uname -m)
|
HOST_ENV=${OS}-$(shell uname -m)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq (${$(shell python -c 'import sys; print(sys.version_info[0])')},3)
|
||||||
|
PYTHON3=python
|
||||||
|
else
|
||||||
|
PYTHON3=python3
|
||||||
|
endif
|
||||||
|
|
||||||
SCRIPTS=${BUILDCORE_PATH}/scripts
|
SCRIPTS=${BUILDCORE_PATH}/scripts
|
||||||
SETUP_BUILD=python3 ${SCRIPTS}/setup-build.py
|
SETUP_BUILD=python3 ${SCRIPTS}/setup-build.py
|
||||||
PYBB=python3 ${SCRIPTS}/pybb.py
|
PYBB=${PYTHON3} ${SCRIPTS}/pybb.py
|
||||||
CMAKE_BUILD=${PYBB} cmake-build
|
CMAKE_BUILD=${PYBB} cmake-build
|
||||||
RM_RF=${PYBB} rm
|
RM_RF=${PYBB} rm
|
||||||
SETUP_BUILD=python3 ${SCRIPTS}/setup-build.py
|
SETUP_BUILD=${PYTHON3} ${SCRIPTS}/setup-build.py
|
||||||
PYBB=python3 ${SCRIPTS}/pybb.py
|
PYBB=${PYTHON3} ${SCRIPTS}/pybb.py
|
||||||
CMAKE_BUILD=${PYBB} cmake-build
|
CMAKE_BUILD=${PYBB} cmake-build
|
||||||
RM_RF=${PYBB} rm
|
RM_RF=${PYBB} rm
|
||||||
ifdef USE_VCPKG
|
ifdef USE_VCPKG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user