[Webkit-unassigned] [Bug 237329] [XCBuild] Emit a discovered dependency file from offlineasm
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 2 11:33:10 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=237329
--- Comment #11 from Alexey Proskuryakov <ap at webkit.org> ---
Comment on attachment 453560
--> https://bugs.webkit.org/attachment.cgi?id=453560
Integrate offlineasm using build rules and emit a depfile r5
View in context: https://bugs.webkit.org/attachment.cgi?id=453560&action=review
> Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj:2166
> + dependencyFile = "$(DERIVED_FILES_DIR)/$(CURRENT_ARCH)/$(INPUT_FILE_BASE).d";
For unrelated reasons, DerivedSources unfortunately end up in build artifacts. Can these .d files be somewhere else where they don't show up unnecessarily?
> Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj:2175
> + "$(DERIVED_FILES_DIR)/$(CURRENT_ARCH)/LLIntAssembly.h",
On my machine, this file is in WebKitBuild/Debug/DerivedSources/JavaScriptCore/LLIntAssembly.h. Is this basically a drive-by fix to move it to $(CURRENT_ARCH)? But I don't see where it's changed for the legacy build system.
> Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj:2183
> + filePatterns = "*.asm";
There are three rules with the same filePatterns value. I'm curious how this works. Which rules process which inputs?
> Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj:12004
> + shellScript = "[ \"${WK_USE_NEW_BUILD_SYSTEM}\" = \"YES\" ] && exit 0\n\nif [[ \"${ACTION}\" == \"installhdrs\" ]]; then\n exit 0\nfi\n\nOFFLINEASM_ARGS=\"\"\nif [[ \"${DEPLOYMENT_LOCATION}\" == \"YES\" ]]; then\n OFFLINEASM_ARGS=\"${OFFLINEASM_ARGS} --webkit-additions-path=${WK_WEBKITADDITIONS_HEADERS_FOLDER_PATH}\"\nfi\n\ncd \"${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore\"\n\n/usr/bin/env ruby JavaScriptCore/offlineasm/asm.rb \"-I${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore\" JavaScriptCore/llint/LowLevelInterpreter.asm \"${BUILT_PRODUCTS_DIR}/JSCLLIntOffsetsExtractor\" LLIntAssembly.h \"${BUILD_VARIANTS}\" ${OFFLINEASM_ARGS} || exit 1\n";
It seems like the check for installhdrs is not there for the modern build system. Is that right and OK?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220302/5f73aab2/attachment.htm>
More information about the webkit-unassigned
mailing list