How to find a custom toolchain that may have a prefix or suffix? #6415
Unanswered
davidchisnall
asked this question in
Q&A
Replies: 1 comment 8 replies
-
|
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Some people who package our toolchain want to put it in the same directory as their normal tools and add a -cheriot suffix to all of the tools (LLVM's build system has a thing to add a suffix for a modified build of LLVM). Unfortunately, our current custom toolchain logic (which is basically the same as the documentation), then finds
clang
, notclang-cheriot
.If I do:
Then it seems to find the tool, but then errors saying:
error: cannot find known tool script for /usr/local/bin/clang-cheriot
Is there a way of saying 'clang might be called clang-{something} or {something}-clang, but it's still clang'?
Beta Was this translation helpful? Give feedback.
All reactions