Closed Bug 1429957 Opened 8 years ago Closed 8 years ago

searchfox: Run the win32 index job with 64-bit toolchains

Categories

(Webtools :: Searchfox, enhancement)

enhancement
Not set
normal

Tracking

(firefox59 fixed)

RESOLVED FIXED
Tracking Status
firefox59 --- fixed

People

(Reporter: rillian, Assigned: kats)

References

Details

Attachments

(1 file, 3 obsolete files)

All our builds run on 64-bit hosts, use 64-bit toolchains, and cross-compile for 32-bit targets. The win32 searchfox indexing job is an exception. It would be better to use the same clang-cl and rust packages as the official builds to reduce both variance and dependencies.
With this patch, the index job fails, but from the comments and tier-2 mark, maybe this is getting as far as it's expected to? I don't see it running on m-c commits, so I don't have a baseline. > z:/task_1515708560/build/src/obj-firefox/_virtualenv/Scripts/python.exe -m mozbuild.action.cl z:/task_1515708560/build/src/clang/bin/clang.exe --driver-mode=cl -m32 -FoUnified_cpp_build_clang-plugin1.obj -c -DDEBUG=1 -Iz:/task_1515708560/build/src/build/clang-plugin -Iz:/task_1515708560/build/src/obj-firefox/build/clang-plugin -Iz:/task_1515708560/build/src/obj-firefox/dist/include -Iz:/task_1515708560/build/src/obj-firefox/dist/include/nspr -Iz:/task_1515708560/build/src/obj-firefox/dist/include/nss -MD -Qunused-arguments -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Iz:/task_1515708560/build/src/clang/include -fms-compatibility-version=19.11.25547 -Xclang -std=c++14 -Zc:inline -Zc:strictStrings -Oi -Zc:rvalueCast -Brepro -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -MT -O2 -Ob2 -DNDEBUG -EHs-c- -GR- -D_DEBUG_POINTER_IMPL= -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -DUNICODE -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_NEW_ASTMATCHER_NAMES -DHAS_ACCEPTS_IGNORINGPARENIMPCASTS -GR- -EHsc -Oy- -Fdgenerated.pdb -FS z:/task_1515708560/build/src/obj-firefox/build/clang-plugin/Unified_cpp_build_clang-plugin1.cpp > In file included from z:/task_1515708560/build/src/obj-firefox/build/clang-plugin/Unified_cpp_build_clang-plugin1.cpp:137: > z:/task_1515708560/build/src/build/clang-plugin/mozsearch-plugin/FileOperations.cpp(53,27): error: use of undeclared identifier 'filename' > std::string Hash = Hash(filename);
Assignee: nobody → giles
Attachment #8942019 - Flags: review?(bill.mccloskey)
For reference: https://treeherder.mozilla.org/#/jobs?repo=try&revision=ea6c7093f3b87f69782d4169429d84a13a029477 I don't know if billm is still doing reviews but this patch looks ok to me. We haven't yet gotten the plugin to run successfully on Windows so that's why it's not running by default there. I've been trying to get that green but haven't had much time to actually work on it.
Comment on attachment 8942019 [details] Bug 1429957 - searchfox: Use 64-bit toolchains for the win32 index task. https://reviewboard.mozilla.org/r/212224/#review218128
Attachment #8942019 - Flags: review+
Actually I'm not sure why we are doing a 32-bit build at all, we should probably change that to 64-bit.
(In reply to Ralph Giles (:rillian) | needinfo me from comment #2) > > std::string Hash = Hash(filename); Patch to fix the compilation issues is in bug 1430645.
See Also: → 1430645
Attached patch Move searchfox indexer to win64 (obsolete) — Splinter Review
Here's a patch that moves the searchfox indexing job from 32-bit to 64-bit. It is a superset of your patch, and I'd rather land this. However if you'd rather push this into another bug that's fine by me. Let me know either way and I'll clean up the patch and find somebody to review.
Comment on attachment 8942725 [details] [diff] [review] Move searchfox indexer to win64 Review of attachment 8942725 [details] [diff] [review]: ----------------------------------------------------------------- This is fine with me! I was just interested in removing the win32-rust dep, so I'm happy for you to take over the bug. r=me for the build parts.
Attachment #8942725 - Flags: review+
Attached patch Move searchfox indexer to win64 (obsolete) — Splinter Review
r? to dustin and chmanchester since they reviewed the original landing of the win32 job in bug 1418188. Carrying r=rillian from previous patch.
Assignee: giles → bugmail
Attachment #8942019 - Attachment is obsolete: true
Attachment #8942725 - Attachment is obsolete: true
Attachment #8942019 - Flags: review?(bill.mccloskey)
Attachment #8942730 - Flags: review?(dustin)
Attachment #8942730 - Flags: review?(cmanchester)
Whoops, wrong file
Attachment #8942730 - Attachment is obsolete: true
Attachment #8942730 - Flags: review?(dustin)
Attachment #8942730 - Flags: review?(cmanchester)
Attachment #8942731 - Flags: review?(dustin)
Attachment #8942731 - Flags: review?(cmanchester)
Attachment #8942731 - Flags: review?(cmanchester) → review+
Attachment #8942731 - Flags: review?(dustin) → review+
Pushed by kgupta@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/350aac55ed64 Move searchfox indexing job from win32 to win64. r=rillian,dustin,chmanchester
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: