File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed
llvm/utils/gn/secondary/bolt Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -18,4 +18,8 @@ static_library("RuntimeLibs") {
18
18
" InstrumentationRuntimeLibrary.cpp" ,
19
19
" RuntimeLibrary.cpp" ,
20
20
]
21
+
22
+ # FIXME: Hopefully change this, see
23
+ # https://github.com/llvm/llvm-project/pull/97130/files#r1691863361
24
+ defines = [ " CMAKE_INSTALL_FULL_LIBDIR=\"\" " ]
21
25
}
Original file line number Diff line number Diff line change
1
+ import (" //llvm/utils/gn/build/write_vcsrevision.gni" )
2
+
3
+ # Configure the VCSVersion.inc file
4
+ config (" write_vcsrevision_config" ) {
5
+ # To pick up the generated inc file.
6
+ include_dirs = [ target_gen_dir ]
7
+ visibility = [ " :write_vcsversion" ]
8
+ }
9
+
10
+ write_vcsrevision (" write_vcsversion" ) {
11
+ visibility = [ " :Utils" ]
12
+ header = " $target_gen_dir /VCSVersion.inc"
13
+ names = [ " LLDB" ]
14
+ public_configs = [ " :write_vcsrevision_config" ]
15
+ }
16
+
1
17
static_library (" Utils" ) {
2
18
output_name = " LLVMBOLTUtils"
3
19
configs += [ " //llvm/utils/gn/build:bolt_code" ]
4
20
deps = [
21
+ " :write_vcsversion" ,
5
22
" //llvm/lib/Support" ,
6
23
" //llvm/utils/gn/build/libs/pthread" ,
7
24
]
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ write_lit_config("lit_site_cfg") {
45
45
" BOLT_ENABLE_RUNTIME=0" , # FIXME: enable runtime
46
46
" BOLT_TARGETS_TO_BUILD=$bolt_targets_to_build_string " ,
47
47
" GNU_LD_EXECUTABLE=" , # FIXME: set sometimes?
48
+ " LIBBOLT_RT_HUGIFY=" ,
49
+ " LIBBOLT_RT_INSTR=" ,
48
50
" LLVM_HOST_TRIPLE=$llvm_current_triple " ,
49
51
" LLVM_USE_SANITIZER=" ,
50
52
" Python3_EXECUTABLE=$python_path " ,
You can’t perform that action at this time.
0 commit comments