[debuginfo-tests] ca8b7ef - [CMake] Add llvm-config to DEBUGINFO_TEST_DEPS

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 25 16:49:41 PDT 2020


Author: Fangrui Song
Date: 2020-06-25T16:49:33-07:00
New Revision: ca8b7ef763797253e08f614a7d38b76e77806b12

URL: https://github.com/llvm/llvm-project/commit/ca8b7ef763797253e08f614a7d38b76e77806b12
DIFF: https://github.com/llvm/llvm-project/commit/ca8b7ef763797253e08f614a7d38b76e77806b12.diff

LOG: [CMake] Add llvm-config to DEBUGINFO_TEST_DEPS

Fix `fatal: Could not run process ['/path/to/build/./bin/llvm-config', '--build-mode']`
when running check-debuginfo in a fresh build directory.

Added: 
    

Modified: 
    debuginfo-tests/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/debuginfo-tests/CMakeLists.txt b/debuginfo-tests/CMakeLists.txt
index addf13d50f49..dcd80bd4e4d9 100644
--- a/debuginfo-tests/CMakeLists.txt
+++ b/debuginfo-tests/CMakeLists.txt
@@ -16,6 +16,7 @@ set(DEBUGINFO_TEST_DEPS
   clang
   FileCheck
   count
+  llvm-config
   llvm-objdump
   check-gdb-llvm-support
   not


        


More information about the llvm-commits mailing list