Skip to content

Commit b8f702e

Browse files
authored
feat: temporarily disable benchmark (#36)
1 parent c37aa71 commit b8f702e

File tree

4 files changed

+22
-31
lines changed

4 files changed

+22
-31
lines changed

BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ cc_binary(
1818
copts = copts,
1919
stamp = 1,
2020
deps = [
21-
"//commands:benchmark",
21+
# "//commands:benchmark",
2222
"//commands:codegen",
2323
"//commands:command",
2424
"//commands:config",

WORKSPACE.bazel

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
22

3-
http_archive(
4-
name = "ecsact_si_wasm",
5-
sha256 = "e208a94d4f4a9c09f32b8a9ea91a4f799492e11c7c852b0329b4a3595a45cee6",
6-
strip_prefix = "ecsact_si_wasm-0.1.0",
7-
urls = ["https://github.com/seaube/ecsact_si_wasm/archive/refs/tags/0.1.0.tar.gz"],
8-
)
9-
103
http_archive(
114
name = "hedron_compile_commands",
125
sha256 = "ed5aea1dc87856aa2029cb6940a51511557c5cac3dbbcb05a4abd989862c36b4",
@@ -33,9 +26,7 @@ load("@com_grail_bazel_toolchain//toolchain:rules.bzl", "llvm_toolchain")
3326

3427
llvm_toolchain(
3528
name = "llvm_toolchain",
36-
cxx_standard = {"linux": "c++20"},
37-
distribution = "clang+llvm-15.0.6-x86_64-linux-gnu-ubuntu-18.04.tar.xz",
38-
llvm_version = "15.0.6",
29+
llvm_version = "16.0.4",
3930
)
4031

4132
load("@llvm_toolchain//:toolchains.bzl", "llvm_register_toolchains")

commands/BUILD.bazel

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,24 @@ cc_library(
99
copts = copts,
1010
)
1111

12-
cc_library(
13-
name = "benchmark",
14-
srcs = ["benchmark.cc"],
15-
hdrs = ["benchmark.hh"],
16-
copts = copts,
17-
deps = [
18-
":command",
19-
"//executable_path",
20-
"@magic_enum",
21-
"@docopt.cpp//:docopt",
22-
"@boost.dll",
23-
"@ecsact_runtime//:core",
24-
"@ecsact_runtime//:async",
25-
"@ecsact_runtime//:serialize",
26-
"@ecsact_si_wasm//:ecsactsi_wasm",
27-
"@nlohmann_json//:json",
28-
],
29-
)
12+
# cc_library(
13+
# name = "benchmark",
14+
# srcs = ["benchmark.cc"],
15+
# hdrs = ["benchmark.hh"],
16+
# copts = copts,
17+
# deps = [
18+
# ":command",
19+
# "//executable_path",
20+
# "@magic_enum",
21+
# "@docopt.cpp//:docopt",
22+
# "@boost.dll",
23+
# "@ecsact_runtime//:core",
24+
# "@ecsact_runtime//:async",
25+
# "@ecsact_runtime//:serialize",
26+
# "@ecsact_si_wasm",
27+
# "@nlohmann_json//:json",
28+
# ],
29+
# )
3030

3131
cc_library(
3232
name = "codegen",

ecsact_cli.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include <unordered_map>
66
#include "bazel_stamp_header.hh"
77

8-
#include "./commands/benchmark.hh"
8+
// #include "./commands/benchmark.hh"
99
#include "./commands/codegen.hh"
1010
#include "./commands/command.hh"
1111
#include "./commands/config.hh"
@@ -72,7 +72,7 @@ int main(int argc, char* argv[]) {
7272
using ecsact::cli::detail::command_fn_t;
7373

7474
const std::unordered_map<std::string, command_fn_t> commands{
75-
{"benchmark", &ecsact::cli::detail::benchmark_command},
75+
// {"benchmark", &ecsact::cli::detail::benchmark_command},
7676
{"codegen", &ecsact::cli::detail::codegen_command},
7777
{"config", &ecsact::cli::detail::config_command},
7878
};

0 commit comments

Comments
 (0)