Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions config/targets.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,16 @@ name = "aarch64-apple-ios"
os = "macos-latest"
enabled = true
note = "Requires Xcode and iOS SDK."
env = { CC = "xcrun -sdk iphoneos clang", CXX = "xcrun -sdk iphoneos clang++", IOS_SDK = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk" }
configure = ["--arch=arm64", "--target-os=darwin", "--enable-cross-compile"]
env = { CC = "xcrun -sdk iphoneos clang", CXX = "xcrun -sdk iphoneos clang++", AS = "xcrun -sdk iphoneos clang", IOS_SDK = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk" }
configure = [
"--arch=arm64",
"--target-os=darwin",
"--enable-cross-compile",
"--cc=${CC}",
"--cxx=${CXX}",
"--as=${CC}",
"--ld=${CC}",
]
extra_configure = ["--disable-videotoolbox", "--sysroot=${IOS_SDK}"]
extra_cflags = "-isysroot ${IOS_SDK} -miphoneos-version-min=9.0"
extra_ldflags = "-isysroot ${IOS_SDK} -miphoneos-version-min=9.0"
Expand All @@ -39,11 +47,15 @@ name = "aarch64-apple-ios-sim"
os = "macos-latest"
enabled = true
note = "Requires Xcode and iOS simulator SDK."
env = { CC = "xcrun -sdk iphonesimulator clang", CXX = "xcrun -sdk iphonesimulator clang++", IOS_SIM_SDK = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk" }
env = { CC = "xcrun -sdk iphonesimulator clang", CXX = "xcrun -sdk iphonesimulator clang++", AS = "xcrun -sdk iphonesimulator clang", IOS_SIM_SDK = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk" }
configure = [
"--arch=arm64",
"--target-os=darwin",
"--enable-cross-compile",
"--cc=${CC}",
"--cxx=${CXX}",
"--as=${CC}",
"--ld=${CC}",
"--disable-videotoolbox",
]
extra_configure = ["--disable-videotoolbox", "--sysroot=${IOS_SIM_SDK}"]
Expand Down
Loading