summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorEvan Wilde <etceterawilde@gmail.com>2024-01-10 00:33:46 (GMT)
committerEvan Wilde <etceterawilde@gmail.com>2024-01-11 00:08:16 (GMT)
commitb767917ebb2130f097b7190713605cef481803fa (patch)
tree5958fad7ff7ba3a47af3d1e921dd3bea0c6c7d0d /Tests
parent38234058ff68d3e28b8c4672033dd118127581be (diff)
downloadCMake-b767917ebb2130f097b7190713605cef481803fa.zip
CMake-b767917ebb2130f097b7190713605cef481803fa.tar.gz
CMake-b767917ebb2130f097b7190713605cef481803fa.tar.bz2
Swift/Ninja: Include sources in response file
Unlike C/C++, Swift compiles all sources in a module at once. This can quickly overwhelm the commandline length limit on Windows, so it is useful to place the source files in the response file. Issue: #25572
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/Swift/ForceResponseFile-check-stdout.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/Tests/RunCMake/Swift/ForceResponseFile-check-stdout.txt b/Tests/RunCMake/Swift/ForceResponseFile-check-stdout.txt
index 576f5a1..3d70f12 100644
--- a/Tests/RunCMake/Swift/ForceResponseFile-check-stdout.txt
+++ b/Tests/RunCMake/Swift/ForceResponseFile-check-stdout.txt
@@ -1,4 +1,2 @@
-swiftc [^
-]* -c @CMakeFiles/L.dir/L.o.swift.rsp [^
-]*
-.*swiftc -emit-library -static -o libL.a @CMakeFiles/L.rsp.*
+swiftc -j [0-9]+ -num-threads [0-9]+ -c @CMakeFiles/L.dir/L.o.swift.rsp
+.*swiftc -emit-library -static -o libL.a @CMakeFiles/L.rsp