Skip to content

Commit

Permalink
llvm: Build LLVM with run-time type information
Browse files Browse the repository at this point in the history
> -D=LLVM_ENABLE_RTTI=ON: Used to build LLVM with run-time type
> information. This is required for building Mesa-19.0.4.

Required by Mesa 3D Nouveau driver.

    Dependency LLVM (modules: amdgpu, asmparser, bitreader, bitwriter, engine, ipo, mcdisassembler, mcjit, native) found: YES 7.0.1

    meson.build:1277:6: ERROR: Problem encountered: The Nouveau driver requires rtti. You either need to turn off nouveau or use an LLVM built with LLVM_ENABLE_RTTI.

[1]: http://www.linuxfromscratch.org/blfs/view/svn/general/llvm.html
  • Loading branch information
pmenzel committed Jun 26, 2019
1 parent 66c7288 commit 4073d78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm.be0
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ mee_configure() {
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_BUILD_LLVM_DYLIB=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DLLVM_ENABLE_RTTI=ON \
-DLLVM_TARGETS_TO_BUILD="X86;AMDGPU;BPF" \
-DLLVM_INSTALL_UTILS=ON
}
Expand Down

0 comments on commit 4073d78

Please sign in to comment.