From 2397c2ba9c61096add001b476d2aa5e9b4417c76 Mon Sep 17 00:00:00 2001 From: melpon Date: Fri, 20 Sep 2024 10:24:22 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 4 ++++ run.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 86d59039..9f87307b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -245,6 +245,10 @@ jobs: # Intel Media SDK のために libva-dev, libdrm-dev を入れる DEBIAN_FRONTEND=noninteractive sudo apt-get -y install libva-dev libdrm-dev + - name: Install deps for ${{ matrix.platform.name }} + if: matrix.platform.os == 'ubuntu' && matrix.platform.arch == 'armv8' + run: | + sudo apt-get install -y software-properties-common multistrap - name: Install deps for Android if: matrix.platform.os == 'android' run: | diff --git a/run.py b/run.py index 0aa9f4ac..f60896ef 100644 --- a/run.py +++ b/run.py @@ -143,7 +143,7 @@ def install_deps( version = read_version_file("VERSION") # multistrap を使った sysroot の構築 - if platform.target.arch != "x86_64": + if platform.target.os == "ubuntu" and platform.target.arch == "armv8": conf = os.path.join(BASE_DIR, "multistrap", f"{platform.target.package_name}.conf") # conf ファイルのハッシュ値をバージョンとする version_md5 = hashlib.md5(open(conf, "rb").read()).hexdigest()