[llvm] r375346 - [ARM] Add dependency on GlobalISel for unit tests to fix shared libs build

Nemanja Ivanovic via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 19 09:40:27 PDT 2019


Author: nemanjai
Date: Sat Oct 19 09:40:26 2019
New Revision: 375346

URL: http://llvm.org/viewvc/llvm-project?rev=375346&view=rev
Log:
[ARM] Add dependency on GlobalISel for unit tests to fix shared libs build

The unit test uses GlobalISel but the dependency is not listed in the
CMakeLists.txt file which causes failures in shared libs build with GCC.

This just adds the dependency.

Differential revision: https://reviews.llvm.org/D69064

Modified:
    llvm/trunk/unittests/Target/ARM/CMakeLists.txt

Modified: llvm/trunk/unittests/Target/ARM/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Target/ARM/CMakeLists.txt?rev=375346&r1=375345&r2=375346&view=diff
==============================================================================
--- llvm/trunk/unittests/Target/ARM/CMakeLists.txt (original)
+++ llvm/trunk/unittests/Target/ARM/CMakeLists.txt Sat Oct 19 09:40:26 2019
@@ -8,6 +8,7 @@ set(LLVM_LINK_COMPONENTS
   ARMDesc
   ARMInfo
   CodeGen
+  GlobalISel
   MC
   SelectionDAG
   Support




More information about the llvm-commits mailing list