Update build infrastructure for LLVM 10.0.0.ok hackroom@tested by plenty
When linking libLLVM.a in clang and lld include it within theld --start-group --end-group block. bfd ld seems to need this wherelld doesn't.
Build and install a shared libLLVM, llvm-config and llvm includes.This is required to build the radeonsi Mesa driver.ok patrick@
Take a more radical approach to disabling colours: pretend we don'tHAVE_TERMINFO in our local config.h. Some of the lower levels of LLVMdon't seem to respect our default setting.As a result, del
Take a more radical approach to disabling colours: pretend we don'tHAVE_TERMINFO in our local config.h. Some of the lower levels of LLVMdon't seem to respect our default setting.As a result, delete the -ltermlib dependency.Note that this breaks -fcolor-diagnostics=auto. However, fixing the wholecodebase is out of scope for now ...Prompted by an instance found in the AsmParser by deraadt@ok kettenis@ patrick@
show more ...
LLVM/Clang build system. This only builds the bare minimum of what is neededto get a working "clang" binary.Note that you need GCC from ports to bootstrap clang.looks good to patrick@, ok jsg@
LLVM/Clang build system. This only builds the bare minimum of what is neededto get a working "clang" binary.Note that you need GCC from ports to bootstrap clang.looks good to patrick@, ok jsg@ kettenis@