Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bazelrc: enable llvm toolchain #726

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ build --copt "-Wno-comment"
build --host_copt "-Wno-sign-compare"
build --host_copt "-Wno-comment"

# TODO(leary): 2020-09-09 Make it possible to enable this option.
# Currently m4 doesn't seem to work as a dependency.
# build --crosstool_top=@llvm_toolchain_llvm//:toolchain
# TODO(proppy): 2022-09-29 per https://github.com/grailbio/bazel-toolchain#quickstart
# remove when https://github.com/bazelbuild/bazel/issues/7260 is closed.
build --incompatible_enable_cc_toolchain_resolution
6 changes: 3 additions & 3 deletions dependency_support/rules_hdl/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ def repo():
)

# Commit on 2023-06-13, current as of 2023-06-13.
git_hash = "e6540a5bccbfb124aec0b19deaa9cf855781b3a5"
git_sha256 = "21307b0c14a036f1b4879c8f1d4d50a115053eb87c428307d4d6569c3e7ba859"
git_hash = "723965fc52f7a3636b743e12f06047879a7251e0"
git_sha256 = "56904adddd2059df17f4113534f4a4a30964948ceeabf86a1a390d068c4ebef0"

maybe(
http_archive,
name = "rules_hdl",
sha256 = git_sha256,
strip_prefix = "bazel_rules_hdl-%s" % git_hash,
urls = [
"https://github.com/hdl/bazel_rules_hdl/archive/%s.tar.gz" % git_hash,
"https://github.com/proppy/bazel_rules_hdl/archive/%s.tar.gz" % git_hash,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trying hdl/bazel_rules_hdl#184 out, and see if it fixes the CI; will update once merged.

],
)