Browse Source

Fix broken DebugOpt build on linux

update-llvm-workflow
duckdoom5 6 months ago committed by tritao
parent
commit
f5d5c6cb09
  1. 2
      .github/workflows/llvm.yml
  2. 2
      build/llvm/LLVM.lua

2
.github/workflows/llvm.yml

@ -10,7 +10,7 @@ jobs: @@ -10,7 +10,7 @@ jobs:
matrix:
os: [ubuntu-22.04, macos-13]
platform: [x64, arm64]
build-cfg: [Debug, Release]
build-cfg: [Debug, RelWithDebInfo, Release]
runs-on: ${{ matrix.os }}

2
build/llvm/LLVM.lua

@ -142,7 +142,7 @@ end @@ -142,7 +142,7 @@ end
function get_llvm_configuration_name(debug)
if string.find(_OPTIONS["configuration"], "DebugOpt") then
return os.istarget("windows") and "RelWithDebInfo" or "Release"
return "RelWithDebInfo"
end
if string.find(_OPTIONS["configuration"], "Debug") then
return "Debug"

Loading…
Cancel
Save