Skip to content

Fix Bazel support to compile C++ library - #23

Merged
anayw2001 merged 1 commit into
google:masterfrom
carlonzo:fix-support-bazel
Jun 14, 2023
Merged

Fix Bazel support to compile C++ library#23
anayw2001 merged 1 commit into
google:masterfrom
carlonzo:fix-support-bazel

Conversation

@carlonzo

@carlonzo carlonzo commented Jun 1, 2023

Copy link
Copy Markdown
Contributor

I had issues to compile the C++ library using Bazel:

  • boringssl dependency was missing
  • abseil could not run without setting c++17 version (the current config did not work on my machine)

Sending this PR to open a discussion if my configuration is correct. I've seen the bazel migration was done quite recently

Comment thread WORKSPACE

load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")

git_repository(

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Comment thread WORKSPACE
name = "boringssl",
branch = "master-with-bazel",
remote = "https://boringssl.googlesource.com/boringssl",
) No newline at end of file

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

could you add a newline at the end of this file?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'm sorry I missed this somehow. I'll open another PR. Thanks

@anayw2001
anayw2001 merged commit 39858a2 into google:master Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants