[clang] Remove .. from clang resource path when specified with CLANG_RESOURCE_DIR (PR #216996)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 28 03:54:41 PDT 2026
gallopruss-sie wrote:
Hi @mgorny,
It seems like Gentoo is building with something like: `CLANG_RESOURCE_DIR=../../../../lib/clang/24` This is extending out above the riscv64-nogcc folder that the test sets up, so my change strips this and the dots out. A simple change would be to adjust the test, to remove the expectation of the riscv64-nogcc folder, but that would seem to go against the goal of the test, to have things in that test folder, so I'm proposing that this test sets the -resource-dir.
I've created a PR here for this: https://github.com/llvm/llvm-project/pull/226952 Please could you take a look?
Thanks
Russ
(note, I'm moving github accounts from rgal)
https://github.com/llvm/llvm-project/pull/216996
More information about the cfe-commits
mailing list