File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Runtimes/Supplemental/Volatile
validation-test/Sema/type_checker_perf/fast Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,6 @@ option(${PROJECT_NAME}_ENABLE_PRESPECIALIZATION "Enable generic metadata prespec
65
65
add_compile_options (
66
66
$< $< COMPILE_LANGUAGE:Swift> :-explicit-module-build>
67
67
$< $< COMPILE_LANGUAGE:Swift> :-nostdlibimport>
68
- $< $< COMPILE_LANGUAGE:Swift> :-enable-builtin-module>
69
68
$< $< COMPILE_LANGUAGE:Swift> :-strict-memory-safety>
70
69
"$<$<AND:$<BOOL:${${PROJECT_NAME} _ENABLE_LIBRARY_EVOLUTION}>,$<COMPILE_LANGUAGE:Swift>>:-enable-library-evolution>"
71
70
"$<$<AND:$<BOOL:${${PROJECT_NAME} _ENABLE_PRESPECIALIZATION}>,$<COMPILE_LANGUAGE:Swift>>:SHELL:-Xfrontend -prespecialize-generic-metadata>" )
@@ -75,7 +74,7 @@ add_compile_options(
75
74
# LNK4217: symbol 'symbol' defined in 'filename_1.obj' is imported by 'filename_2.obj' in function 'function'
76
75
#
77
76
# 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
79
78
# a compromise, treat all linker warnings as errors.
80
79
add_link_options ($< $< PLATFORM_ID:Windows> :LINKER:/WX> )
81
80
Original file line number Diff line number Diff line change @@ -1678,8 +1678,10 @@ function Build-CMakeProject {
1678
1678
1679
1679
$ArgWithForwardSlashes = $Arg.Replace (" \" , " /" )
1680
1680
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 "
1683
1685
} else {
1684
1686
$Value += $ArgWithForwardSlashes
1685
1687
}
Original file line number Diff line number Diff line change 2
2
3
3
// REQUIRES: asserts,no_asan
4
4
5
- // Flaky is some simulator configurations
5
+ // Flaky is some configurations including simulators
6
6
// REQUIRES: OS=macosx
7
+ // REQUIRES: CPU=arm64 || CPU=arm64e
7
8
8
9
func f(c: Float, a: SIMD2<Float>) -> SIMD2<Float> {
9
10
return (c * a)
You can’t perform that action at this time.
0 commit comments