Skip to content

[build-script] Don't hardcode macosx-x86_64 #414

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

Conversation

modocache
Copy link
Contributor

Resolve FIXME by using build_directory() function.


(The following isn't part of any commit message in this pull request.)

It seems like utils/build-script-impl contains a lot of hardcoded references to macosx-x86_64. I happened to find this one while looking at https://github.com/apple/swift/blob/91bfa8d0d5fb07cd143607798d3b6f33729d6547/test/lit.cfg#L173.

If this is the right approach I'll send up more pull requests for the others--but let me know if the problem isn't as straightforward as I'm making it out to be.

Resolve FIXME by using `build_directory()` function.
@gribozavr
Copy link
Contributor

@modocache Sorry, that's not correct when cross-compiling. To fix this FIXME, we need to add a notion of "current native tools" more broadly to the script.

Also, if you are interested in working on the build script, another project is rewriting it in Python.

@modocache
Copy link
Contributor Author

Gotcha, thanks! Rewriting the build script in Python sounds interesting, but doing so might be biting off more than I can chew for a weekday night. 😉

@modocache modocache closed this Dec 11, 2015
slavapestov pushed a commit to slavapestov/swift that referenced this pull request Nov 27, 2018
WIP/DNM: LLP64 support for SDK Overlay
kateinoigakukun added a commit to kateinoigakukun/swift that referenced this pull request Mar 20, 2020
…nightly-dist

Cronize nightly toolchain distribution
freak4pc pushed a commit to freak4pc/swift that referenced this pull request Sep 28, 2022
[5.2] Add support for swift-5.2-branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants