From 0cf114c39909070609e76001c64bba7a241e50db Mon Sep 17 00:00:00 2001 From: Linus Dierheimer Date: Mon, 12 Jun 2023 15:39:17 +0200 Subject: [PATCH] CI: Try to fix build with musl --- .github/workflows/push.yml | 2 +- src/detection/gpu/gpu_linux.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 057daf050..0b79ffc62 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -21,7 +21,7 @@ jobs: uses: actions/checkout@v3 - name: install required packages - run: sudo apt-get update && sudo apt-get install -y musl-dev musl-tools libpci-dev libvulkan-dev libwayland-dev libxrandr-dev libxcb-randr0-dev libdconf-dev libdbus-1-dev libmagickcore-dev libxfconf-0-dev libsqlite3-dev rpm librpm-dev libzstd-dev libegl-dev libglx-dev libosmesa6-dev ocl-icd-opencl-dev libnm-dev libpulse-dev + run: sudo apt-get update && sudo apt-get install -y musl-dev musl-tools linux-headers-generic libpci-dev libvulkan-dev libwayland-dev libxrandr-dev libxcb-randr0-dev libdconf-dev libdbus-1-dev libmagickcore-dev libxfconf-0-dev libsqlite3-dev rpm librpm-dev libzstd-dev libegl-dev libglx-dev libosmesa6-dev ocl-icd-opencl-dev libnm-dev libpulse-dev - name: configure project env: diff --git a/src/detection/gpu/gpu_linux.c b/src/detection/gpu/gpu_linux.c index 9ef3a24eb..a3f3c0bbe 100644 --- a/src/detection/gpu/gpu_linux.c +++ b/src/detection/gpu/gpu_linux.c @@ -282,7 +282,7 @@ const char* ffDetectGPUImpl(const FFinstance* instance, const FFGPUOptions* opti #ifdef FF_HAVE_LIBPCI return pciDetectGPUs(instance, options, gpus); #else - FF_UNUSED(instance, gpus); + FF_UNUSED(instance, options, gpus); return "fastfetch is built without libpci support"; #endif }