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

Boost bzlmod compatibility patch #562

Closed
wants to merge 6 commits into from
Closed

Boost bzlmod compatibility patch #562

wants to merge 6 commits into from

Conversation

Attempt3035
Copy link

Requires testing for backwards compatibility with workspace. Adding PR due to interest in #553

…pendent private targets, meaning hdrs use workspace based pathing (no issues when being used via override), no project "includes" pollution and strip include prefix for each path.
* master: (106 commits)
  chore(deps): update openssl digest to 0f1a639
  chore(deps): update dependency bazel_skylib to v1.6.1
  chore(deps): update dependency bazel_skylib to v1.6.0
  chore(deps): update openssl digest to 1518c66
  chore(deps): update openssl digest to 23b6cb8
  chore(deps): update openssl digest to e39ac22
  chore(deps): update openssl digest to 81b33dd
  chore(deps): update openssl digest to dfbc37f
  chore(deps): update openssl digest to 6e8e87e
  chore(deps): update openssl digest to e761ca4
  chore(deps): update openssl digest to 8c597d5
  chore(deps): update openssl digest to c51f299
  chore(deps): update openssl digest to 8cbad75
  chore(deps): update openssl digest to a8ebd53
  Downgrade lzma (#556)
  chore(deps): update openssl digest to 30c15fb
  chore(deps): update openssl digest to 604c477
  chore(deps): update openssl digest to 6bed03a
  chore(deps): update dependency com_github_facebook_zstd to v1.5.6
  chore(deps): update openssl digest to 321dd35
  ...
@Attempt3035
Copy link
Author

Usage in MODULE.bazel:

bazel_dep(name = "boost")
git_override(
    module_name = "boost",
    remote = "https://github.com/attempt3035/rules_boost.git",
    commit = "7e21351104e9e33cb60da6e3f798e6074be5e03e",
    # Replace the commit hash (above) with the latest when things change
)

@@ -0,0 +1,18 @@
module(name = "boost", repo_name = "com_github_nelhage_rules_boost")
Copy link
Contributor

Choose a reason for hiding this comment

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

What do you think about this as rules_boost os the project name ?

Suggested change
module(name = "boost", repo_name = "com_github_nelhage_rules_boost")
module(name = "rules_boost", repo_name = "com_github_nelhage_rules_boost")

use_repo(boost_libs, "org_bzip_bzip2")
# use_repo(boost_libs, "org_lzma_lzma") # TODO is this backwards compatible with workspace?
use_repo(boost_libs, "com_github_facebook_zstd")
use_repo(boost_libs, "openssl")
Copy link
Contributor

@mmorel-35 mmorel-35 May 21, 2024

Choose a reason for hiding this comment

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

Why not using bazel_deps with custom repo_names for existing libraries in the BCR ?

@Vertexwahn
Copy link
Collaborator

Closed since #553 is merged now

@Vertexwahn Vertexwahn closed this May 25, 2024
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.

3 participants