[Mesa-dev] [PATCH] clover: Fix build against clang SVN >= r265359
Tom Stellard
tom at stellard.net
Tue Apr 5 18:16:46 UTC 2016
On Tue, Apr 05, 2016 at 03:43:35PM +0900, Michel Dänzer wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
I pushed this, thanks.
-Tom
> ---
> src/gallium/state_trackers/clover/llvm/invocation.cpp | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp
> index 4d11c24..3fb3596 100644
> --- a/src/gallium/state_trackers/clover/llvm/invocation.cpp
> +++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp
> @@ -206,6 +206,9 @@ namespace {
> // http://www.llvm.org/bugs/show_bug.cgi?id=19735
> c.getDiagnosticOpts().ShowCarets = false;
> c.getInvocation().setLangDefaults(c.getLangOpts(), clang::IK_OpenCL,
> +#if HAVE_LLVM >= 0x0309
> + llvm::Triple(triple),
> +#endif
> clang::LangStandard::lang_opencl11);
> c.createDiagnostics(
> new clang::TextDiagnosticPrinter(
> --
> 2.8.0.rc3
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list