llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Abhinav Kumar (kr-2003)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/159404.diff


1 Files Affected:

- (modified) clang/unittests/Interpreter/CMakeLists.txt (+2-2) 


``````````diff
diff --git a/clang/unittests/Interpreter/CMakeLists.txt 
b/clang/unittests/Interpreter/CMakeLists.txt
index 7b8dcfc9b0546..66b396b53cb55 100644
--- a/clang/unittests/Interpreter/CMakeLists.txt
+++ b/clang/unittests/Interpreter/CMakeLists.txt
@@ -37,7 +37,7 @@ set(CLANG_REPL_TEST_SOURCES
   CodeCompletionTest.cpp
 )
 
-if(TARGET compiler-rt)
+if(TARGET compiler-rt AND LLVM_ON_UNIX)
   list(APPEND CLANG_REPL_TEST_SOURCES
     OutOfProcessInterpreterTests.cpp
   )
@@ -61,7 +61,7 @@ add_distinct_clang_unittest(ClangReplInterpreterTests
   ${LLVM_COMPONENTS_TO_LINK}
   )
 
-if(TARGET compiler-rt)
+if(TARGET compiler-rt AND LLVM_ON_UNIX)
   add_dependencies(ClangReplInterpreterTests 
     llvm-jitlink-executor 
     compiler-rt

``````````

</details>


https://github.com/llvm/llvm-project/pull/159404
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to