Skip to content

Commit 91a8a82

Browse files
authored
Merge pull request swiftlang#34384 from akyrtzi/util-prebuild-modules-stop-system-depend-track
[utils/swift_build_sdk_interfaces.py] Remove passing '-track-system-dependencies' when prebuilding modules from the interfaces
2 parents f0f2246 + a9f497d commit 91a8a82

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

test/ModuleInterface/swift_build_sdk_interfaces/track-system-dependencies.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
// RUN: %target-typecheck-verify-swift -sdk %t/sdk -I %t/sdk/usr/lib/swift/ -module-cache-path %t/MCP -prebuilt-module-cache-path %t/prebuilt
1818
// RUN: %{python} %S/../ModuleCache/Inputs/check-is-forwarding-module.py %t/MCP/Swifty-*.swiftmodule
1919

20-
// Actually change a file in the SDK, to check that we're tracking dependencies
20+
// Actually change a file in the SDK, to check that we're not tracking system dependencies
2121
// at all.
2222
// RUN: rm -rf %t/MCP
2323
// RUN: echo "void unrelated();" >> %t/sdk/usr/include/Platform.h
2424
// RUN: %target-typecheck-verify-swift -sdk %t/sdk -I %t/sdk/usr/lib/swift/ -module-cache-path %t/MCP -prebuilt-module-cache-path %t/prebuilt
25-
// RUN: not %{python} %S/../ModuleCache/Inputs/check-is-forwarding-module.py %t/MCP/Swifty-*.swiftmodule
25+
// RUN: %{python} %S/../ModuleCache/Inputs/check-is-forwarding-module.py %t/MCP/Swifty-*.swiftmodule
2626

2727
// Without the prebuilt cache everything should still work; it'll just take time
2828
// because we have to build the interfaces.

utils/swift_build_sdk_interfaces.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ def process_module(module_file):
253253
'-build-module-from-parseable-interface',
254254
'-sdk', args.sdk,
255255
'-prebuilt-module-cache-path', args.output_dir,
256-
'-track-system-dependencies'
257256
]
258257
module_cache_path = ""
259258
if args.module_cache_path:

0 commit comments

Comments
 (0)