Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
a10e4a9a
Commit
a10e4a9a
authored
Jan 25, 2013
by
doko@python.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Issue #17031: Fix running regen in cross builds.
parent
1c90eed8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
2 deletions
+15
-2
Lib/plat-generic/regen
Lib/plat-generic/regen
+1
-1
Makefile.pre.in
Makefile.pre.in
+8
-1
Misc/NEWS
Misc/NEWS
+2
-0
configure
configure
+2
-0
configure.ac
configure.ac
+2
-0
No files found.
Lib/plat-generic/regen
View file @
a10e4a9a
#! /bin/sh
set
-v
python
$EXE
../../Tools/scripts/h2py.py
-i
'(u_long)'
/usr/include/netinet/in.h
eval
$PYTHON_FOR_BUILD
../../Tools/scripts/h2py.py
-i
"'(u_long)'"
/usr/include/netinet/in.h
Makefile.pre.in
View file @
a10e4a9a
...
...
@@ -203,7 +203,8 @@ BUILDPYTHON= python$(BUILDEXE)
PYTHON_FOR_BUILD
=
@PYTHON_FOR_BUILD@
_PYTHON_HOST_PLATFORM
=
@_PYTHON_HOST_PLATFORM@
HOST_GNU_TYPE
=
@host@
BUILD_GNU_TYPE
=
@build@
HOST_GNU_TYPE
=
@host@
# The task to run while instrument when building the profile-opt target
PROFILE_TASK
=
$(srcdir)
/Tools/pybench/pybench.py
-n
2
--with-gc
--with-syscheck
...
...
@@ -1123,6 +1124,12 @@ $(srcdir)/Lib/$(PLATDIR):
export
DYLD_FRAMEWORK_PATH
;
DYLD_FRAMEWORK_PATH
=
"
`
pwd
`
"
;
\
export
EXE
;
EXE
=
"
$(BUILDEXE)
"
;
\
if
[
-n
"
$(MULTIARCH)
"
]
;
then
export
MULTIARCH
;
MULTIARCH
=
$(MULTIARCH)
;
fi
;
\
export
PYTHON_FOR_BUILD
;
\
if
[
"
$(BUILD_GNU_TYPE)
"
=
"
$(HOST_GNU_TYPE)
"
]
;
then
\
PYTHON_FOR_BUILD
=
"
$(BUILDPYTHON)
"
;
\
else
\
PYTHON_FOR_BUILD
=
"
$(PYTHON_FOR_BUILD)
"
;
\
fi
;
\
cd
$(srcdir)
/Lib/
$(PLATDIR)
;
$(RUNSHARED)
./regen
python-config
:
$(srcdir)/Misc/python-config.in
...
...
Misc/NEWS
View file @
a10e4a9a
...
...
@@ -539,6 +539,8 @@ Tests
Build
-----
- Issue #17031: Fix running regen in cross builds.
- Issue #3754: fix typo in pthread AC_CACHE_VAL.
- Issue #15484: Fix _PYTHON_PROJECT_BASE for srcdir != builddir builds;
...
...
configure
View file @
a10e4a9a
...
...
@@ -2926,6 +2926,8 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
if
test
"
$cross_compiling
"
=
yes
;
then
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for python interpreter for cross build"
>
&5
$as_echo_n
"checking for python interpreter for cross build... "
>
&6
;
}
...
...
configure.ac
View file @
a10e4a9a
...
...
@@ -50,6 +50,8 @@ AC_CONFIG_SRCDIR([Include/object.h])
AC_CONFIG_HEADER(pyconfig.h)
AC_CANONICAL_HOST
AC_SUBST(build)
AC_SUBST(host)
if test "$cross_compiling" = yes; then
AC_MSG_CHECKING([for python interpreter for cross build])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment