From 79e53594d97ca850bb73d7952a07ac5d177cab36 Mon Sep 17 00:00:00 2001 From: aristocratos Date: Sat, 21 Sep 2024 13:42:51 +0200 Subject: [PATCH] Fix missing headers headers for GPU build on Alpine --- .github/workflows/cmake-linux.yml | 2 +- .github/workflows/continuous-build-gpu.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-linux.yml b/.github/workflows/cmake-linux.yml index 7864a04a7..5acc5186f 100644 --- a/.github/workflows/cmake-linux.yml +++ b/.github/workflows/cmake-linux.yml @@ -30,7 +30,7 @@ jobs: - uses: actions/checkout@v4 - name: Install build tools - run: apk add --no-cache --update clang cmake lld ninja lowdown + run: apk add --no-cache --update clang cmake lld ninja lowdown linux-headers - name: Configure run: CXX=clang++ LDFLAGS=-fuse-ld=lld cmake -B build -G Ninja -DBTOP_STATIC=ON diff --git a/.github/workflows/continuous-build-gpu.yml b/.github/workflows/continuous-build-gpu.yml index e3bdf0100..4d203a586 100644 --- a/.github/workflows/continuous-build-gpu.yml +++ b/.github/workflows/continuous-build-gpu.yml @@ -38,7 +38,7 @@ jobs: - uses: actions/checkout@v4 - name: Install build tools - run: apk add --no-cache --update gcc g++ make + run: apk add --no-cache --update gcc g++ make linux-headers - name: Compile run: make CXX=g++ GPU_SUPPORT=true