Bug 248237 - [Xcode] Fix build warning about duplicate LowLevelInterpreter.asm sources
Summary: [Xcode] Fix build warning about duplicate LowLevelInterpreter.asm sources
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-11-22 09:22 PST by David Kilzer (:ddkilzer)
Modified: 2022-11-22 15:35 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2022-11-22 09:22:30 PST
Fix warning about duplicate LowLevelInterpreter.asm sources in JavascriptCore Xcode project.

Seen here:  <https://ews-build.webkit.org/#/builders/43/builds/30473/steps/12/logs/warnings__21_>

```
warning: Skipping duplicate build file in Compile Sources build phase: /Volumes/Data/worker/macOS-BigSur-Release-Build-EWS/build/Source/JavaScriptCore/llint/LowLevelInterpreter.asm (in target 'JSCLLIntSettingsExtractor' from project 'JavaScriptCore')

warning: Skipping duplicate build file in Compile Sources build phase: /Volumes/Data/worker/macOS-BigSur-Release-Build-EWS/build/Source/JavaScriptCore/llint/LowLevelInterpreter.asm (in target 'JSCLLIntOffsetsExtractor' from project 'JavaScriptCore')
```

For this EWS build:  <https://ews-build.webkit.org/#/builders/43/builds/30473>
Comment 1 Radar WebKit Bug Importer 2022-11-22 09:23:05 PST
<rdar://problem/102608601>
Comment 2 David Kilzer (:ddkilzer) 2022-11-22 09:24:00 PST
Here's how I fixed the duplicate lines:

```
$ uniq < Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj | diff -u Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj - | patch -p1 Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
```
Comment 3 David Kilzer (:ddkilzer) 2022-11-22 09:31:01 PST
Pull request: https://github.com/WebKit/WebKit/pull/6740
Comment 4 EWS 2022-11-22 15:35:52 PST
Committed 256957@main (94b4ca37a975): <https://commits.webkit.org/256957@main>

Reviewed commits have been landed. Closing PR #6740 and removing active labels.