Compilation issue with Crystal 1.6.x

Most of the last couple of hours was just compiling LLVM

Now it outputs this when I try to compile any crystal code…

crystal: /llvm-project/llvm/include/llvm/IR/Type.h:389: llvm::Type* llvm::Type::getNonOpaquePointerElementType() const: Assertion `NumContainedTys && "Attempting to get element type of opaque pointer"' failed.
Aborted

That’s after building LLVM with:

cmake -DCMAKE_BUILD_TYPE:STRING=Debug ./llvm
make install