From 3011e41420edccc0762ba75d9f2ec8ebb4ada073 Mon Sep 17 00:00:00 2001 From: Evgeny Mankov Date: Wed, 18 Sep 2019 11:53:23 +0300 Subject: [PATCH] [HIPIFY][#1430] Build fix for LLVM < 8.0.0 --- hipify-clang/src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hipify-clang/src/main.cpp b/hipify-clang/src/main.cpp index 4b426b41f7..2214567df3 100644 --- a/hipify-clang/src/main.cpp +++ b/hipify-clang/src/main.cpp @@ -34,6 +34,9 @@ THE SOFTWARE. #include "ArgParse.h" #include "StringUtils.h" #include "llvm/Support/Debug.h" +#if LLVM_VERSION_MAJOR < 8 +#include "llvm/Support/Path.h" +#endif constexpr auto DEBUG_TYPE = "cuda2hip";