File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
utils/bazel/llvm-project-overlay/llvm Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -4808,8 +4808,8 @@ cc_binary(
4808
4808
],
4809
4809
)
4810
4810
4811
- cc_binary (
4812
- name = "opt" ,
4811
+ cc_library (
4812
+ name = "opt-driver " ,
4813
4813
srcs = glob ([
4814
4814
"tools/opt/*.cpp" ,
4815
4815
"tools/opt/*.h" ,
@@ -4820,7 +4820,6 @@ cc_binary(
4820
4820
"@platforms//os:macos" : [],
4821
4821
"//conditions:default" : ["-Wl,--export-dynamic" ],
4822
4822
}),
4823
- stamp = 0 ,
4824
4823
deps = [
4825
4824
":AllTargetsAsmParsers" ,
4826
4825
":AllTargetsCodeGens" ,
@@ -4847,6 +4846,12 @@ cc_binary(
4847
4846
],
4848
4847
)
4849
4848
4849
+ cc_binary (
4850
+ name = "opt" ,
4851
+ stamp = 0 ,
4852
+ deps = [":opt-driver" ]
4853
+ )
4854
+
4850
4855
gentbl (
4851
4856
name = "SancovOptsTableGen" ,
4852
4857
strip_include_prefix = "tools/sancov" ,
You can’t perform that action at this time.
0 commit comments