mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
build: specify vendor for Darwin benchmarks
The build was not specifying the vendor when building the Darwin benchmarks. Parts of the SDK rely on the vendor macro (`__APPLE__`) to be defined which requires that the vendor is specified properly. Ensure that we do so.
This commit is contained in:
@@ -77,6 +77,11 @@ macro(configure_sdks_darwin)
|
||||
set(appletvos_ver "9.1")
|
||||
set(watchos_ver "2.0")
|
||||
|
||||
set(macosx_vendor "apple")
|
||||
set(iphoneos_vendor "apple")
|
||||
set(appletvos_vendor "apple")
|
||||
set(watchos_vendor "apple")
|
||||
|
||||
set(macosx_triple_platform "macosx")
|
||||
set(iphoneos_triple_platform "ios")
|
||||
set(appletvos_triple_platform "tvos")
|
||||
|
||||
Reference in New Issue
Block a user