summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-12-22 20:23:18 +0100
committerMichał Górny <mgorny@gentoo.org>2024-12-30 12:32:35 +0100
commitd9a6a468bb2c0a16c62cb9b4f22369b5c99a34a9 (patch)
treeb3b385b3190c0028e3483b05e69be2f55a0f0113 /eclass
parenteclass/tests/llvm-r2.sh: Add tests for llvm-config (diff)
downloadgentoo-d9a6a468bb2c0a16c62cb9b4f22369b5c99a34a9.tar.gz
gentoo-d9a6a468bb2c0a16c62cb9b4f22369b5c99a34a9.tar.bz2
gentoo-d9a6a468bb2c0a16c62cb9b4f22369b5c99a34a9.zip
llvm-r2.eclass: Add MLIR_ROOT
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/llvm-r2.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/llvm-r2.eclass b/eclass/llvm-r2.eclass
index 4c2628dd3b7e..5fc39945875c 100644
--- a/eclass/llvm-r2.eclass
+++ b/eclass/llvm-r2.eclass
@@ -427,6 +427,7 @@ llvm_chost_setup() {
export LLVM_ROOT="${esysroot_prefix}"
export Clang_ROOT="${esysroot_prefix}"
export LLD_ROOT="${esysroot_prefix}"
+ export MLIR_ROOT="${esysroot_prefix}"
# satisfies llvm-config calls, e.g. from meson
export PATH="${T}/llvm-bin:${PATH}"