Lines Matching full:python
285 # python[2][3]-config in weird combinations in the following order of
288 # * python-config
290 # * $(PYTHON)-config (If PYTHON is user supplied but PYTHON_CONFIG isn't)
292 PYTHON_AUTO := python-config
294 PYTHON_AUTO := $(if $(call get-executable,python-config),python-config,$(PYTHON_AUTO))
297 # If PYTHON is defined but PYTHON_CONFIG isn't, then take $(PYTHON)-config as if it was the user
299 ifdef PYTHON
301 PYTHON_CONFIG_AUTO := $(call get-executable,$(PYTHON)-config)
303 $(call $(error $(PYTHON)-config not found)))
307 # Select either auto detected python and python-config or use user supplied values if they are
311 override PYTHON := $(call get-executable-or-default,PYTHON,$(subst -config,,$(PYTHON_CONFIG)))
318 # Python 3.8 changed the output of `python-config --ldflags` to not include the
329 # Update the python flags for cross compilation
850 disable-python = $(eval $(disable-python_code))
859 $(call disable-python,Python support disabled by user)
862 ifndef PYTHON
863 …$(call disable-python,No python interpreter was found: disables Python support - please install py…
865 PYTHON_WORD := $(call shell-wordify,$(PYTHON))
868 …$(call disable-python,No 'python-config' tool was found: disables Python support - please install …
872 …$(call disable-python,No 'Python.h' was found: disables Python support - please install python-dev…
876 …PYTHON_SETUPTOOLS_INSTALLED := $(shell $(PYTHON) -c 'import setuptools;' 2> /dev/null && echo "yes…
878 …PYTHON_EXTENSION_SUFFIX := $(shell $(PYTHON) -c 'from importlib import machinery; print(machinery.…
882 LANG_BINDINGS += $(obj-perf)python/perf$(PYTHON_EXTENSION_SUFFIX)
884 …$(warning Missing python setuptools, the python binding won't be built, please install python3-set…
905 ifndef PYTHON
906 …$(error ERROR: No python interpreter needed for jevents generation. Install python or build with N…
908 # jevents.py uses f-strings present in Python 3.6 released in Dec. 2016.
909 …JEVENTS_PYTHON_GOOD := $(shell $(PYTHON) -c 'import sys;print("1" if(sys.version_info.major >= 3 a…
911 …$(error ERROR: Python interpreter needed for jevents generation too old (older than 3.6). Install …