Skip to main content

Bug in the axelera-runtime 1.5.3 package

  • February 24, 2026
  • 0 replies
  • 1 view

Hello,

 

I want to share that I think I found a bug in https://software.axelera.ai/ui/native/axelera-apt-source/axelera-runtime/ubuntu24/axelera-runtime_1.5.3-1_arm64.deb (and potentially other packages with the same version).

 

pkg-config returns the wrong location for the headers of axruntime:

(venv) ottavio@instance-20220410-1128:~/Projects/voyager-sdk$ pkg-config --cflags axruntime
-I/opt/axelera/runtime-1.5.3-1/
(venv) ottavio@instance-20220410-1128:~/Projects/voyager-sdk$

but it shoud be 

(venv) ottavio@instance-20220410-1128:~/Projects/voyager-sdk$ pkg-config --cflags axruntime
-I/opt/axelera/runtime-1.5.3-1/include
(venv) ottavio@instance-20220410-1128:~/Projects/voyager-sdk$

I am sure of these, because, without the final include directory, all the examples doing

#include <axruntime/axruntime.h>

will fail. Even if you change the code to

#include <include/axruntime/axruntime.h>

it will fail because it is trying to import axruntime.hpp which does not have the missing directory in the path.

Potentially, other libraries in the package have the same issue.

If you have the source of the package published somewhere, I can work on submitting a patch.