Skip to content

Commit 57bc5d8

Browse files
committed
Merge remote-tracking branch 'origin/main' into rebranch
2 parents 17e11e2 + 38c3aec commit 57bc5d8

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

Runtimes/Supplemental/Volatile/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ option(${PROJECT_NAME}_ENABLE_PRESPECIALIZATION "Enable generic metadata prespec
6565
add_compile_options(
6666
$<$<COMPILE_LANGUAGE:Swift>:-explicit-module-build>
6767
$<$<COMPILE_LANGUAGE:Swift>:-nostdlibimport>
68-
$<$<COMPILE_LANGUAGE:Swift>:-enable-builtin-module>
6968
$<$<COMPILE_LANGUAGE:Swift>:-strict-memory-safety>
7069
"$<$<AND:$<BOOL:${${PROJECT_NAME}_ENABLE_LIBRARY_EVOLUTION}>,$<COMPILE_LANGUAGE:Swift>>:-enable-library-evolution>"
7170
"$<$<AND:$<BOOL:${${PROJECT_NAME}_ENABLE_PRESPECIALIZATION}>,$<COMPILE_LANGUAGE:Swift>>:SHELL:-Xfrontend -prespecialize-generic-metadata>")
@@ -75,7 +74,7 @@ add_compile_options(
7574
# LNK4217: symbol 'symbol' defined in 'filename_1.obj' is imported by 'filename_2.obj' in function 'function'
7675
#
7776
# We cannot selectively filter the linker warnings as we do not use the MSVC
78-
# frontned and `clang-cl` (and `clang`) currently do not support `/WX:nnnn`. As
77+
# frontend and `clang-cl` (and `clang`) currently do not support `/WX:nnnn`. As
7978
# a compromise, treat all linker warnings as errors.
8079
add_link_options($<$<PLATFORM_ID:Windows>:LINKER:/WX>)
8180

utils/build.ps1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1678,8 +1678,10 @@ function Build-CMakeProject {
16781678

16791679
$ArgWithForwardSlashes = $Arg.Replace("\", "/")
16801680
if ($ArgWithForwardSlashes.Contains(" ")) {
1681-
# Quote and escape the quote so it makes it through
1682-
$Value += "\""$ArgWithForwardSlashes\"""
1681+
# Escape the quote so it makes it through. PowerShell 5 and Core
1682+
# handle quotes differently, so we need to check the version.
1683+
$quote = if ($PSEdition -eq "Core") { '"' } else { '\"' }
1684+
$Value += "$quote$ArgWithForwardSlashes$quote"
16831685
} else {
16841686
$Value += $ArgWithForwardSlashes
16851687
}

validation-test/Sema/type_checker_perf/fast/simd_scalar_multiple.swift.gyb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
// REQUIRES: asserts,no_asan
44

5-
// Flaky is some simulator configurations
5+
// Flaky is some configurations including simulators
66
// REQUIRES: OS=macosx
7+
// REQUIRES: CPU=arm64 || CPU=arm64e
78

89
func f(c: Float, a: SIMD2<Float>) -> SIMD2<Float> {
910
return (c * a)

0 commit comments

Comments
 (0)