Hey,
I'm just noticing, that there's also a bug report for this, so please add

 Bugzilla: https://bugs.freedesktop.org/109039

before commiting this, in case you accept it (I don't have commit access).

Cheers,
Kai


Kai Wasserbäch wrote on 14.12.18 17:26:
> Signed-off-by: Kai Wasserbäch <k...@dev.carbon-project.org>
> ---
>  src/gallium/state_trackers/clover/llvm/compat.hpp | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/src/gallium/state_trackers/clover/llvm/compat.hpp 
> b/src/gallium/state_trackers/clover/llvm/compat.hpp
> index 975012cbda..9c5b9d8917 100644
> --- a/src/gallium/state_trackers/clover/llvm/compat.hpp
> +++ b/src/gallium/state_trackers/clover/llvm/compat.hpp
> @@ -58,7 +58,11 @@
>  #include <llvm/Analysis/TargetLibraryInfo.h>
>  
>  #include <clang/Basic/TargetInfo.h>
> +#if HAVE_LLVM >= 0x0800
> +#include <clang/Basic/CodeGenOptions.h>
> +#else
>  #include <clang/Frontend/CodeGenOptions.h>
> +#endif
>  #include <clang/Frontend/CompilerInstance.h>
>  
>  namespace clover {

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to