Skip to content

Conversation

@mike-golant
Copy link

@mike-golant mike-golant commented Aug 28, 2025

This PR fixes module builds failing due to missing llvm-config/libclang when BUILD_WITH_MODULES=yes.

  • Alpine: add llvm (in addition to existing llvm-dev, clang-libclang) and export LLVM_CONFIG_PATH and LIBCLANG_PATH so clang-sys can locate toolchain.
  • Debian: add llvm, llvm-dev, libclang-dev for the module build path.

Local verification:

  • Built alpine (arm64) with modules: RediSearch, RedisJSON etc. linked successfully, no clang-sys errors.
  • Built debian (arm64) with modules: completed successfully.

These changes should stabilize CI jobs where modules are enabled (amd64/arm64).

…llvm/llvm-dev on alpine; add llvm llvm-dev libclang-dev on debian; export LLVM_CONFIG_PATH/LIBCLANG_PATH)
@adamiBs adamiBs merged commit 0579700 into redis:unstable Aug 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants