On Tue, Sep 5, 2017 at 4:16 AM, Chih-Wei Huang <cwhu...@android-x86.org> wrote: > The radeonsi driver fails in the error: > > [ 5% 200/3583] target C++: libmesa_amd_common_32 <= > external/mesa/src/amd/common/ac_llvm_helper.cpp > In file included from external/mesa/src/amd/common/ac_llvm_helper.cpp:35: > In file included from > external/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:22: > In file included from external/llvm/include/llvm/IR/Module.h:21: > In file included from external/llvm/include/llvm/IR/Function.h:22: > In file included from external/llvm/include/llvm/IR/Argument.h:19: > external/llvm/include/llvm/IR/Attributes.h:71:14: fatal error: > 'llvm/IR/Attributes.inc' file not found > #include "llvm/IR/Attributes.inc" > ^~~~~~~~~~~~~~~~~~~~~~~~ > 1 error generated. > > The reason is llvm-headers is still necessary to build radeonsi driver. > However, it's accidentally(?) removed in commit 4734bfc0.
Linking to libLLVM should imply the headers as that's how it used to work and changing that behavior would break things in AOSP a lot. I thought I wiped my tree and built from scratch. Or maybe I just get lucky with the build ordering. Rob _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev