-
Notifications
You must be signed in to change notification settings - Fork 7k
[macos] run macos cpp tests on apple silicon #56222
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request updates the Buildkite CI configuration to run the C++ and Java tests on a macos-arm64 instance. While this is a good step towards supporting Apple Silicon, the associated test script ci/ray_ci/macos/macos_ci.sh contains a hardcoded JAVA_HOME path. This path may not be valid on the new arm64 architecture, which could lead to build failures. I've added a comment highlighting this risk and suggesting a more robust way to set the Java home directory.
|
This pull request has been automatically marked as stale because it has not had You can always ask for help on our discussion forum or Ray's public slack channel. If you'd like to keep this open, just leave any comment, and the stale label will be removed. |
8efcac3 to
57a6f00
Compare
bf83e37 to
de604c2
Compare
|
new attempt: https://buildkite.com/ray-project/postmerge-macos/builds/8388#_ just disable java.. it does not work anyways. and no one should be using new ray version with intel silicon macos any more. |
ac421ec to
e8a826a
Compare
|
This pull request has been automatically marked as stale because it has not had You can always ask for help on our discussion forum or Ray's public slack channel. If you'd like to keep this open, just leave any comment, and the stale label will be removed. |
27fd11b to
b67b0cf
Compare
|
ready for review now. |
|
after this is merged, I can kill the intel silicon macos CI machines. |
dayshah
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did the java tests ever work on intel macs?
and do we want to fix the cpp api submit job test on mac @jjyao ?
- disables java tests - skipping cpp tests that are not passing yet and we already stopped releasing macos wheels for Intel silicon, the tests that are disabled or skipped were never passing on apple silicon, so nothing is regressed. Signed-off-by: Lonnie Liu <[email protected]>
b67b0cf to
e2f67a7
Compare
.bazelrc
Outdated
| # It picks up the system headers when someone has protobuf installed via Homebrew. | ||
| # Work around for https://github.com/bazelbuild/bazel/issues/8053 | ||
| build:macos --sandbox_block_path=/usr/local/ | ||
| build:macos --copt="-Wno-deprecated-declarations" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
without this, compiler will error even on deprecated protobuf fields.
yes, java was working on intel macs. our java is using jdk 8, which is super old and jdk8 does not have apple silicon support. there is an attempt to upgrade to jdk 17: but jdk 17 does not work out of the box. |
- disables java tests; ray java not supported on apple silicon yet. - skipping cpp tests that are not passing yet we already stopped releasing macos wheels for Intel silicon, the tests that are disabled or skipped were never passing on apple silicon, so nothing is regressed. Signed-off-by: Lonnie Liu <[email protected]>
- disables java tests; ray java not supported on apple silicon yet. - skipping cpp tests that are not passing yet we already stopped releasing macos wheels for Intel silicon, the tests that are disabled or skipped were never passing on apple silicon, so nothing is regressed. Signed-off-by: Lonnie Liu <[email protected]> Signed-off-by: xgui <[email protected]>
- disables java tests; ray java not supported on apple silicon yet. - skipping cpp tests that are not passing yet we already stopped releasing macos wheels for Intel silicon, the tests that are disabled or skipped were never passing on apple silicon, so nothing is regressed. Signed-off-by: Lonnie Liu <[email protected]> Signed-off-by: elliot-barn <[email protected]>
- disables java tests; ray java not supported on apple silicon yet. - skipping cpp tests that are not passing yet we already stopped releasing macos wheels for Intel silicon, the tests that are disabled or skipped were never passing on apple silicon, so nothing is regressed. Signed-off-by: Lonnie Liu <[email protected]>
- disables java tests; ray java not supported on apple silicon yet. - skipping cpp tests that are not passing yet we already stopped releasing macos wheels for Intel silicon, the tests that are disabled or skipped were never passing on apple silicon, so nothing is regressed. Signed-off-by: Lonnie Liu <[email protected]> Signed-off-by: Aydin Abiar <[email protected]>
we already stopped releasing macos wheels for Intel silicon, the tests that are disabled or skipped were never passing on apple silicon, so nothing is regressed.