classification
Title: Change the install location of _sysconfigdata.py
Type: compile error Stage:
Components: Cross-Build Versions: Python 3.4
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: thomas-petazzoni
Priority: normal Keywords: patch

Created on 2014-01-09 23:03 by thomas-petazzoni, last changed 2014-02-13 20:44 by thomas-petazzoni. This issue is now closed.

Files
File name Uploaded Description Edit
0003-Change-the-install-location-of-_sysconfigdata.py.patch thomas-petazzoni, 2014-01-09 23:03
Messages (2)
msg207807 - (view) Author: Thomas Petazzoni (thomas-petazzoni) Date: 2014-01-09 23:03
The _sysconfigdata.py module contains definitions that are needed when building Python modules. In cross-compilation mode, when building Python extensions for the target, we need to use the _sysconfigdata.py of the target Python while executing the host Python.

However until now, the _sysconfigdata.py module was installed in build/lib.<arch>-<version> directory, together with a number of architecture-specific shared objects, which cannot be used with the host Python.

To solve this problem, this patch moves _sysconfigdata.py to a separate location, build/sysconfigdata.<arch>-<version>/, and only this directory gets added to the PYTHONPATH of the host Python interpreter when building Python modules for the target.
msg211169 - (view) Author: Thomas Petazzoni (thomas-petazzoni) Date: 2014-02-13 20:44
The patch is not working as it should be, so I withdraw it for the moment.
History
Date User Action Args
2014-02-13 20:44:12thomas-petazzonisetstatus: open -> closed

messages: + msg211169
2014-01-09 23:03:48thomas-petazzonicreate