Skip to content

Commit ec2c68e

Browse files
authored
Fix test_bullet_autoconf on ARM64 macOS. (#24996)
Failed with http://clbri.com:8010/api/v2/logs/20943/raw_inline ``` Invalid configuration `aarch64-apple-darwin24.5.0': machine `aarch64-apple' not recognized configure: error: /bin/sh ./config.sub aarch64-apple-darwin24.5.0 failed emconfigure: error: 'sh ./configure --disable-shared --host=i686-pc-linux-gnu --disable-demos --disable-dependency-tracking' failed (returned 1) ```
1 parent 2571c27 commit ec2c68e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/test_core.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,9 @@ def get_bullet_library(self, use_cmake):
474474
# that we are doing cross-compilation
475475
# and skip attempting to run the generated executable with './a.out',
476476
# which would fail since we are building a .js file.
477-
configure_args = ['--disable-shared', '--host=i686-pc-linux-gnu',
478-
'--disable-demos', '--disable-dependency-tracking']
477+
configure_args = ['--disable-shared', '--build=i686-pc-linux-gnu',
478+
'--host=i686-pc-linux-gnu', '--disable-demos',
479+
'--disable-dependency-tracking']
479480
generated_libs = ['src/.libs/libBulletDynamics.a',
480481
'src/.libs/libBulletCollision.a',
481482
'src/.libs/libLinearMath.a']

0 commit comments

Comments
 (0)