Skip to content

Commit

Permalink
Fix GitHub cross builds
Browse files Browse the repository at this point in the history
  • Loading branch information
hefroy committed Jul 6, 2023
1 parent c81bcd1 commit 07e567c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/android-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ An Ubuntu 20.04 development machine with 200GB free disk space should be used.
&& cp -r build/dist/arm64-v8a build/dist/armeabi-v7a tools/android-app/app/src/main/jniLibs \
&& cp THIRD-PARTY-LICENSES tools/android-app/app/src/main/assets \
&& cd tools/android-app \
&& export ANDROID_HOME=/usr/local/android_sdk ./gradlew assemble
&& ANDROID_HOME=/usr/local/android_sdk ./gradlew assemble
```

### Shared library interface
Expand Down
2 changes: 1 addition & 1 deletion tools/install-deps-cross-arm64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fi
sed -i "s/deb http/deb [arch=${ARCH}] http/g" /etc/apt/sources.list
cp /etc/apt/sources.list /etc/apt/sources.list.d/arm64.list
sed -i "s/deb \[arch=${ARCH}\] http/deb [arch=arm64] http/g" /etc/apt/sources.list.d/arm64.list
sed -i "s#archive.ubuntu.com/ubuntu#ports.ubuntu.com/ubuntu-ports#g" /etc/apt/sources.list.d/arm64.list
sed -i -E "s#(archive|security).ubuntu.com/ubuntu#ports.ubuntu.com/ubuntu-ports#g" /etc/apt/sources.list.d/arm64.list
dpkg --add-architecture arm64
apt update
apt install -y \
Expand Down
2 changes: 1 addition & 1 deletion tools/install-deps-cross-armhf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fi
sed -i "s/deb http/deb [arch=${ARCH}] http/g" /etc/apt/sources.list
cp /etc/apt/sources.list /etc/apt/sources.list.d/armhf.list
sed -i "s/deb \[arch=${ARCH}\] http/deb [arch=armhf] http/g" /etc/apt/sources.list.d/armhf.list
sed -i "s#archive.ubuntu.com/ubuntu#ports.ubuntu.com/ubuntu-ports#g" /etc/apt/sources.list.d/armhf.list
sed -i -E "s#(archive|security).ubuntu.com/ubuntu#ports.ubuntu.com/ubuntu-ports#g" /etc/apt/sources.list.d/armhf.list
dpkg --add-architecture armhf
apt update
apt install -y \
Expand Down

0 comments on commit 07e567c

Please sign in to comment.