-
Notifications
You must be signed in to change notification settings - Fork 316
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
Bazel incompatible flags #529
Comments
There's some update in the latest commits for
When would Some updates for |
I sent #538 for |
Thanks. There's still some work to do. Migration is needed for |
@jin Do you want to look at For |
Fixes #529 With this change, the Bazel build is compatible with all flags listed in #529 (comment) $ bazel build //ijwb:ijwb_bazel_zip --define=ij_product=intellij-latest --incompatible_depset_is_not_iterable --incompatible_depset_is_not_iterable --incompatible_depset_union --incompatible_disable_deprecated_attr_params --incompatible_disable_legacy_cc_provider --incompatible_disallow_legacy_py_provider --incompatible_merge_genfiles_directory --incompatible_new_actions_api --incompatible_use_toolchain_providers_in_java_common INFO: Build option --define has changed, discarding analysis cache. WARNING: /usr/local/google/home/jingwen/code/intellij/java/BUILD:177:1: in java_import rule //java:jdk_tools_jar: target '//java:jdk_tools_jar' depends on deprecated target '@local_jdk//:langtools': Don't depend on targets in the JDK workspace; use @bazel_tools//tools/jdk:current_java_runtime instead (see bazelbuild/bazel#5594) INFO: Analyzed target //ijwb:ijwb_bazel_zip (9 packages loaded, 2036 targets configured). INFO: Found 1 target... Target //ijwb:ijwb_bazel_zip up-to-date: bazel-bin/ijwb/ijwb_bazel.zip PiperOrigin-RevId: 249526071
Fixes #529 With this change, the Bazel build is compatible with all flags listed in #529 (comment) $ bazel build //ijwb:ijwb_bazel_zip --define=ij_product=intellij-latest --incompatible_depset_is_not_iterable --incompatible_depset_is_not_iterable --incompatible_depset_union --incompatible_disable_deprecated_attr_params --incompatible_disable_legacy_cc_provider --incompatible_disallow_legacy_py_provider --incompatible_merge_genfiles_directory --incompatible_new_actions_api --incompatible_use_toolchain_providers_in_java_common INFO: Build option --define has changed, discarding analysis cache. WARNING: /usr/local/google/home/jingwen/code/intellij/java/BUILD:177:1: in java_import rule //java:jdk_tools_jar: target '//java:jdk_tools_jar' depends on deprecated target '@local_jdk//:langtools': Don't depend on targets in the JDK workspace; use @bazel_tools//tools/jdk:current_java_runtime instead (see bazelbuild/bazel#5594) INFO: Analyzed target //ijwb:ijwb_bazel_zip (9 packages loaded, 2036 targets configured). INFO: Found 1 target... Target //ijwb:ijwb_bazel_zip up-to-date: bazel-bin/ijwb/ijwb_bazel.zip PiperOrigin-RevId: 249526071
Fixes #529 With this change, the Bazel build is compatible with all flags listed in #529 (comment) $ bazel build //ijwb:ijwb_bazel_zip --define=ij_product=intellij-latest --incompatible_depset_is_not_iterable --incompatible_depset_is_not_iterable --incompatible_depset_union --incompatible_disable_deprecated_attr_params --incompatible_disable_legacy_cc_provider --incompatible_disallow_legacy_py_provider --incompatible_merge_genfiles_directory --incompatible_new_actions_api --incompatible_use_toolchain_providers_in_java_common INFO: Build option --define has changed, discarding analysis cache. WARNING: /usr/local/google/home/jingwen/code/intellij/java/BUILD:177:1: in java_import rule //java:jdk_tools_jar: target '//java:jdk_tools_jar' depends on deprecated target '@local_jdk//:langtools': Don't depend on targets in the JDK workspace; use @bazel_tools//tools/jdk:current_java_runtime instead (see bazelbuild/bazel#5594) INFO: Analyzed target //ijwb:ijwb_bazel_zip (9 packages loaded, 2036 targets configured). INFO: Found 1 target... Target //ijwb:ijwb_bazel_zip up-to-date: bazel-bin/ijwb/ijwb_bazel.zip PiperOrigin-RevId: 249659976
Implicit conversions will be forbidden with upcoming incompatible_depset_is_not_iterable change in Bazel. Progress towards bazelbuild#529 Closes bazelbuild#816 PiperOrigin-RevId: 248738486
Fixes bazelbuild#529 With this change, the Bazel build is compatible with all flags listed in bazelbuild#529 (comment) $ bazel build //ijwb:ijwb_bazel_zip --define=ij_product=intellij-latest --incompatible_depset_is_not_iterable --incompatible_depset_is_not_iterable --incompatible_depset_union --incompatible_disable_deprecated_attr_params --incompatible_disable_legacy_cc_provider --incompatible_disallow_legacy_py_provider --incompatible_merge_genfiles_directory --incompatible_new_actions_api --incompatible_use_toolchain_providers_in_java_common INFO: Build option --define has changed, discarding analysis cache. WARNING: /usr/local/google/home/jingwen/code/intellij/java/BUILD:177:1: in java_import rule //java:jdk_tools_jar: target '//java:jdk_tools_jar' depends on deprecated target '@local_jdk//:langtools': Don't depend on targets in the JDK workspace; use @bazel_tools//tools/jdk:current_java_runtime instead (see bazelbuild/bazel#5594) INFO: Analyzed target //ijwb:ijwb_bazel_zip (9 packages loaded, 2036 targets configured). INFO: Found 1 target... Target //ijwb:ijwb_bazel_zip up-to-date: bazel-bin/ijwb/ijwb_bazel.zip PiperOrigin-RevId: 249659976
Implicit conversions will be forbidden with upcoming incompatible_depset_is_not_iterable change in Bazel. Progress towards bazelbuild#529 Closes bazelbuild#816 PiperOrigin-RevId: 248738486
Fixes bazelbuild#529 With this change, the Bazel build is compatible with all flags listed in bazelbuild#529 (comment) $ bazel build //ijwb:ijwb_bazel_zip --define=ij_product=intellij-latest --incompatible_depset_is_not_iterable --incompatible_depset_is_not_iterable --incompatible_depset_union --incompatible_disable_deprecated_attr_params --incompatible_disable_legacy_cc_provider --incompatible_disallow_legacy_py_provider --incompatible_merge_genfiles_directory --incompatible_new_actions_api --incompatible_use_toolchain_providers_in_java_common INFO: Build option --define has changed, discarding analysis cache. WARNING: /usr/local/google/home/jingwen/code/intellij/java/BUILD:177:1: in java_import rule //java:jdk_tools_jar: target '//java:jdk_tools_jar' depends on deprecated target '@local_jdk//:langtools': Don't depend on targets in the JDK workspace; use @bazel_tools//tools/jdk:current_java_runtime instead (see bazelbuild/bazel#5594) INFO: Analyzed target //ijwb:ijwb_bazel_zip (9 packages loaded, 2036 targets configured). INFO: Found 1 target... Target //ijwb:ijwb_bazel_zip up-to-date: bazel-bin/ijwb/ijwb_bazel.zip PiperOrigin-RevId: 249659976
As mentioned in #517, we run test the repository on Bazel CI. To avoid any breakage, we'd like to make sure issues are fixed in advance. Based on our latest CI run (https://buildkite.com/bazel/bazelisk-plus-incompatible-flags/builds/28#0ce981a8-efbe-481c-8105-72ee6098a934), migration is needed for the following flags:
In particular, I plan to flip
--incompatible_merge_genfiles_directory
very soon.Let me know if you need any help.
The text was updated successfully, but these errors were encountered: