From f57b51befc669f2e5a0165558503fecd35f7e164 Mon Sep 17 00:00:00 2001 From: huangguiniab <47934913+huangguiniab@users.noreply.github.com> Date: Thu, 18 Nov 2021 08:30:32 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20bug=20=E4=BF=AE=E5=A4=8D=E4=BA=86?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E4=B8=8B=E8=BD=BDopenal=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20=E7=BB=99bash=E8=84=9A=E6=9C=AC=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=20-x=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build_script/00-action-setup.sh | 3 +++ build_script/01-setup.sh | 1 + build_script/02-build.sh | 1 + build_script/03-action-clear.sh | 1 + 4 files changed, 6 insertions(+) diff --git a/build_script/00-action-setup.sh b/build_script/00-action-setup.sh index 5f0d937..8bbaa95 100644 --- a/build_script/00-action-setup.sh +++ b/build_script/00-action-setup.sh @@ -1,6 +1,7 @@ #!/bin/bash set -o errexit set -o nounset +set -x #复制构建脚本到操作环境 sudo cp -r lwjgl-backports/build_script/*.sh arm64/ @@ -15,7 +16,9 @@ sudo cp -r lwjgl/ arm64/ sudo cp -r lwjgl/ armhf/ #下载OPENAL到操作环境 +mkdir arm64/lwjgl/dist wget -O arm64/lwjgl/dist/libopenal.so https://build.lwjgl.org/stable/linux/arm64/libopenal.so wget -O arm64/lwjgl/dist/libopenal64.so https://build.lwjgl.org/stable/linux/arm64/libopenal.so +mkdir armhf/lwjgl/dist wget -O armhf/lwjgl/dist/libopenal.so https://build.lwjgl.org/stable/linux/arm32/libopenal.so wget -O armhf/lwjgl/dist/libopenal64.so https://build.lwjgl.org/stable/linux/arm32/libopenal.so diff --git a/build_script/01-setup.sh b/build_script/01-setup.sh index baf29c7..2ad6eb3 100644 --- a/build_script/01-setup.sh +++ b/build_script/01-setup.sh @@ -1,6 +1,7 @@ #!/bin/bash set -o errexit set -o nounset +set -x apt update apt install gnupg wget apt-transport-https libx11-dev libxxf86vm-dev libxt-dev libxcursor-dev libxrandr-dev -y wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - diff --git a/build_script/02-build.sh b/build_script/02-build.sh index 9e97832..e6de7af 100644 --- a/build_script/02-build.sh +++ b/build_script/02-build.sh @@ -1,6 +1,7 @@ #!/bin/bash set -o errexit set -o nounset +set -x cd /lwjgl rm platform_build/linux_ant/build.xml cp /build.xml platform_build/linux_ant/build.xml diff --git a/build_script/03-action-clear.sh b/build_script/03-action-clear.sh index a9f12bb..9cc12dc 100644 --- a/build_script/03-action-clear.sh +++ b/build_script/03-action-clear.sh @@ -1,6 +1,7 @@ #!/bin/bash set -o errexit set -o nounset +set -x #从arm64复制所有纯java库 sudo mkdir dist