Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
python3
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
python3
Commits
96346bd1
Commit
96346bd1
authored
Sep 06, 2019
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python3 now needs cross build
parent
71865a8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
69 additions
and
0 deletions
+69
-0
build.xml
build.xml
+69
-0
No files found.
build.xml
0 → 100644
View file @
96346bd1
<project
name=
"python3"
>
<target
name=
"cross-python3"
>
<property
name=
"makedir"
value=
"${builddir}/Python-3.7.3"
/>
<exec
executable=
"tar"
failonerror=
"true"
>
<arg
line=
"xf packages/python3/Python-3.7.3.tar.xz -C ${builddir}"
/>
</exec>
<exec
executable=
"bash"
dir=
"${makedir}"
failonerror=
"true"
>
<arg
line=
"-c "sed -i '/def add_multiarch_paths/a \ return' setup.py""
/>
</exec>
<exec
executable=
"./configure"
dir=
"${makedir}"
failonerror=
"true"
>
<env
key=
"LDFLAGS"
value=
"-Wl,-rpath,${sysrootdir}/cross-tools/lib"
/>
<arg
line=
"--prefix=${sysrootdir}/cross-tools --without-ensurepip"
/>
</exec>
<exec
executable=
"make"
dir=
"${makedir}"
failonerror=
"true"
/>
<exec
executable=
"make"
dir=
"${makedir}"
failonerror=
"true"
>
<arg
line=
"install"
/>
</exec>
<delete
dir=
"${makedir}"
/>
</target>
<target
name=
"temporary-python3"
>
<property
name=
"makedir"
value=
"${builddir}/Python-3.7.3"
/>
<exec
executable=
"tar"
failonerror=
"true"
>
<arg
line=
"xf packages/python3/Python-3.7.3.tar.xz -C ${builddir}"
/>
</exec>
<exec
executable=
"bash"
dir=
"${makedir}"
failonerror=
"true"
>
<arg
line=
"-c "sed -i '/def add_multiarch_paths/a \ return' setup.py""
/>
</exec>
<echo
file=
"${makedir}/config.site"
>
ac_cv_file__dev_ptmx=no
ac_cv_file__dev_ptc=no
</echo>
<exec
executable=
"./configure"
dir=
"${makedir}"
failonerror=
"true"
>
<env
key=
"PATH"
path=
"${PATH}"
/>
<env
key=
"CC"
value=
"${CLFS_TARGET}-gcc"
/>
<env
key=
"CXX"
value=
"${CLFS_TARGET}-g++"
/>
<env
key=
"AR"
value=
"${CLFS_TARGET}-ar"
/>
<env
key=
"AS"
value=
"${CLFS_TARGET}-as"
/>
<env
key=
"RANLIB"
value=
"${CLFS_TARGET}-ranlib"
/>
<env
key=
"LD"
value=
"${CLFS_TARGET}-ld"
/>
<env
key=
"STRIP"
value=
"${CLFS_TARGET}-strip"
/>
<env
key=
"CONFIG_SITE"
value=
"config.site"
/>
<arg
line=
"--prefix=${sysrootdir}/tools --build=${CLFS_HOST} --host=${CLFS_TARGET} --without-ensurepip --disable-ipv6"
/>
</exec>
<exec
executable=
"make"
dir=
"${makedir}"
failonerror=
"true"
>
<env
key=
"PATH"
path=
"${PATH}"
/>
<env
key=
"CC"
value=
"${CLFS_TARGET}-gcc"
/>
<env
key=
"CXX"
value=
"${CLFS_TARGET}-g++"
/>
<env
key=
"AR"
value=
"${CLFS_TARGET}-ar"
/>
<env
key=
"AS"
value=
"${CLFS_TARGET}-as"
/>
<env
key=
"RANLIB"
value=
"${CLFS_TARGET}-ranlib"
/>
<env
key=
"LD"
value=
"${CLFS_TARGET}-ld"
/>
<env
key=
"STRIP"
value=
"${CLFS_TARGET}-strip"
/>
</exec>
<exec
executable=
"make"
dir=
"${makedir}"
failonerror=
"true"
>
<env
key=
"PATH"
path=
"${PATH}"
/>
<env
key=
"CC"
value=
"${CLFS_TARGET}-gcc"
/>
<env
key=
"CXX"
value=
"${CLFS_TARGET}-g++"
/>
<env
key=
"AR"
value=
"${CLFS_TARGET}-ar"
/>
<env
key=
"AS"
value=
"${CLFS_TARGET}-as"
/>
<env
key=
"RANLIB"
value=
"${CLFS_TARGET}-ranlib"
/>
<env
key=
"LD"
value=
"${CLFS_TARGET}-ld"
/>
<env
key=
"STRIP"
value=
"${CLFS_TARGET}-strip"
/>
<arg
line=
"install"
/>
</exec>
<delete
dir=
"${makedir}"
/>
</target>
</project>
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