fix: gallivm: fix LLVM #include of Host.h, moved to TargetParser
authorKai Wasserbäch <kai@dev.carbon-project.org>
Sat, 11 Feb 2023 17:38:01 +0000 (18:38 +0100)
committerMarge Bot <emma+marge@anholt.net>
Sun, 12 Mar 2023 14:02:23 +0000 (14:02 +0000)
commitbb2db56ffec6e527d88751f75117ae690227cd6c
treee761b0eee2ce37854bf7b78050d2f97cfa625109
parente3aa058317f5ad9540bfee4c98be62fa6f24a3e8
fix: gallivm: fix LLVM #include of Host.h, moved to TargetParser

Upstream moved Host.h from Support to TargetParser in LLVM 17.

This shouldn't lead to a FTBFS, since there is a forwarding include left
behind. Sadly the added deprecation warning #pragma is invalid and thus
causes a build failure right away. But since we would have to follow the
move anyway in the future, just do it right away.

Reference: https://github.com/llvm/llvm-project/commit/d768bf994f508d7eaf9541a568be3d71096febf5
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Closes: #8275
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21263>
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp