-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Anhad Singh <[email protected]>
- Loading branch information
1 parent
0ca27da
commit 93a215b
Showing
23 changed files
with
354 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
diff --git python-clean/configure.ac python-workdir/configure.ac | ||
index cd69f0e..74fc416 100644 | ||
--- python-clean/configure.ac | ||
+++ python-workdir/configure.ac | ||
@@ -553,6 +553,9 @@ then | ||
*-*-cygwin*) | ||
ac_sys_system=Cygwin | ||
;; | ||
+ *-*-aero*) | ||
+ ac_sys_system=Aero | ||
+ ;; | ||
*-*-vxworks*) | ||
ac_sys_system=VxWorks | ||
;; | ||
@@ -619,6 +622,9 @@ if test "$cross_compiling" = yes; then | ||
*-*-vxworks*) | ||
_host_cpu=$host_cpu | ||
;; | ||
+ *-*-aero*) | ||
+ _host_cpu=$host_cpu | ||
+ ;; | ||
wasm32-*-* | wasm64-*-*) | ||
_host_cpu=$host_cpu | ||
;; | ||
@@ -3216,6 +3222,9 @@ then | ||
CYGWIN*) | ||
LDSHARED="gcc -shared -Wl,--enable-auto-image-base" | ||
LDCXXSHARED="g++ -shared -Wl,--enable-auto-image-base";; | ||
+ Aero*) | ||
+ LDSHARED='$(CC) -shared' | ||
+ LDCXXSHARED='$(CXX) - shared';; | ||
*) LDSHARED="ld";; | ||
esac | ||
fi | ||
@@ -3268,7 +3277,9 @@ then | ||
else CCSHARED="-Kpic -belf" | ||
fi;; | ||
VxWorks*) | ||
- CCSHARED="-fpic -D__SO_PICABILINUX__ -ftls-model=global-dynamic" | ||
+ CCSHARED="-fpic -D__SO_PICABILINUX__ -ftls-model=global-dynamic";; | ||
+ Aero*) | ||
+ CCSHARED="-fPIC";; | ||
esac | ||
fi | ||
AC_MSG_RESULT([$CCSHARED]) | ||
@@ -3338,6 +3349,8 @@ then | ||
LINKFORSHARED='-Wl,-E -N 2048K';; | ||
VxWorks*) | ||
LINKFORSHARED='-Wl,-export-dynamic';; | ||
+ Aero*) | ||
+ LINKFORSHARED='-export-dynamic';; | ||
esac | ||
fi | ||
AC_MSG_RESULT([$LINKFORSHARED]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name=python | ||
version=3.13.0 | ||
tarball_url="https://www.python.org/ftp/python/${version}/Python-${version}a1.tar.xz" | ||
tarball_blake2b="62612d22ce652f4b1d7ce93aa30bd5814dbf271dbe98e321b99d003d7da8f74798e55f556db75fc39b676295c1d1f7b31919c444fe3c667d2fbd2ea16799a211" | ||
source_deps="autoconf-archive" | ||
source_hostdeps="automake autoconf libtool pkg-config" | ||
hostdeps="gcc autoconf automake libtool pkg-config" | ||
deps="core-libs libexpat" | ||
|
||
regenerate() { | ||
autotools_recursive_regen | ||
} | ||
|
||
build() { | ||
mkdir -p ./build | ||
cd ./build | ||
|
||
# XXX make this a host dep | ||
if ! [ -f built ]; then | ||
${source_dir}/configure | ||
|
||
make -j${parallelism} | ||
touch built | ||
fi | ||
|
||
cd - | ||
|
||
CONFIG_SITE=${base_dir}/build-support/python/python-config-site autotools_configure \ | ||
--with-system-ffi \ | ||
--with-system-expat \ | ||
--disable-ipv6 \ | ||
--without-ensurepip \ | ||
--host=x86_64-aero \ | ||
--build=x86_64-linux-gnu \ | ||
--with-build-python="$(pwd -P)/build/python" \ | ||
--with-pkg-config=yes | ||
|
||
make -j${parallelism} | ||
} | ||
|
||
package() { | ||
DESTDIR="${dest_dir}" make install | ||
ln -sv python3 "${dest_dir}${prefix}/bin/python" | ||
post_package_strip | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.