File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed 
utils/bazel/llvm-project-overlay/bolt Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,12 @@ package(
1010
1111licenses (["notice" ])
1212
13+ genrule (
14+     name  =  "generate_vcs_revision" ,
15+     outs  =  ["include/VCSVersion.inc" ],
16+     cmd  =  "echo '#undef BOLT_REVISION' >> $@\n " ,
17+ )
18+ 
1319cc_binary (
1420    name  =  "llvm-bolt-heatmap" ,
1521    srcs  =  glob ([
@@ -114,6 +120,7 @@ cc_library(
114120    textual_hdrs  =  glob ([
115121        "include/bolt/RuntimeLibs/*.h" ,
116122    ]) +  ["include/bolt/RuntimeLibs/RuntimeLibraryVariables.inc" ],
123+     defines = ["CMAKE_INSTALL_FULL_LIBDIR=\\ \" \\ \" " ],
117124    deps  =  [
118125        ":Core" ,
119126        ":Passes" ,
@@ -289,7 +296,9 @@ cc_library(
289296    srcs  =  glob ([
290297        "lib/Utils/*.cpp" ,
291298    ]),
292-     hdrs  =  glob ([
299+     hdrs  =  [
300+         "include/VCSVersion.inc" ,
301+     ] +  glob ([
293302        "include/bolt/Utils/*.h" ,
294303    ]),
295304    includes  =  ["include" ],
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments