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(
10
10
11
11
licenses (["notice" ])
12
12
13
+ genrule (
14
+ name = "generate_vcs_revision" ,
15
+ outs = ["include/VCSVersion.inc" ],
16
+ cmd = "echo '#undef BOLT_REVISION' >> $@\n " ,
17
+ )
18
+
13
19
cc_binary (
14
20
name = "llvm-bolt-heatmap" ,
15
21
srcs = glob ([
@@ -114,6 +120,7 @@ cc_library(
114
120
textual_hdrs = glob ([
115
121
"include/bolt/RuntimeLibs/*.h" ,
116
122
]) + ["include/bolt/RuntimeLibs/RuntimeLibraryVariables.inc" ],
123
+ defines = ["CMAKE_INSTALL_FULL_LIBDIR=\\ \" \\ \" " ],
117
124
deps = [
118
125
":Core" ,
119
126
":Passes" ,
@@ -289,7 +296,9 @@ cc_library(
289
296
srcs = glob ([
290
297
"lib/Utils/*.cpp" ,
291
298
]),
292
- hdrs = glob ([
299
+ hdrs = [
300
+ "include/VCSVersion.inc" ,
301
+ ] + glob ([
293
302
"include/bolt/Utils/*.h" ,
294
303
]),
295
304
includes = ["include" ],
You can’t perform that action at this time.
0 commit comments