RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
fix: wrong clang/toolchain for windows (#16191)
Haruko3861a8ee8ba61b6
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 74ef473aa9..34d9eea199 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -112,16 +112,16 @@ jobs:runner: windows-latestnative_asset: native-windows-x86_64.zipmsystem: CLANG64- msys2_packages: mingw-w64-clang-x86_64-clang- cc: clang+ msys2_packages: mingw-w64-clang-x86_64-clang mingw-w64-clang-x86_64-lld+ cc: C:/msys64/clang64/bin/clang.exeoutput_ext: .exe- goos: windowsgoarch: arm64runner: windows-11-armnative_asset: native-windows-aarch64.zipmsystem: CLANGARM64- msys2_packages: mingw-w64-clang-aarch64-clang- cc: clang+ msys2_packages: mingw-w64-clang-aarch64-clang mingw-w64-clang-aarch64-lld+ cc: C:/msys64/clangarm64/bin/clang.exeoutput_ext: .exeruns-on: ${{ matrix.runner }}env:@@ -287,13 +287,21 @@ jobs:Write-Host "Building ${{ matrix.goos }}/${{ matrix.goarch }} -> $output"$officeOxidePrefix = $env:OFFICE_OXIDE_PREFIX -replace "\\", "/"+ $cc = "${{ matrix.cc }}"+ if (-not (Test-Path $cc)) {+ Write-Error "C compiler does not exist: $cc"+ exit 1+ }$env:CGO_ENABLED = "1"+ $env:CC = $cc$env:CGO_CFLAGS = "-I${officeOxidePrefix}/include -I${officeOxidePrefix}/include/office_oxide_c"$env:CGO_LDFLAGS = "${officeOxidePrefix}/lib/office_oxide.lib -lws2_32 -lntdll -luserenv"$env:GOOS = "${{ matrix.goos }}"$env:GOARCH = "${{ matrix.goarch }}"+ Write-Host "CC: $env:CC"+ & $env:CC --versionWrite-Host "office_oxide prefix: $officeOxidePrefix"Write-Host "CGO_CFLAGS: $env:CGO_CFLAGS"Write-Host "CGO_LDFLAGS: $env:CGO_LDFLAGS"