You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a llvm toolchain at /usr/lib/llvm-20 (on a Debian system) but using CLANGPDB with ./buildme CLANGPDB fails:
TOOLCHAIN_DIR: /usr/lib/llvm-20
No clover toolchain found !
Install on your system or define the TOOLCHAIN_DIR variable.
I have also tried setting CLANGBIN to /usr/lib/llvm-20/bin but it still cannot find the toolchain.
Edit: removing the GCC checks from ebuild.sh fixes it temporarily. I had to patch some of the files to remove Werror since some warning flags don't exist with clang. Additionally, I got errors about C++17 and register keywords so I patched them out.
Edit 2: [CLANGPDB] not defined. No toolchain available for build! I guess clover is very out of date, as upstream EDK2 supports this out of the box 😕
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a llvm toolchain at
/usr/lib/llvm-20
(on a Debian system) but using CLANGPDB with./buildme CLANGPDB
fails:I have also tried setting CLANGBIN to
/usr/lib/llvm-20/bin
but it still cannot find the toolchain.Edit: removing the GCC checks from ebuild.sh fixes it temporarily. I had to patch some of the files to remove Werror since some warning flags don't exist with clang. Additionally, I got errors about C++17 and register keywords so I patched them out.
Edit 2:
[CLANGPDB] not defined. No toolchain available for build!
I guess clover is very out of date, as upstream EDK2 supports this out of the box 😕Beta Was this translation helpful? Give feedback.
All reactions