Skip to content

Commit

Permalink
chore: Disable the OpenMP cracker in bazel for now.
Browse files Browse the repository at this point in the history
I broke it. I'll re-enable it if/when I fix omp support in the bazel
build.
  • Loading branch information
iphydf committed Jan 11, 2022
1 parent faf39ef commit eebc516
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
3 changes: 0 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ bazel-release_task:
--build_tag_filters=-haskell
--test_tag_filters=-haskell
--remote_download_minimal
--config=release
--
//c-toxcore/...
-//c-toxcore/auto_tests:tcp_relay_test # TODO(robinlinden): Why does this pass locally but not in Cirrus?
Expand All @@ -30,7 +29,6 @@ bazel-debug_task:
--build_tag_filters=-haskell
--test_tag_filters=-haskell
--remote_download_minimal
--config=debug
--
//c-toxcore/...
-//c-toxcore/auto_tests:tcp_relay_test # TODO(robinlinden): Why does this pass locally but not in Cirrus?
Expand All @@ -47,6 +45,5 @@ cimple_task:
--remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST
--build_tag_filters=haskell
--test_tag_filters=haskell
--config=release
--
//c-toxcore/...
20 changes: 10 additions & 10 deletions other/fun/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
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",
# srcs = ["cracker.c"],
# copts = ["-fopenmp"],
# linkopts = ["-fopenmp"],
# deps = [
# "//c-toxcore/toxcore:ccompat",
# "@libsodium",
# ],
#)

cc_binary(
name = "cracker_simple",
Expand Down

0 comments on commit eebc516

Please sign in to comment.