Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
1046d5c6
Kaydet (Commit)
1046d5c6
authored
Nis 23, 2016
tarafından
Martin Panter
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #22359: Disable running cross-compiled _freeze_importlib and pgen
Patch by Xavier de Gaye.
üst
19620c57
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
7 deletions
+27
-7
Makefile.pre.in
Makefile.pre.in
+20
-7
NEWS
Misc/NEWS
+5
-0
configure
configure
+1
-0
configure.ac
configure.ac
+1
-0
No files found.
Makefile.pre.in
Dosyayı görüntüle @
1046d5c6
...
@@ -221,6 +221,7 @@ LIBOBJS= @LIBOBJS@
...
@@ -221,6 +221,7 @@ LIBOBJS= @LIBOBJS@
PYTHON
=
python
$(EXE)
PYTHON
=
python
$(EXE)
BUILDPYTHON
=
python
$(BUILDEXE)
BUILDPYTHON
=
python
$(BUILDEXE)
cross_compiling
=
@cross_compiling@
PYTHON_FOR_BUILD
=
@PYTHON_FOR_BUILD@
PYTHON_FOR_BUILD
=
@PYTHON_FOR_BUILD@
_PYTHON_HOST_PLATFORM
=
@_PYTHON_HOST_PLATFORM@
_PYTHON_HOST_PLATFORM
=
@_PYTHON_HOST_PLATFORM@
BUILD_GNU_TYPE
=
@build@
BUILD_GNU_TYPE
=
@build@
...
@@ -718,12 +719,16 @@ Programs/_freeze_importlib: Programs/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FRO
...
@@ -718,12 +719,16 @@ Programs/_freeze_importlib: Programs/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FRO
$(LINKCC)
$(PY_LDFLAGS)
-o
$@
Programs/_freeze_importlib.o
$(LIBRARY_OBJS_OMIT_FROZEN)
$(LIBS)
$(MODLIBS)
$(SYSLIBS)
$(LDLAST)
$(LINKCC)
$(PY_LDFLAGS)
-o
$@
Programs/_freeze_importlib.o
$(LIBRARY_OBJS_OMIT_FROZEN)
$(LIBS)
$(MODLIBS)
$(SYSLIBS)
$(LDLAST)
Python/importlib_external.h
:
$(srcdir)/Lib/importlib/_bootstrap_external.py Programs/_freeze_importlib
Python/importlib_external.h
:
$(srcdir)/Lib/importlib/_bootstrap_external.py Programs/_freeze_importlib
./Programs/_freeze_importlib
\
if
test
"
$(cross_compiling)
"
!=
"yes"
;
then
\
$(srcdir)
/Lib/importlib/_bootstrap_external.py Python/importlib_external.h
./Programs/_freeze_importlib
\
$(srcdir)
/Lib/importlib/_bootstrap_external.py Python/importlib_external.h
;
\
fi
Python/importlib.h
:
$(srcdir)/Lib/importlib/_bootstrap.py Programs/_freeze_importlib
Python/importlib.h
:
$(srcdir)/Lib/importlib/_bootstrap.py Programs/_freeze_importlib
./Programs/_freeze_importlib
\
if
test
"
$(cross_compiling)
"
!=
"yes"
;
then
\
$(srcdir)
/Lib/importlib/_bootstrap.py Python/importlib.h
./Programs/_freeze_importlib
\
$(srcdir)
/Lib/importlib/_bootstrap.py Python/importlib.h
;
\
fi
############################################################################
############################################################################
...
@@ -784,10 +789,18 @@ Python/sysmodule.o: $(srcdir)/Python/sysmodule.c Makefile
...
@@ -784,10 +789,18 @@ Python/sysmodule.o: $(srcdir)/Python/sysmodule.c Makefile
$(IO_OBJS)
:
$(IO_H)
$(IO_OBJS)
:
$(IO_H)
$(GRAMMAR_H)
:
$(GRAMMAR_INPUT) $(PGEN)
$(GRAMMAR_H)
:
$(GRAMMAR_INPUT) $(PGEN)
@
$(MKDIR_P)
Include
@
$(MKDIR_P)
Include
$(PGEN)
$(GRAMMAR_INPUT)
$(GRAMMAR_H)
$(GRAMMAR_C)
if
test
"
$(cross_compiling)
"
!=
"yes"
;
then
\
$(PGEN)
$(GRAMMAR_INPUT)
$(GRAMMAR_H)
$(GRAMMAR_C)
;
\
else
\
cp
$(srcdir)
/Include/graminit.h
$(GRAMMAR_H)
;
\
fi
$(GRAMMAR_C)
:
$(GRAMMAR_H)
$(GRAMMAR_C)
:
$(GRAMMAR_H)
touch
$(GRAMMAR_C)
if
test
"
$(cross_compiling)
"
!=
"yes"
;
then
\
touch
$(GRAMMAR_C)
;
\
else
\
cp
$(srcdir)
/Python/graminit.c
$(GRAMMAR_C)
;
\
fi
$(PGEN)
:
$(PGENOBJS)
$(PGEN)
:
$(PGENOBJS)
$(CC)
$(OPT)
$(PY_LDFLAGS)
$(PGENOBJS)
$(LIBS)
-o
$(PGEN)
$(CC)
$(OPT)
$(PY_LDFLAGS)
$(PGENOBJS)
$(LIBS)
-o
$(PGEN)
...
...
Misc/NEWS
Dosyayı görüntüle @
1046d5c6
...
@@ -404,6 +404,11 @@ Tests
...
@@ -404,6 +404,11 @@ Tests
Build
Build
-----
-----
-
Issue
#
22359
:
Disable
the
rules
for
running
_freeze_importlib
and
pgen
when
cross
-
compiling
.
The
output
of
these
programs
is
normally
saved
with
the
source
code
anyway
,
and
is
still
regenerated
when
doing
a
native
build
.
Patch
by
Xavier
de
Gaye
.
-
Issue
#
21668
:
Link
audioop
,
_datetime
,
_ctypes_test
modules
to
libm
,
-
Issue
#
21668
:
Link
audioop
,
_datetime
,
_ctypes_test
modules
to
libm
,
except
on
Mac
OS
X
.
Patch
written
by
Xavier
de
Gaye
.
except
on
Mac
OS
X
.
Patch
written
by
Xavier
de
Gaye
.
...
...
configure
Dosyayı görüntüle @
1046d5c6
...
@@ -751,6 +751,7 @@ build_os
...
@@ -751,6 +751,7 @@ build_os
build_vendor
build_vendor
build_cpu
build_cpu
build
build
cross_compiling
HAS_HG
HAS_HG
HGBRANCH
HGBRANCH
HGTAG
HGTAG
...
...
configure.ac
Dosyayı görüntüle @
1046d5c6
...
@@ -49,6 +49,7 @@ fi
...
@@ -49,6 +49,7 @@ fi
AC_CONFIG_SRCDIR([Include/object.h])
AC_CONFIG_SRCDIR([Include/object.h])
AC_CONFIG_HEADER(pyconfig.h)
AC_CONFIG_HEADER(pyconfig.h)
AC_SUBST(cross_compiling)
AC_CANONICAL_HOST
AC_CANONICAL_HOST
AC_SUBST(build)
AC_SUBST(build)
AC_SUBST(host)
AC_SUBST(host)
...
...
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