feat: dynamic loading of libdrm and libdrm_amdgpu (#438)

* feat: dynamic loading of libdrm and libdrm_amdgpu

* fix: libdrm_amdgpu_sys requires rustc 1.80.0 for exclusive_range_pattern

* feat: update libdrm_amdgpu_sys to 0.8.1

* fix: remove Rc wrapper for LibDrmAmdgpu

* pkg: bump rust version used to build packages

---------

Co-authored-by: Ilya Zlobintsev <ilya.zl@protonmail.com>
This commit is contained in:
Umio Yasuno
2025-01-04 22:04:07 +09:00
committed by GitHub
parent 1d44df1652
commit 3afbcb2221
8 changed files with 42 additions and 14 deletions

View File

@@ -28,7 +28,7 @@ env:
configure:
steps:
- cmd: curl -o /tmp/install_rust.sh $RUSTUP_URL
- cmd: sh /tmp/install_rust.sh -y --default-toolchain 1.78
- cmd: sh /tmp/install_rust.sh -y --default-toolchain 1.80
- cmd: pacman -Syu --noconfirm
pkg: true
build:

View File

@@ -26,7 +26,7 @@ env:
configure:
steps:
- cmd: curl -o /tmp/install_rust.sh $RUSTUP_URL
- cmd: sh /tmp/install_rust.sh -y --default-toolchain 1.78
- cmd: sh /tmp/install_rust.sh -y --default-toolchain 1.80
- cmd: >-
curl -o /tmp/blueprint-compiler.deb http://de.archive.ubuntu.com/ubuntu/pool/universe/b/blueprint-compiler/blueprint-compiler_0.14.0-1_all.deb &&
apt install -y /tmp/blueprint-compiler.deb

View File

@@ -28,7 +28,7 @@ env:
configure:
steps:
- cmd: curl -o /tmp/install_rust.sh $RUSTUP_URL
- cmd: sh /tmp/install_rust.sh -y --default-toolchain 1.78
- cmd: sh /tmp/install_rust.sh -y --default-toolchain 1.80
- cmd: >-
curl -o /tmp/blueprint-compiler.deb http://de.archive.ubuntu.com/ubuntu/pool/universe/b/blueprint-compiler/blueprint-compiler_0.14.0-1_all.deb &&
apt install -y /tmp/blueprint-compiler.deb