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.
This commit is contained in:
iphydf 2022-01-11 13:15:33 +00:00
parent faf39ef94f
commit eebc516d55
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9
2 changed files with 10 additions and 13 deletions

View File

@ -12,7 +12,6 @@ bazel-release_task:
--build_tag_filters=-haskell --build_tag_filters=-haskell
--test_tag_filters=-haskell --test_tag_filters=-haskell
--remote_download_minimal --remote_download_minimal
--config=release
-- --
//c-toxcore/... //c-toxcore/...
-//c-toxcore/auto_tests:tcp_relay_test # TODO(robinlinden): Why does this pass locally but not in Cirrus? -//c-toxcore/auto_tests:tcp_relay_test # TODO(robinlinden): Why does this pass locally but not in Cirrus?
@ -30,7 +29,6 @@ bazel-debug_task:
--build_tag_filters=-haskell --build_tag_filters=-haskell
--test_tag_filters=-haskell --test_tag_filters=-haskell
--remote_download_minimal --remote_download_minimal
--config=debug
-- --
//c-toxcore/... //c-toxcore/...
-//c-toxcore/auto_tests:tcp_relay_test # TODO(robinlinden): Why does this pass locally but not in Cirrus? -//c-toxcore/auto_tests:tcp_relay_test # TODO(robinlinden): Why does this pass locally but not in Cirrus?
@ -47,6 +45,5 @@ cimple_task:
--remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST --remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST
--build_tag_filters=haskell --build_tag_filters=haskell
--test_tag_filters=haskell --test_tag_filters=haskell
--config=release
-- --
//c-toxcore/... //c-toxcore/...

View File

@ -1,15 +1,15 @@
load("@rules_cc//cc:defs.bzl", "cc_binary") load("@rules_cc//cc:defs.bzl", "cc_binary")
cc_binary( #cc_binary(
name = "cracker", # name = "cracker",
srcs = ["cracker.c"], # srcs = ["cracker.c"],
copts = ["-fopenmp"], # copts = ["-fopenmp"],
linkopts = ["-fopenmp"], # linkopts = ["-fopenmp"],
deps = [ # deps = [
"//c-toxcore/toxcore:ccompat", # "//c-toxcore/toxcore:ccompat",
"@libsodium", # "@libsodium",
], # ],
) #)
cc_binary( cc_binary(
name = "cracker_simple", name = "cracker_simple",