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
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev