[Mesa-dev] [PATCH] gallium: move ddebug, noop, rbug, trace to auxiliary to improve build times

Marek Olšák maraeo at gmail.com
Tue Apr 10 19:47:32 UTC 2018


cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/llvm/x86_64-linux-gnu
-DLLVM_TARGETS_TO_BUILD="X86;AMDGPU" -DLLVM_ENABLE_ASSERTIONS=ON \
                  -DCMAKE_BUILD_TYPE=RelWithDebInfo
-DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON \
                  -DLLVM_APPEND_VC_REV=OFF
-DCMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO="-fuse-ld=gold" \
                  -DCMAKE_C_FLAGS_RELWITHDEBINFO="-O2 -g
-fno-omit-frame-pointer" \
                  -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-O2 -g
-fno-omit-frame-pointer"

Marek

On Tue, Apr 10, 2018 at 3:11 PM, Dylan Baker <dylan at pnwbakers.com> wrote:

> Quoting Marek Olšák (2018-04-10 11:03:59)
> > On Mon, Apr 9, 2018 at 5:37 PM, Dylan Baker <dylan at pnwbakers.com> wrote:
> >
> >     Are you building LLVM yourself, or is that a build that comes with
> your
> >     distro?
> >     Also, what is your distro?
> >
> >
> > Ubuntu 16.04. LLVM is in /usr/llvm/.... bin is not in PATH by default,
> include
> > is not in the include path by default, but lib is in the ld path.
> >
> > I build LLVM with shared libs myself.
>
> with -DBUILD_SHARED_LIBS=1?
>
> Dylan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180410/ff8e2b21/attachment.html>


More information about the mesa-dev mailing list