[llvm] 8d79b05 - Add intrinsics_gen as a dependency of libRemarks

Jon Roelofs via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 8 14:18:06 PST 2021


Author: Jon Roelofs
Date: 2021-03-08T14:17:27-08:00
New Revision: 8d79b0536796ab4d13b897aa3d762206aa003e4b

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

LOG: Add intrinsics_gen as a dependency of libRemarks

Builds were failing with errors like:

```
fatal error: 'llvm/IR/Attributes.inc' file not found
         ^~~~~~~~~~~~~~~~~~~~~~~~
```

rdar://75179147

Added: 
    

Modified: 
    llvm/lib/Remarks/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Remarks/CMakeLists.txt b/llvm/lib/Remarks/CMakeLists.txt
index dd317ee08323..9e88ceccd5db 100644
--- a/llvm/lib/Remarks/CMakeLists.txt
+++ b/llvm/lib/Remarks/CMakeLists.txt
@@ -17,4 +17,7 @@ add_llvm_component_library(LLVMRemarks
   LINK_COMPONENTS
   BitstreamReader
   Support
+
+  DEPENDS
+  intrinsics_gen
 )


        


More information about the llvm-commits mailing list