[llvm] ccf500c - [NFC] Add missing dependency in the IR unittests

Andrzej Warzynski via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 18 02:11:02 PST 2020


Author: Andrzej Warzynski
Date: 2020-11-18T10:10:44Z
New Revision: ccf500ce00c5768ae98248a8de90408488235aa7

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

LOG: [NFC] Add missing dependency in the IR unittests

This missing dependency has caused build failures when
`BUILD_SHARED_LIBS` is set to `ON`. The breaking change was introduced
here:
  * https://reviews.llvm.org/D91324

Failing buildbot:
  * http://lab.llvm.org:8011/#/builders/66/builds/555

Added: 
    

Modified: 
    llvm/unittests/IR/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/IR/CMakeLists.txt b/llvm/unittests/IR/CMakeLists.txt
index c4386fed6174..42fa677b2472 100644
--- a/llvm/unittests/IR/CMakeLists.txt
+++ b/llvm/unittests/IR/CMakeLists.txt
@@ -5,6 +5,7 @@ set(LLVM_LINK_COMPONENTS
   Support
   Passes
   TransformUtils
+  ScalarOpts
   )
 
 add_llvm_unittest(IRTests


        


More information about the llvm-commits mailing list