]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
task: The LLVM symbolizer is in llvm-12 on Ubuntu 22
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 7 May 2025 14:06:23 +0000 (16:06 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 12 May 2025 13:00:29 +0000 (15:00 +0200)
tasks.py

index 3d640d29d23d175b238bd978d033bb84fb07879a..0828ba49c856e8346026fc3ff84659228f4ded47 100644 (file)
--- a/tasks.py
+++ b/tasks.py
@@ -157,7 +157,8 @@ def install_clang(c):
 @task
 def install_clang_runtime(c):
     # this gives us the symbolizer, for symbols in asan/ubsan traces
-    c.sudo('apt-get -qq -y --no-install-recommends install clang-12')
+    # starting with Ubuntu 22, clang-12 no longer depends on llvm-12 so we need llvm-12
+    c.sudo('apt-get -qq -y --no-install-recommends install clang-12 llvm-12')
 
 def install_libdecaf(c, product):
     c.run('git clone https://git.code.sf.net/p/ed448goldilocks/code /tmp/libdecaf')