Merge pull request 'feat: support python for riscv64 architecture' (#59) from sisungo/ports:python-riscv into main
Reviewed-on: #59
This commit was merged in pull request #59.
This commit is contained in:
commit
7c7aff2e75
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