[Mesa-dev] [Mesa-stable] [PATCH] swr: [rasterizer jitter] fix llvm >= 7 build break
Chuck Atkins
chuck.atkins at kitware.com
Mon Sep 24 16:01:37 UTC 2018
Hi Dylan,
> xswr)
> > llvm_require_version $LLVM_REQUIRED_SWR "swr"
> > + llvm_add_default_components "swr"
> > + if test $LLVM_VERSION_MAJOR -ge 7; then
> > + llvm_add_component "ipo" "swr"
> > + llvm_add_component "ObjCARCOpts" "swr"
>
> Presumably this should be added to the meson build as well? There's an
> "llvm_modules" array around line 1170.
>
I'm not quite sure how to add this. The additional modules are only
required for LLVM >= 7. From the implementation in meson.build, it looks
like the required llvm_modules are assembled and then used the llvm
dependency is searched for. It seems a bit of chicken-egg problem in that
I don't know if the extra modules are required until after I know the llvm
version, but I need the required modules to dertime the llvm version.
Suggestions?
Thanks,
- Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180924/7ecbe00d/attachment.html>
More information about the mesa-dev
mailing list