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

[ci] remove boost as a ray bazel dependency #42226

Merged
merged 1 commit into from
Jan 8, 2024
Merged

[ci] remove boost as a ray bazel dependency #42226

merged 1 commit into from
Jan 8, 2024

Conversation

can-anyscale
Copy link
Collaborator

@can-anyscale can-anyscale commented Jan 7, 2024

The current boost rule is busted in master branch: https://buildkite.com/ray-project/postmerge/builds/2404#018ce49f-f8c1-4518-9d32-868a5a4decc6/176-281. Historically, we need to separate the boost rule from com_github_nelhage_rules_boost since we need a patch. This is no longer the case since #32550.

Test:

  • CI

Signed-off-by: can <can@anyscale.com>
@can-anyscale can-anyscale marked this pull request as ready for review January 7, 2024 16:29
@can-anyscale can-anyscale requested review from a team and fishbone January 7, 2024 16:32
@can-anyscale can-anyscale changed the title [ci] remove boost as a dependency [ci] remove boost as a ray bazel dependency Jan 7, 2024
@aslonnie
Copy link
Collaborator

aslonnie commented Jan 8, 2024

will this change the boost version? is that okay?

@can-anyscale
Copy link
Collaborator Author

@can-anyscale
Copy link
Collaborator Author

And all test passes I guess

@can-anyscale can-anyscale requested a review from rkooo567 January 8, 2024 04:59
name = "boost",
build_file = "@com_github_nelhage_rules_boost//:BUILD.boost",
sha256 = "71feeed900fbccca04a3b4f2f84a7c217186f28a940ed8b7ed4725986baf99fa",
url = "https://boostorg.jfrog.io/artifactory/main/release/1.81.0/source/boost_1_81_0.tar.bz2",
Copy link
Collaborator

Choose a reason for hiding this comment

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

I can you can also do the same by pointing it to:

https://mirror.bazel.build/boostorg.jfrog.io/artifactory/main/release/1.81.0/source/boost_1_81_0.tar.gz

so that the version pin is explicitly?

it is weird that the sha256 are different from

https://github.com/nelhage/rules_boost/blob/57c99395e15720e287471d79178d36a85b64d6f6/boost/boost.bzl#L210

seems that it should be the same url.

Copy link
Collaborator

Choose a reason for hiding this comment

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

ah, this one was use bz2, and that one is using tgz.

Copy link
Collaborator Author

@can-anyscale can-anyscale Jan 8, 2024

Choose a reason for hiding this comment

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

I think unless we want to pin a different version, we should piggy back on the version com_github_nelhage_rules_boost pick going forward and remove the management of this dependency on our side. We end up to be the only person on the internet having this broken by doing something custom.

@can-anyscale
Copy link
Collaborator Author

CC: @jjyao , @rickyyx , @rkooo567 I'm merging this soon to unblock pre/postmerge; let me know otherwise, thankkks

@can-anyscale can-anyscale merged commit 2c1f6f2 into master Jan 8, 2024
9 checks passed
@can-anyscale can-anyscale deleted the can-boost branch January 8, 2024 16:08
vickytsang pushed a commit to ROCm/ray that referenced this pull request Jan 12, 2024
The current boost rule is busted in master branch: https://buildkite.com/ray-project/postmerge/builds/2404#018ce49f-f8c1-4518-9d32-868a5a4decc6/176-281. Historically, we need to separate the boost rule from com_github_nelhage_rules_boost since we need a patch. This is no longer the case since ray-project#32550.

Signed-off-by: can <can@anyscale.com>
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