Browse Source

Fix incorrect configuration mapping

update-llvm-workflow
duckdoom5 5 months ago committed by tritao
parent
commit
c51e3c2cc6
  1. 2
      .github/workflows/llvm-win.yml
  2. 2
      .github/workflows/llvm.yml
  3. 2
      build/LLVM.lua

2
.github/workflows/llvm-win.yml

@ -10,7 +10,7 @@ jobs:
matrix: matrix:
os: [windows-2022] os: [windows-2022]
platform: [x64] platform: [x64]
build-cfg: [Debug, RelWithDebInfo, Release] build-cfg: [Debug, DebugOpt, Release]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}

2
.github/workflows/llvm.yml

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

2
build/LLVM.lua

@ -12,7 +12,7 @@ require "llvm/LLVM"
function SearchLLVM() function SearchLLVM()
LLVMRootDirDebug = builddir .. "/llvm/" .. get_llvm_package_name(nil, "Debug") LLVMRootDirDebug = builddir .. "/llvm/" .. get_llvm_package_name(nil, "Debug")
LLVMRootDirRelWithDebInfo = builddir .. "/llvm/" .. get_llvm_package_name(nil, "RelWithDebInfo") LLVMRootDirRelWithDebInfo = builddir .. "/llvm/" .. get_llvm_package_name(nil, "DebugOpt")
LLVMRootDirRelease = builddir .. "/llvm/" .. get_llvm_package_name() LLVMRootDirRelease = builddir .. "/llvm/" .. get_llvm_package_name()
if os.isdir(LLVMRootDirDebug) or os.isdir(LLVMRootDirRelWithDebInfo) or os.isdir(LLVMRootDirRelease) then if os.isdir(LLVMRootDirDebug) or os.isdir(LLVMRootDirRelWithDebInfo) or os.isdir(LLVMRootDirRelease) then

Loading…
Cancel
Save