Set SWIFT_STDLIB_ENABLE_VECTOR_TYPES=0 for the freestanding stdlib (#41169)

This commit is contained in:
Kuba (Brecka) Mracek
2022-02-06 07:47:57 -08:00
committed by GitHub
parent 932c45de2b
commit d2957338f8
6 changed files with 7 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
// RUN: %target-run-simple-swift
// REQUIRES: executable_test
// REQUIRES: objc_interop
// UNSUPPORTED: freestanding
import Foundation
import StdlibUnittest

View File

@@ -16,6 +16,7 @@
// RUN: %line-directive %t/SIMDConcreteFP.swift -- %target-run %t/a.out
// REQUIRES: executable_test
// REQUIRES: rdar76545659
// UNSUPPORTED: freestanding
import StdlibUnittest

View File

@@ -15,6 +15,7 @@
// RUN: %target-codesign %t/a.out
// RUN: %line-directive %t/SIMDConcreteIntegers.swift -- %target-run %t/a.out
// REQUIRES: executable_test
// UNSUPPORTED: freestanding
import StdlibUnittest

View File

@@ -15,6 +15,7 @@
// RUN: %target-codesign %t/a.out
// RUN: %line-directive %t/SIMDConcreteMasks.swift -- %target-run %t/a.out
// REQUIRES: executable_test
// UNSUPPORTED: freestanding
import StdlibUnittest

View File

@@ -2532,6 +2532,7 @@ swift-stdlib-lto=full
swift-stdlib-enable-prespecialization=0
swift-stdlib-passthrough-metadata-allocator=1
swift-stdlib-short-mangling-lookups=0
swift-stdlib-enable-vector-types=0
swift-stdlib-experimental-hermetic-seal-at-link=1
swift-stdlib-disable-instantiation-caches=1
swift-stdlib-has-type-printing=0

View File

@@ -218,6 +218,7 @@ KNOWN_SETTINGS=(
swift-stdlib-enable-prespecialization "" "whether stdlib should be built with generic metadata prespecialization enabled, defaults to true on Darwin and Linux, false otherwise"
swift-stdlib-passthrough-metadata-allocator "0" "whether stdlib should be built without a custom implementation of MetadataAllocator, relying on malloc+free instead"
swift-stdlib-short-mangling-lookups "1" "whether to build stdlib with fast-path context descriptor lookups based on well-known short manglings"
swift-stdlib-enable-vector-types "1" "whether to build stdlib with support for SIMD and vector types"
swift-stdlib-experimental-hermetic-seal-at-link "0" "whether stdlib should be built with -experimental-hermetic-seal-at-link"
swift-stdlib-disable-instantiation-caches "0" "whether to build stdlib with -disable-preallocated-instantiation-caches"
swift-stdlib-has-type-printing "1" "whether stdlib should support printing user-friendly type name as strings at runtime"
@@ -2009,6 +2010,7 @@ for host in "${ALL_HOSTS[@]}"; do
-DSWIFT_STDLIB_ENABLE_LTO:STRING="${SWIFT_STDLIB_LTO}"
-DSWIFT_STDLIB_PASSTHROUGH_METADATA_ALLOCATOR:BOOL=$(true_false "${SWIFT_STDLIB_PASSTHROUGH_METADATA_ALLOCATOR}")
-DSWIFT_STDLIB_SHORT_MANGLING_LOOKUPS:BOOL=$(true_false "${SWIFT_STDLIB_SHORT_MANGLING_LOOKUPS}")
-DSWIFT_STDLIB_ENABLE_VECTOR_TYPES:BOOL=$(true_false "${SWIFT_STDLIB_ENABLE_VECTOR_TYPES}")
-DSWIFT_STDLIB_HAS_TYPE_PRINTING:BOOL=$(true_false "${SWIFT_STDLIB_HAS_TYPE_PRINTING}")
-DSWIFT_STDLIB_EXPERIMENTAL_HERMETIC_SEAL_AT_LINK:BOOL=$(true_false "${SWIFT_STDLIB_EXPERIMENTAL_HERMETIC_SEAL_AT_LINK}")
-DSWIFT_STDLIB_DISABLE_INSTANTIATION_CACHES:BOOL=$(true_false "${SWIFT_STDLIB_DISABLE_INSTANTIATION_CACHES}")