gollvm: building fails due to missing header llvm/ADT/None.h #62122
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Not applicable.
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?What did you do?
I followed the directions from this page on building gollvm: https://go.googlesource.com/gollvm
I was at the step to run this command: ninja gollvm
What did you expect to see?
I expected all the files to be compiled successfully.
What did you see instead?
I saw this error message:
llvm-project/llvm/tools/gollvm/passes/GoNilChecks.cpp:28:10: fatal error: 'llvm/ADT/None.h' file not found
#include "llvm/ADT/None.h"
^~~~~~~~~~~~~~~~~
1 error generated.
Additional info:
None.h is located here on my system: /usr/include/llvm-14/llvm/ADT/None.h
The text was updated successfully, but these errors were encountered: