-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge topic 'swift-install-names' into release-3.29
8669176 Swift: Fix INSTALL_NAME_DIR under CMP0157 NEW behavior Acked-by: Kitware Robot <[email protected]> Merge-request: !9692
- Loading branch information
Showing
5 changed files
with
39 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
Tests/RunCMake/Swift/SwiftLibraryModuleCommand-check-stdout-darwin.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.*swiftc(.exe)? [^ | ||
]* -parse-as-library -static -emit-module [^ | ||
]* -module-name StaticLibrary [^ | ||
]* | ||
.*swiftc(.exe)? [^ | ||
]* -parse-as-library -emit-module [^ | ||
]* -module-name DynamicLibrary [^ | ||
]* | ||
.*swiftc(.exe)? [^ | ||
]* -emit-library [^ | ||
]* -Xlinker -install_name -Xlinker @rpath/libDynamicLibrary.dylib -o ([A-Za-z]+/)?libDynamicLibrary.dylib [^ | ||
]* | ||
.*swiftc(.exe)? -j [0-9]+ -num-threads [0-9]+ -c -module-name Executable |
13 changes: 13 additions & 0 deletions
13
Tests/RunCMake/Swift/SwiftLibraryModuleCommand-check-stdout-windows.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.*swiftc(.exe)? [^ | ||
]* -parse-as-library -static -emit-module [^ | ||
]* -module-name StaticLibrary [^ | ||
]* | ||
.*swiftc(.exe)? [^ | ||
]* -parse-as-library -emit-module [^ | ||
]* -module-name DynamicLibrary [^ | ||
]* | ||
.*swiftc(.exe)? [^ | ||
]* -emit-library [^ | ||
]* -Xlinker -implib:DynamicLibrary.lib +-o ([A-Za-z]+/)?DynamicLibrary.dll [^ | ||
]* | ||
.*swiftc(.exe)? -j [0-9]+ -num-threads [0-9]+ -c -module-name Executable |
14 changes: 11 additions & 3 deletions
14
Tests/RunCMake/Swift/SwiftLibraryModuleCommand-check-stdout.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
.*swiftc(.exe)? .* -parse-as-library -static -emit-module .* -module-name StaticLibrary [^ | ||
.*swiftc(.exe)? [^ | ||
]* -parse-as-library -static -emit-module [^ | ||
]* -module-name StaticLibrary [^ | ||
]* | ||
.*swiftc(.exe)? .* -parse-as-library -emit-module .* -module-name DynamicLibrary [^ | ||
.*swiftc(.exe)? [^ | ||
]* -parse-as-library -emit-module [^ | ||
]* -module-name DynamicLibrary [^ | ||
]* | ||
.*swiftc(.exe)? .* -j [0-9]* -num-threads [0-9]* -c -module-name Executable | ||
.*swiftc(.exe)? [^ | ||
]* -emit-library [^ | ||
]* -Xlinker -soname -Xlinker libDynamicLibrary.so -o ([A-Za-z]+/)?libDynamicLibrary.so [^ | ||
]* | ||
.*swiftc(.exe)? -j [0-9]+ -num-threads [0-9]+ -c -module-name Executable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters