toxcore/other/fun/BUILD.bazel
iphydf eebc516d55
chore: Disable the OpenMP cracker in bazel for now.
I broke it. I'll re-enable it if/when I fix omp support in the bazel
build.
2022-01-11 13:29:53 +00:00

58 lines
997 B
Python

load("@rules_cc//cc:defs.bzl", "cc_binary")
#cc_binary(
# name = "cracker",
# srcs = ["cracker.c"],
# copts = ["-fopenmp"],
# linkopts = ["-fopenmp"],
# deps = [
# "//c-toxcore/toxcore:ccompat",
# "@libsodium",
# ],
#)
cc_binary(
name = "cracker_simple",
srcs = ["cracker_simple.c"],
deps = [
"//c-toxcore/testing:misc_tools",
"@libsodium",
],
)
cc_binary(
name = "minimal-save-generator",
srcs = ["minimal-save-generator.c"],
deps = [
"@libsodium",
],
)
cc_binary(
name = "sign",
srcs = ["sign.c"],
copts = ["-w"],
deps = [
"//c-toxcore/testing:misc_tools",
"@libsodium",
],
)
cc_binary(
name = "strkey",
srcs = ["strkey.c"],
copts = ["-w"],
deps = [
"@libsodium",
],
)
cc_binary(
name = "save-generator",
srcs = ["save-generator.c"],
deps = [
"//c-toxcore/testing:misc_tools",
"//c-toxcore/toxcore",
],
)