Last active
January 23, 2020 17:00
-
-
Save matthiasfranz/09974ab0738c7931280550783a66a8d3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Sources/Build/Triple.swift b/Sources/Build/Triple.swift | |
index 1ce1556..3e0b0f0 100644 | |
--- a/Sources/Build/Triple.swift | |
+++ b/Sources/Build/Triple.swift | |
@@ -34,6 +34,7 @@ public struct Triple { | |
case x86_64 | |
case armv7 | |
case s390x | |
+ case aarch64 | |
} | |
public enum Vendor: String { | |
@@ -104,7 +105,7 @@ public struct Triple { | |
} | |
public static let macOS = try! Triple("x86_64-apple-macosx10.10") | |
- public static let linux = try! Triple("x86_64-unknown-linux") | |
+ public static let linux = try! Triple("aarch64-unknown-linux") | |
public static let android = try! Triple("armv7-unknown-linux-androideabi") | |
#if os(macOS) | |
diff --git a/Utilities/bootstrap b/Utilities/bootstrap | |
index ea3d293..8b979ec 100755 | |
--- a/Utilities/bootstrap | |
+++ b/Utilities/bootstrap | |
@@ -878,7 +878,7 @@ def main(): | |
elif platform.processor() == 's390x': | |
build_target = "s390x-unknown-linux" | |
else: | |
- build_target = 'x86_64-unknown-linux' | |
+ build_target = 'aarch64-unknown-linux' | |
build_path = os.path.join(g_project_root, args.build_path) | |
sandbox_path = os.path.join(build_path, ".bootstrap") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment