Skip to content

Add -gnu in aarch64 Linux's triple #2496

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

Merged
merged 1 commit into from
Jan 9, 2020
Merged

Add -gnu in aarch64 Linux's triple #2496

merged 1 commit into from
Jan 9, 2020

Conversation

futurejones
Copy link
Contributor

swift-package-manager builds for master-branch and swift-5.2-branch are currently failing on Linux Aarch64 with following error:-

File "/usr/lib/python2.7/distutils/file_util.py", line 110, in copy_file
    "can't copy '%s': doesn't exist or not a regular file" % src)
distutils.errors.DistutilsFileError: can't copy '/home/worksonarm_test/jenkins_slave/workspace/swift-master-aarch64/build/buildbot_linux/swiftpm-linux-aarch64/aarch64-unknown-linux-gnu/release/swift-build': doesn't exist or not a regular file

Due to the new swiftpm build methods Linux Aarch64 now requires the -gnu tag on the triple.

This was adding to x86_64 in #2353

This is currently causing the build failures on https://ci-external.swift.org/job/oss-swift-RA-linux-ubuntu-16.04-aarch64/

This changed will also need to be applied to the swift-5.2-branch

@futurejones futurejones requested a review from aciidgh as a code owner January 9, 2020 00:17
@aciidgh
Copy link
Contributor

aciidgh commented Jan 9, 2020

@swift-ci smoke test

@aciidgh
Copy link
Contributor

aciidgh commented Jan 9, 2020

Thanks! Can you also make a PR to swift-5.2-branch?

@aciidgh aciidgh merged commit fe593a6 into swiftlang:master Jan 9, 2020
@futurejones
Copy link
Contributor Author

Added PR for swift-5.2-branch #2505

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.

3 participants