feat: support python for riscv64 architecture
Signed-off-by: sisungo <[email protected]>
This commit is contained in:
1 parent
a989da8a09
commit
6843e89c55
1 file changed
+5
-3
@@ -29,7 +29,7 @@ builddep("pkgconf")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.configure([
|
||||
configure_args = [
|
||||
"--prefix=/",
|
||||
f"--libdir={get_prefix('libpython')}/lib",
|
||||
f"--bindir={get_prefix('python')}/bin",
|
||||
@@ -45,10 +45,12 @@ def build():
|
||||
"--with-system-expat",
|
||||
"--with-system-libmpdec",
|
||||
"--with-readline=editline",
|
||||
"--with-tail-call-interp",
|
||||
"--without-ensurepip",
|
||||
"--with-ssl-default-suites=openssl",
|
||||
])
|
||||
]
|
||||
if arch.get_target() in ["x86_64-semios-linux", "aarch64-semios-linux"]:
|
||||
configure_args += ["--with-tail-call-interp"]
|
||||
cpp.configure(configure_args)
|
||||
cpp.make()
|
||||
cpp.make_install()
|
||||
os.rename(
|
||||
|
||||
Reference in new issue
Block a user