On 12 October 2016 at 10:57, Emil Velikov <emil.l.veli...@gmail.com> wrote: > On 12 October 2016 at 00:02, Tobias Droste <tdro...@gmx.de> wrote: >> Each driver has to expllicitly call llvm_add_default_components to >> add the shared components. >> This way we can fail the build if a component is not found and avoid >> the recursive solution from a previous version of the pach series. >> > s/pach/patch/ > > Does this mean that the "default" components are required only by the > gallivm module ? Please rename the function to reflect that. > > Don't recall if swr driver is/was using any of it, but the nv30 path > of nouveau does use it, iirc. In the latter you want to call the > function if --enable-gallium-llvm is set. Alternatively keep > llvm_add_default_components within the "test enable_gallium_llvm != > xno" block. > In case you're wondering how the above might happen:
Some drivers (i915g, softpipe/llvmpipe, nv30, r300, svga?... ) use the aux/draw module. The latter of which has LLVM codepaths which get build if --enable-gallium-llvm is set. Search "\<draw_.*(" and "HAVE_LLVM" for the specifics. Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev