more neos acados lib fixes (#22175)

Co-authored-by: Comma Device <device@comma.ai>
pull/22179/head
Adeeb Shihadeh 4 years ago committed by GitHub
parent 02a83fdcb3
commit d2448e0cc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. BIN
      phonelibs/acados/aarch64/lib/libacados.so
  2. BIN
      phonelibs/acados/aarch64/lib/libblasfeo.so
  3. BIN
      phonelibs/acados/aarch64/lib/libhpipm.so
  4. BIN
      phonelibs/acados/aarch64/lib/libqpOASES_e.so.3.1
  5. 19
      phonelibs/acados/build.sh

@ -43,10 +43,27 @@ if [ -f /EON ]; then
pushd $INSTALL_DIR/lib pushd $INSTALL_DIR/lib
for lib in $(ls .); do for lib in $(ls .); do
if ! readlink $lib; then if ! readlink $lib; then
patchelf --set-soname "$PWD/$lib" $lib patchelf --set-soname $PWD/$lib $lib
if [ "$lib" = "libacados.so" ]; then
for nlib in "libhpipm.so" "libblasfeo.so" "libqpOASES_e.so.3.1"; do
patchelf --replace-needed $nlib $PWD/$nlib $lib
done
fi
if [ "$lib" = "libhpipm.so" ]; then
patchelf --replace-needed libblasfeo.so $PWD/libblasfeo.so $lib
fi
# pad extra byte to workaround bionic linker bug
# https://android.googlesource.com/platform/bionic/+/93ce35434ca5af43a7449e289959543f0a2426fa%5E%21/#F0
dd if=/dev/zero bs=1 count=1 >> $lib
fi fi
done done
popd popd
cd $DIR
git checkout $INSTALL_DIR/t_renderer
fi fi
# build tera # build tera

Loading…
Cancel
Save