Skip to content

Commit 0518d5e

Browse files
authored
build: Update Buck2 build rules (#47)
* Adapt to "clap" -> "clap-3" renaming * Adapt to "submodules" -> "project" renaming
1 parent 445ca57 commit 0518d5e

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

BUCK

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
11
alias(
22
name = "collector-lib",
3-
actual = "//submodules/performance-benchmark/collector:collector-lib",
3+
actual = "//project/performance-benchmark/collector:collector-lib",
44
visibility = ["PUBLIC"],
55
)
66

77
alias(
88
name = "collector",
9-
actual = "//submodules/performance-benchmark/collector:collector-bin",
9+
actual = "//project/performance-benchmark/collector:collector-bin",
1010
visibility = ["PUBLIC"],
1111
)
1212

1313
alias(
1414
name = "flamegraph-fake",
15-
actual = "//submodules/performance-benchmark/collector:flamegraph-fake",
15+
actual = "//project/performance-benchmark/collector:flamegraph-fake",
1616
visibility = ["PUBLIC"],
1717
)
1818

1919
alias(
2020
name = "muti-rustc-perf",
21-
actual = "//submodules/performance-benchmark/collector:muti-rustc-perf",
21+
actual = "//project/performance-benchmark/collector:muti-rustc-perf",
2222
visibility = ["PUBLIC"],
2323
)
2424

2525
alias(
2626
name = "runtime-fake",
27-
actual = "//submodules/performance-benchmark/collector:runtime-fake",
27+
actual = "//project/performance-benchmark/collector:runtime-fake",
2828
visibility = ["PUBLIC"],
2929
)
3030

3131
alias(
3232
name = "rustc-fake",
33-
actual = "//submodules/performance-benchmark/collector:rustc-fake",
33+
actual = "//project/performance-benchmark/collector:rustc-fake",
3434
visibility = ["PUBLIC"],
3535
)
3636

3737
alias(
3838
name = "manager",
39-
actual = "//submodules/performance-benchmark/data_manage:manager",
39+
actual = "//project/performance-benchmark/data_manage:manager",
4040
visibility = ["PUBLIC"],
4141
)

collector/BUCK

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pkg_env = {
2121
pkg_deps = [
2222
"//third-party:anyhow",
2323
"//third-party:cargo_metadata",
24-
"//third-party:clap",
24+
"//third-party:clap-3",
2525
"//third-party:crossbeam-utils",
2626
"//third-party:csv",
2727
"//third-party:env_logger",
@@ -34,11 +34,11 @@ pkg_deps = [
3434
"//third-party:nalgebra",
3535
"//third-party:plotters",
3636
"//third-party:rayon",
37+
"//third-party:regex",
3738
"//third-party:serde",
3839
"//third-party:serde_json",
3940
"//third-party:tempfile",
4041
"//third-party:thiserror",
41-
"//third-party:regex",
4242
"//third-party:walkdir",
4343
]
4444

data_manage/BUCK

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pkg_env = {
1717
}
1818

1919
pkg_deps = [
20-
"//submodules/performance-benchmark:collector-lib",
20+
"//project/performance-benchmark:collector-lib",
2121
"//third-party:anyhow",
2222
"//third-party:clap",
2323
"//third-party:nalgebra",

0 commit comments

Comments
 (0)