From fb24e527dbb2a8c67f679d2ab11e20d25b05d30b Mon Sep 17 00:00:00 2001 From: Cody Rodgers Date: Wed, 11 Feb 2026 17:02:59 -0500 Subject: [PATCH 1/2] Update dynamic lib linkage on Linux to be more portable --- compile/common/bee.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compile/common/bee.lua b/compile/common/bee.lua index 3d5aa7af..370c50f7 100644 --- a/compile/common/bee.lua +++ b/compile/common/bee.lua @@ -69,7 +69,6 @@ lm:source_set "source_bee" { }, linux = { sources = { - "!bee/crash/linux/**/", need { "linux", "posix", @@ -136,9 +135,11 @@ lm:source_set "source_bee" { } }, linux = { - ldflags = "-pthread", + ldflags = "-pthread -l:libbfd.a -l:libiberty.a -l:libsframe.a -l:libzstd.so -l:libz.so", links = { "stdc++fs", + "unwind", + "gcc_s" } }, macos = { From 785f2d8e804e69e6b990e846fcf260f4c249dee6 Mon Sep 17 00:00:00 2001 From: Cody Rodgers Date: Wed, 11 Feb 2026 17:03:46 -0500 Subject: [PATCH 2/2] Update build pipeline for linux --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2dbd1be7..f8679eeb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,9 +15,9 @@ jobs: include: - os: windows-latest platform: win32-x64 - - os: ubuntu-22.04 + - os: ubuntu-24.04 platform: linux-x64 - - os: ubuntu-22.04-arm + - os: ubuntu-24.04-arm platform: linux-arm64 - os: macos-latest platform: darwin-x64 @@ -28,6 +28,9 @@ jobs: with: submodules : recursive - uses: actboy168/setup-luamake@master + - if: matrix.platform == 'linux-x64' || matrix.platform == 'linux-arm64' + run: | + sudo apt-get update && sudo apt-get install -y libiberty-dev - run: luamake lua compile/download_deps.lua - run: luamake -mode release -platform ${{ matrix.platform }} - run: npm install -g @vscode/vsce ovsx