-
Notifications
You must be signed in to change notification settings - Fork 359
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
Consider specifying configure = True
when using repository_rule
#844
Comments
hiroyuki-komatsu
added a commit
that referenced
this issue
Nov 15, 2023
Typing quality * Updated the word dictionary. * Adjusted the conversion with suffix numbers (e.g. 後に vs あと2). Windows * Prelaunch processes from the installer (#845) Build * Updated the Protobuf version: v24.2 → v25.0 (#841) * Updated the Abseil version: 20230125.3 → 20230802.1 (#841) * Supported to follow updates of external environmental dependencies (#843, #844) * Removed `third_party/ipa_font` and introduced our own testing font (#842) * Android: Fixed the linkage error of Android library build (#840) PiperOrigin-RevId: 582509744
coooooooozy
pushed a commit
to coooooooozy/mozc
that referenced
this issue
Nov 26, 2023
By setting 'configure = True' to 'repository_rule' when defining an external repository, the repository will be re-evaluated by running the following command [1]. bazel sync --configure Hopefully this command can fix most of mysterious build failures due to stale external repositories and/or build toolchanins, which cannot be simply fixed by 'bazel clean'. [1]: https://github.com/bazelbuild/bazel/blob/80edda5b7be15875b9bcca7aef64ffa4be06bd38/site/en/extending/repo.md?plain=1#L156-L168 PiperOrigin-RevId: 580265652
coooooooozy
pushed a commit
to coooooooozy/mozc
that referenced
this issue
Nov 26, 2023
Typing quality * Updated the word dictionary. * Adjusted the conversion with suffix numbers (e.g. 後に vs あと2). Windows * Prelaunch processes from the installer (google#845) Build * Updated the Protobuf version: v24.2 → v25.0 (google#841) * Updated the Abseil version: 20230125.3 → 20230802.1 (google#841) * Supported to follow updates of external environmental dependencies (google#843, google#844) * Removed `third_party/ipa_font` and introduced our own testing font (google#842) * Android: Fixed the linkage error of Android library build (google#840) PiperOrigin-RevId: 582509744
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Currently
pkg_config_repository
,qt_mac_repository.bzl
, andandroid_repository
userepository_rule
withoutconfigure = True
.As a result, these repositories will not be re-evaluated upon
bazel sync --configure
.pkg_config_repository
mozc/src/bazel/pkg_config_repository.bzl
Lines 117 to 122 in e324bf2
mozc/src/WORKSPACE.bazel
Lines 119 to 123 in e324bf2
mozc/src/WORKSPACE.bazel
Lines 132 to 136 in e324bf2
qt_mac_repository.bzl
mozc/src/bazel/qt_mac_repository.bzl
Lines 44 to 50 in e324bf2
android_repository
mozc/src/bazel/android_repository.bzl
Lines 63 to 66 in e324bf2
Steps to reproduce
Expected behavior
libibus-1.0-dev
,libglib2.0-dev
,qt6-base-dev
,libgl-dev
)Actual behavior
libibus-1.0-dev
,libglib2.0-dev
,qt6-base-dev
,libgl-dev
)Version or commit-id
e324bf2
Environment
The text was updated successfully, but these errors were encountered: