This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 0de13e08e4 [CI][Docker] Install libpolly-15-dev for noble llvm-15
static linking (#19913)
0de13e08e4 is described below
commit 0de13e08e44ac66c0d16805d2a5bc76be55b0aef
Author: Shushi Hong <[email protected]>
AuthorDate: Tue Jun 30 09:09:03 2026 -0400
[CI][Docker] Install libpolly-15-dev for noble llvm-15 static linking
(#19913)
#19893 switched the LLVM install from apt.llvm.org to noble's own repos.
Unlike apt.llvm.org, noble splits Polly's static libs into a per-version
libpolly-<N>-dev package. The install list added libpolly-16-dev and
libpolly-17-dev but not libpolly-15-dev, so `llvm-config-15
--link-static` (used by the GPU build) cannot find libPolly.a /
libPollyISL.a, breaking the libtvm_compiler.so link. Add
libpolly-15-dev.
---
docker/install/ubuntu_install_llvm.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docker/install/ubuntu_install_llvm.sh
b/docker/install/ubuntu_install_llvm.sh
index 1f5e614641..830e867721 100644
--- a/docker/install/ubuntu_install_llvm.sh
+++ b/docker/install/ubuntu_install_llvm.sh
@@ -22,6 +22,6 @@ set -o pipefail
apt-get update && apt-install-and-clear -y \
llvm-15 llvm-16 llvm-17\
- clang-15 libclang-15-dev \
+ clang-15 libclang-15-dev libpolly-15-dev \
clang-16 libclang-16-dev libpolly-16-dev \
clang-17 libclang-17-dev libpolly-17-dev libzstd-dev