-
Notifications
You must be signed in to change notification settings - Fork 374
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
Stop relying on --noincompatible_enable_cc_toolchain_resolution
in Windows build
#1112
Comments
yukawa
added a commit
to yukawa/mozc
that referenced
this issue
Dec 28, 2024
This is a follow up commit to my previous commit [1], which updated the Bazel version from 7.4.1 to 8.0.0. It turns out that --noincompatible_enable_cc_toolchain_resolution is now no-op in Bazel 8.0. Thus there remains no way other than fully migrating to the new CC toolchain resolution as planned in google#1112. Otherwise 'mozc_tip32.dll' will be built as a 64-bit executable (google#1102). This commit consists of two parts: 1. explicitly register CC toolchains in 'windows.bazelrc'. 2. Switch from '--cpu' commandline option to '--platforms' commandline option in '_win_executable_transition'. With above 'mozc_tip32.dll' will be built as a 32-bit executable again. Closes google#1102. Closes google#1112. [1]: 6dadef1
yukawa
added a commit
to yukawa/mozc
that referenced
this issue
Dec 28, 2024
This is a follow up commit to my previous commit [1], which updated the Bazel version from 7.4.1 to 8.0.0 (google#1118). It turns out that --noincompatible_enable_cc_toolchain_resolution is now no-op in Bazel 8.0. Thus there remains no way other than fully migrating to the new CC toolchain resolution as planned in google#1112. Otherwise 'mozc_tip32.dll' will be built as a 64-bit executable (google#1102). This commit consists of two parts: 1. explicitly register CC toolchains in '.bazelrc'. 2. Switch from '--cpu' commandline option to '--platforms' commandline option in '_win_executable_transition'. With above 'mozc_tip32.dll' will be built as a 32-bit executable again. Closes google#1102. Closes google#1112. [1]: 6dadef1
yukawa
added a commit
to yukawa/mozc
that referenced
this issue
Dec 28, 2024
This is a follow up commit to my previous commit [1], which updated the Bazel version from 7.4.1 to 8.0.0 (google#1118). It turns out that --noincompatible_enable_cc_toolchain_resolution is now no-op in Bazel 8.0. Thus there remains no way other than fully migrating to the new CC toolchain resolution as planned in google#1112. Otherwise 'mozc_tip32.dll' will be built as a 64-bit executable (google#1102). This commit consists of two parts: 1. explicitly register CC toolchains in '.bazelrc'. 2. Switch from '--cpu' commandline option to '--platforms' commandline option in '_win_executable_transition'. With above 'mozc_tip32.dll' will be built as a 32-bit executable again. Closes google#1102. Closes google#1112. [1]: 6dadef1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Follows up to the following issue.
mozc_tip32.dll
build with Bazel is not 32-bit binary #1102.bazelrc
" #1103As a long term solution, we should complete the migration to platforms in Windows build.
This is not a release blocker of our migration from GYP to Bazel though.
Steps to reproduce
Steps to reproduce the behavior:
Mozc64.msi
without specifying--noincompatible_enable_cc_toolchain_resolution
Expected behavior
There is no regression.
Actual behavior
Currently
mozc_tip32.dll
cannot be built as a 32-bit binary.mozc_tip32.dll
build with Bazel is not 32-bit binary #1102Version or commit-id
e1b40ed
Environment
The text was updated successfully, but these errors were encountered: