RESOLVED FIXED 175690
Only generate offline asm for the ARCHS (xcodebuild) or the current system (CMake)
https://bugs.webkit.org/show_bug.cgi?id=175690
Summary Only generate offline asm for the ARCHS (xcodebuild) or the current system (C...
Keith Miller
Reported 2017-08-17 15:58:43 PDT
Only generate offline asm for the ARCHS (xcodebuild) or the current system (CMake)
Attachments
Patch (4.81 KB, patch)
2017-08-17 16:02 PDT, Keith Miller
no flags
Patch (5.31 KB, patch)
2017-08-21 14:54 PDT, Keith Miller
no flags
Patch (4.47 KB, patch)
2017-08-21 16:28 PDT, Keith Miller
no flags
Patch (4.66 KB, patch)
2017-08-21 17:28 PDT, Keith Miller
no flags
Keith Miller
Comment 1 2017-08-17 16:02:26 PDT
JF Bastien
Comment 2 2017-08-17 16:04:13 PDT
Comment on attachment 318432 [details] Patch r=me
Joseph Pecoraro
Comment 3 2017-08-17 16:12:26 PDT
Comment on attachment 318432 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=318432&action=review > Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj:9910 > + shellScript = "set -e\n\nmkdir -p \"${BUILT_PRODUCTS_DIR}/LLIntOffsets/\"\n\n/usr/bin/env ruby \"${SRCROOT}/offlineasm/generate_offset_extractor.rb\" \"-I${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore\" \"${SRCROOT}/llint/LowLevelInterpreter.asm\" \"${BUILT_PRODUCTS_DIR}/LLIntOffsets/LLIntDesiredOffsets.h\" \"${ARCHS}\"\n"; Just a suggestion, but I believe this could go even further: • For Engineering builds (Release / Debug) if ONLY_ACTIVE_ARCH=YES this could be ${CURRENT_ARCH}. • For Production builds I'd expect ONLY_ACTIVE_ARCH to always be NO and ${ARCHS} would be appropriate. That way in my engineering builds when I'm only building for x86_64 I don't also build i386.
Keith Miller
Comment 4 2017-08-21 14:54:11 PDT
(In reply to Joseph Pecoraro from comment #3) > Comment on attachment 318432 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=318432&action=review > > > Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj:9910 > > + shellScript = "set -e\n\nmkdir -p \"${BUILT_PRODUCTS_DIR}/LLIntOffsets/\"\n\n/usr/bin/env ruby \"${SRCROOT}/offlineasm/generate_offset_extractor.rb\" \"-I${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore\" \"${SRCROOT}/llint/LowLevelInterpreter.asm\" \"${BUILT_PRODUCTS_DIR}/LLIntOffsets/LLIntDesiredOffsets.h\" \"${ARCHS}\"\n"; > > Just a suggestion, but I believe this could go even further: > > • For Engineering builds (Release / Debug) if ONLY_ACTIVE_ARCH=YES this > could be ${CURRENT_ARCH}. > • For Production builds I'd expect ONLY_ACTIVE_ARCH to always be NO and > ${ARCHS} would be appropriate. > > That way in my engineering builds when I'm only building for x86_64 I don't > also build i386. I'm pretty sure if you have ONLY_ACTIVE_ARCH=YES you will only build x86_64. At least that's what I'm seeing locally. I have investigated if that's true everywhere.
Keith Miller
Comment 5 2017-08-21 14:54:17 PDT
Keith Miller
Comment 6 2017-08-21 14:54:54 PDT
Trying a simpler method of getting the right names.
Keith Miller
Comment 7 2017-08-21 16:28:22 PDT
Keith Miller
Comment 8 2017-08-21 17:28:43 PDT
Michael Saboff
Comment 9 2017-08-21 17:38:49 PDT
Comment on attachment 318708 [details] Patch r=me
WebKit Commit Bot
Comment 10 2017-08-21 18:07:35 PDT
Comment on attachment 318708 [details] Patch Clearing flags on attachment: 318708 Committed r220994: <http://trac.webkit.org/changeset/220994>
WebKit Commit Bot
Comment 11 2017-08-21 18:07:36 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 12 2017-08-21 18:08:15 PDT
Csaba Osztrogonác
Comment 13 2017-08-22 03:16:21 PDT
(In reply to WebKit Commit Bot from comment #10) > Comment on attachment 318708 [details] > Patch > > Clearing flags on attachment: 318708 > > Committed r220994: <http://trac.webkit.org/changeset/220994> It broke the Apple Mac cloop and Apple Windows builds. See build.webkit.org for details.
Keith Miller
Comment 14 2017-08-22 08:13:24 PDT
(In reply to Csaba Osztrogonác from comment #13) > (In reply to WebKit Commit Bot from comment #10) > > Comment on attachment 318708 [details] > > Patch > > > > Clearing flags on attachment: 318708 > > > > Committed r220994: <http://trac.webkit.org/changeset/220994> > > It broke the Apple Mac cloop and Apple Windows builds. > See build.webkit.org for details. I'll take a look. Thanks!
Note You need to log in before you can comment on or make changes to this bug.