Skip to content
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

[SR-11880] swift/utils/build-script fails building with --xcode parameter #54295

Closed
swift-ci opened this issue Dec 1, 2019 · 2 comments
Closed
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.

Comments

@swift-ci
Copy link
Collaborator

swift-ci commented Dec 1, 2019

Previous ID SR-11880
Radar rdar://problem/57549237
Original Reporter ixrevo (JIRA User)
Type Bug
Status Resolved
Resolution Done
Environment

macOS 10.15.1 (19B88)

Xcode 11.2 Build version 11B52

Additional Detail from JIRA
Votes 0
Component/s Project Infrastructure
Labels Bug
Assignee ixrevo (JIRA)
Priority Medium

md5: 87e92d32a9e7ea78044e30d4e243f8eb

Issue Description:

./swift/utils/build-script --xcode fails on building the compiler-rt with the following message:

=== BUILD TARGET clang_rt.builtins_x86_64h_osx OF PROJECT LLVM WITH CONFIGURATION RelWithDebInfo ===

Check dependencies
No architectures to compile for (ARCHS=x86_64h, VALID_ARCHS=i386 x86_64).

** BUILD FAILED **


The following build commands failed:
    Check dependencies

The cause of this issue is that the build configuration for Xcode doesn't skip building compiler-rt. It was introduced in the following line: ac4ac89#diff-65b44eb6cb88af2161d8e1176231aad0R1680 merged in this PR: #28341

Also, there is a topic on the Swift forums https://forums.swift.org/t/error-running-build-script-no-architectures-to-compile-for/31050 with a discussion about this issue.

@swift-ci
Copy link
Collaborator Author

swift-ci commented Dec 1, 2019

Comment by Alexander Sokol (JIRA)

There is a fix #28517

@beccadax
Copy link
Contributor

beccadax commented Dec 2, 2019

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Projects
None yet
Development

No branches or pull requests

2 participants