Skip to content

Commit 6505cfc

Browse files
authored
Fixes libvpx build (#2672)
* Fixes libvpx build * Add --disable-neon-asm for armeabi-v7a
1 parent ed43cbb commit 6505cfc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ci/constants.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ class TargetPython(Enum):
1616
# build_dir = glob.glob('build/lib.*')[0]
1717
# IndexError: list index out of range
1818
'secp256k1',
19-
'ffpyplayer',
2019
# requires `libpq-dev` system dependency e.g. for `pg_config` binary
2120
'psycopg2',
2221
# most likely some setup in the Docker container, because it works in host

pythonforandroid/recipes/libvpx/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,12 @@ def build_arch(self, arch):
4444
'--disable-docs',
4545
'--disable-install-docs',
4646
'--disable-realtime-only',
47-
'--enable-external-build',
4847
f'--prefix={realpath(".")}',
4948
]
49+
50+
if arch.arch == 'armeabi-v7a':
51+
flags.append('--disable-neon-asm')
52+
5053
configure = sh.Command('./configure')
5154
shprint(configure, *flags, _env=env)
5255
shprint(sh.make, '-j', str(cpu_count()), _env=env)

0 commit comments

Comments
 (0)