From 79fdab148656d42747a19069fad45eea9c6ab6ef Mon Sep 17 00:00:00 2001 From: dfukalov Date: Thu, 25 Feb 2016 15:18:14 +0300 Subject: [PATCH] fixed lit script discovery in standalone build case [ROCm/clr commit: 3d5de5305defa5720d602c80c9fa9f315cd3ba25] --- projects/clr/hipamd/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/clr/hipamd/CMakeLists.txt b/projects/clr/hipamd/CMakeLists.txt index 8915cc4714..1a6bc3636d 100644 --- a/projects/clr/hipamd/CMakeLists.txt +++ b/projects/clr/hipamd/CMakeLists.txt @@ -15,6 +15,7 @@ if(${HIPIFY_STANDLONE}) link_directories(${LLVM_LIBRARY_DIRS}) add_definitions(${LLVM_DEFINITIONS}) add_llvm_executable( hipify src/Cuda2Hip.cpp ) + find_program(LIT_COMMAND lit) else() set(LLVM_LINK_COMPONENTS