@@ -1079,6 +1079,7 @@ jobs:
1079
1079
-D CMAKE_CXX_COMPILER="${{ steps.setup-context.outputs.cxx }}" `
1080
1080
-D CMAKE_CXX_COMPILER_LAUNCHER=sccache `
1081
1081
-D CMAKE_CXX_FLAGS="${{ steps.setup-context.outputs.cxxflags }}" `
1082
+ -D CMAKE_STATIC_LIBRARY_PREFIX_Swift= `
1082
1083
-D CMAKE_Swift_COMPILER="${{ steps.setup-context.outputs.swiftc }}" `
1083
1084
-D CMAKE_Swift_COMPILER_WORKS=YES `
1084
1085
-D CMAKE_Swift_FLAGS="${{ steps.setup-context.outputs.swiftflags }}" `
@@ -1600,7 +1601,7 @@ jobs:
1600
1601
swiftflags : ${{ inputs.CMAKE_Swift_FLAGS }}
1601
1602
os : Windows
1602
1603
llvm_flags :
1603
- linker_flags : ' -D CMAKE_EXE_LINKER_FLAGS="${{ inputs.WINDOWS_CMAKE_EXE_LINKER_FLAGS }}" -D CMAKE_SHARED_LINKER_FLAGS="${{ inputs.WINDOWS_CMAKE_SHARED_LINKER_FLAGS }}"'
1604
+ linker_flags : ' -D CMAKE_EXE_LINKER_FLAGS="${{ inputs.WINDOWS_CMAKE_EXE_LINKER_FLAGS }}" -D CMAKE_SHARED_LINKER_FLAGS="${{ inputs.WINDOWS_CMAKE_SHARED_LINKER_FLAGS }}" -D CMAKE_STATIC_LIBRARY_PREFIX_Swift=lib '
1604
1605
extra_flags :
1605
1606
1606
1607
- arch : arm64
@@ -1614,8 +1615,8 @@ jobs:
1614
1615
swiftflags : ${{ inputs.CMAKE_Swift_FLAGS }}
1615
1616
os : Windows
1616
1617
llvm_flags :
1617
- linker_flags : ' -D CMAKE_EXE_LINKER_FLAGS="${{ inputs.WINDOWS_CMAKE_EXE_LINKER_FLAGS }}" -D CMAKE_SHARED_LINKER_FLAGS="${{ inputs.WINDOWS_CMAKE_SHARED_LINKER_FLAGS }}"'
1618
- extra_flags :
1618
+ linker_flags : ' -D CMAKE_EXE_LINKER_FLAGS="${{ inputs.WINDOWS_CMAKE_EXE_LINKER_FLAGS }}" -D CMAKE_SHARED_LINKER_FLAGS="${{ inputs.WINDOWS_CMAKE_SHARED_LINKER_FLAGS }}" -D CMAKE_STATIC_LIBRARY_PREFIX_Swift=lib '
1619
+ extra_flags :
1619
1620
1620
1621
- arch : x86
1621
1622
cpu : ' i686'
@@ -2029,7 +2030,7 @@ jobs:
2029
2030
cxxflags : ${{ inputs.WINDOWS_CMAKE_CXX_FLAGS }}
2030
2031
swiftflags : ${{ inputs.CMAKE_Swift_FLAGS }}
2031
2032
os : Windows
2032
- linker_flags : ' -D CMAKE_EXE_LINKER_FLAGS="${{ inputs.WINDOWS_CMAKE_EXE_LINKER_FLAGS }}" -D CMAKE_SHARED_LINKER_FLAGS="${{ inputs.WINDOWS_CMAKE_SHARED_LINKER_FLAGS }}"'
2033
+ linker_flags : ' -D CMAKE_EXE_LINKER_FLAGS="${{ inputs.WINDOWS_CMAKE_EXE_LINKER_FLAGS }}" -D CMAKE_SHARED_LINKER_FLAGS="${{ inputs.WINDOWS_CMAKE_SHARED_LINKER_FLAGS }}" -D CMAKE_STATIC_LIBRARY_PREFIX_Swift=lib '
2033
2034
extra_flags :
2034
2035
2035
2036
- arch : arm64
@@ -2042,7 +2043,7 @@ jobs:
2042
2043
cxxflags : ${{ inputs.WINDOWS_CMAKE_CXX_FLAGS }}
2043
2044
swiftflags : ${{ inputs.CMAKE_Swift_FLAGS }}
2044
2045
os : Windows
2045
- linker_flags : ' -D CMAKE_EXE_LINKER_FLAGS="${{ inputs.WINDOWS_CMAKE_EXE_LINKER_FLAGS }}" -D CMAKE_SHARED_LINKER_FLAGS="${{ inputs.WINDOWS_CMAKE_SHARED_LINKER_FLAGS }}"'
2046
+ linker_flags : ' -D CMAKE_EXE_LINKER_FLAGS="${{ inputs.WINDOWS_CMAKE_EXE_LINKER_FLAGS }}" -D CMAKE_SHARED_LINKER_FLAGS="${{ inputs.WINDOWS_CMAKE_SHARED_LINKER_FLAGS }}" -D CMAKE_STATIC_LIBRARY_PREFIX_Swift=lib '
2046
2047
extra_flags :
2047
2048
2048
2049
- arch : x86
@@ -2055,7 +2056,7 @@ jobs:
2055
2056
cxxflags : ${{ inputs.WINDOWS_CMAKE_CXX_FLAGS }}
2056
2057
swiftflags : ${{ inputs.CMAKE_Swift_FLAGS }}
2057
2058
os : Windows
2058
- linker_flags : ' -D CMAKE_EXE_LINKER_FLAGS="${{ inputs.WINDOWS_CMAKE_EXE_LINKER_FLAGS }}" -D CMAKE_SHARED_LINKER_FLAGS="${{ inputs.WINDOWS_CMAKE_SHARED_LINKER_FLAGS }}"'
2059
+ linker_flags : ' -D CMAKE_EXE_LINKER_FLAGS="${{ inputs.WINDOWS_CMAKE_EXE_LINKER_FLAGS }}" -D CMAKE_SHARED_LINKER_FLAGS="${{ inputs.WINDOWS_CMAKE_SHARED_LINKER_FLAGS }}" -D CMAKE_STATIC_LIBRARY_PREFIX_Swift=lib '
2059
2060
extra_flags :
2060
2061
2061
2062
- arch : arm64
@@ -2745,6 +2746,7 @@ jobs:
2745
2746
-D CMAKE_Swift_COMPILER_WORKS=YES `
2746
2747
-D CMAKE_Swift_FLAGS="-sdk ${env:SDKROOT} ${{ inputs.CMAKE_Swift_FLAGS }}" `
2747
2748
-D CMAKE_Swift_FLAGS_RELEASE="-O" `
2749
+ ${{ matrix.cmake_linker_flags }} `
2748
2750
-D CMAKE_SYSTEM_NAME=Windows `
2749
2751
-D CMAKE_SYSTEM_PROCESSOR=${{ matrix.cpu }} `
2750
2752
-G Ninja `
@@ -2774,6 +2776,7 @@ jobs:
2774
2776
-D CMAKE_Swift_COMPILER_WORKS=YES `
2775
2777
-D CMAKE_Swift_FLAGS="-sdk ${env:SDKROOT} ${{ inputs.CMAKE_Swift_FLAGS }}" `
2776
2778
-D CMAKE_Swift_FLAGS_RELEASE="-O" `
2779
+ ${{ matrix.cmake_linker_flags }} `
2777
2780
-D CMAKE_SYSTEM_NAME=Windows `
2778
2781
-D CMAKE_SYSTEM_PROCESSOR=${{ matrix.cpu }} `
2779
2782
-G Ninja `
@@ -2802,6 +2805,7 @@ jobs:
2802
2805
-D CMAKE_Swift_COMPILER_WORKS=YES `
2803
2806
-D CMAKE_Swift_FLAGS="-sdk ${env:SDKROOT} ${{ inputs.CMAKE_Swift_FLAGS }}" `
2804
2807
-D CMAKE_Swift_FLAGS_RELEASE="-O" `
2808
+ ${{ matrix.cmake_linker_flags }} `
2805
2809
-D CMAKE_SYSTEM_NAME=Windows `
2806
2810
-D CMAKE_SYSTEM_PROCESSOR=${{ matrix.cpu }} `
2807
2811
-G Ninja `
@@ -2830,6 +2834,7 @@ jobs:
2830
2834
-D CMAKE_Swift_COMPILER_WORKS=YES `
2831
2835
-D CMAKE_Swift_FLAGS="-sdk ${env:SDKROOT} ${{ inputs.CMAKE_Swift_FLAGS }}" `
2832
2836
-D CMAKE_Swift_FLAGS_RELEASE="-O" `
2837
+ ${{ matrix.cmake_linker_flags }} `
2833
2838
-D CMAKE_SYSTEM_NAME=Windows `
2834
2839
-D CMAKE_SYSTEM_PROCESSOR=${{ matrix.cpu }} `
2835
2840
-G Ninja `
@@ -2862,6 +2867,7 @@ jobs:
2862
2867
-D CMAKE_Swift_COMPILER_WORKS=YES `
2863
2868
-D CMAKE_Swift_FLAGS="-sdk ${env:SDKROOT} ${{ inputs.CMAKE_Swift_FLAGS }}" `
2864
2869
-D CMAKE_Swift_FLAGS_RELEASE="-O" `
2870
+ ${{ matrix.cmake_linker_flags }} `
2865
2871
-D CMAKE_SYSTEM_NAME=Windows `
2866
2872
-D CMAKE_SYSTEM_PROCESSOR=${{ matrix.cpu }} `
2867
2873
-G Ninja `
@@ -2891,6 +2897,7 @@ jobs:
2891
2897
-D CMAKE_Swift_COMPILER_WORKS=YES `
2892
2898
-D CMAKE_Swift_FLAGS="-sdk ${env:SDKROOT} ${{ inputs.CMAKE_Swift_FLAGS }}" `
2893
2899
-D CMAKE_Swift_FLAGS_RELEASE="-O" `
2900
+ ${{ matrix.cmake_linker_flags }} `
2894
2901
-D CMAKE_SYSTEM_NAME=Windows `
2895
2902
-D CMAKE_SYSTEM_PROCESSOR=${{ matrix.cpu }} `
2896
2903
-G Ninja `
@@ -2923,6 +2930,7 @@ jobs:
2923
2930
-D CMAKE_Swift_COMPILER_WORKS=YES `
2924
2931
-D CMAKE_Swift_FLAGS="-sdk ${env:SDKROOT} ${{ inputs.CMAKE_Swift_FLAGS }}" `
2925
2932
-D CMAKE_Swift_FLAGS_RELEASE="-O" `
2933
+ ${{ matrix.cmake_linker_flags }} `
2926
2934
-D CMAKE_SYSTEM_NAME=Windows `
2927
2935
-D CMAKE_SYSTEM_PROCESSOR=${{ matrix.cpu }} `
2928
2936
-G Ninja `
@@ -2950,6 +2958,7 @@ jobs:
2950
2958
-D CMAKE_Swift_COMPILER_WORKS=YES `
2951
2959
-D CMAKE_Swift_FLAGS="-sdk ${env:SDKROOT} ${{ inputs.CMAKE_Swift_FLAGS }}" `
2952
2960
-D CMAKE_Swift_FLAGS_RELEASE="-O" `
2961
+ ${{ matrix.cmake_linker_flags }} `
2953
2962
-D CMAKE_SYSTEM_NAME=Windows `
2954
2963
-D CMAKE_SYSTEM_PROCESSOR=${{ matrix.cpu }} `
2955
2964
-G Ninja `
@@ -2971,6 +2980,7 @@ jobs:
2971
2980
-D CMAKE_Swift_COMPILER_WORKS=YES `
2972
2981
-D CMAKE_Swift_FLAGS="-sdk ${env:SDKROOT} ${{ inputs.CMAKE_Swift_FLAGS }}" `
2973
2982
-D CMAKE_Swift_FLAGS_RELEASE="-O" `
2983
+ ${{ matrix.cmake_linker_flags }} `
2974
2984
-D CMAKE_SYSTEM_NAME=Windows `
2975
2985
-D CMAKE_SYSTEM_PROCESSOR=${{ matrix.cpu }} `
2976
2986
-G Ninja `
@@ -3008,6 +3018,7 @@ jobs:
3008
3018
-D CMAKE_Swift_COMPILER_WORKS=YES `
3009
3019
-D CMAKE_Swift_FLAGS="-sdk ${env:SDKROOT} ${{ inputs.CMAKE_Swift_FLAGS }}" `
3010
3020
-D CMAKE_Swift_FLAGS_RELEASE="-O" `
3021
+ ${{ matrix.cmake_linker_flags }} `
3011
3022
-D CMAKE_SYSTEM_NAME=Windows `
3012
3023
-D CMAKE_SYSTEM_PROCESSOR=${{ matrix.cpu }} `
3013
3024
-G Ninja `
@@ -3048,6 +3059,7 @@ jobs:
3048
3059
-D CMAKE_Swift_COMPILER_WORKS=YES `
3049
3060
-D CMAKE_Swift_FLAGS="-sdk ${env:SDKROOT} ${{ inputs.CMAKE_Swift_FLAGS }}" `
3050
3061
-D CMAKE_Swift_FLAGS_RELEASE="-O" `
3062
+ ${{ matrix.cmake_linker_flags }} `
3051
3063
-D CMAKE_SYSTEM_NAME=Windows `
3052
3064
-D CMAKE_SYSTEM_PROCESSOR=${{ matrix.cpu }} `
3053
3065
-G Ninja `
@@ -3075,6 +3087,7 @@ jobs:
3075
3087
-D CMAKE_Swift_COMPILER_WORKS=YES `
3076
3088
-D CMAKE_Swift_FLAGS="-sdk ${env:SDKROOT} ${{ inputs.CMAKE_Swift_FLAGS }}" `
3077
3089
-D CMAKE_Swift_FLAGS_RELEASE="-O" `
3090
+ ${{ matrix.cmake_linker_flags }} `
3078
3091
-D CMAKE_SYSTEM_NAME=Windows `
3079
3092
-D CMAKE_SYSTEM_PROCESSOR=${{ matrix.cpu }} `
3080
3093
-G Ninja `
@@ -3099,6 +3112,7 @@ jobs:
3099
3112
-D CMAKE_C_COMPILER=${CLANG_CL} `
3100
3113
-D CMAKE_C_COMPILER_TARGET=${{ matrix.triple }} `
3101
3114
-D CMAKE_C_FLAGS="${{ inputs.WINDOWS_CMAKE_C_FLAGS }}" `
3115
+ ${{ matrix.cmake_linker_flags }} `
3102
3116
-D CMAKE_SYSTEM_NAME=Windows `
3103
3117
-D CMAKE_SYSTEM_PROCESSOR=${{ matrix.cpu }} `
3104
3118
-G Ninja `
@@ -3128,6 +3142,7 @@ jobs:
3128
3142
-D CMAKE_Swift_COMPILER_WORKS=YES `
3129
3143
-D CMAKE_Swift_FLAGS="-sdk ${env:SDKROOT} ${{ inputs.CMAKE_Swift_FLAGS }}" `
3130
3144
-D CMAKE_Swift_FLAGS_RELEASE="-O" `
3145
+ ${{ matrix.cmake_linker_flags }} `
3131
3146
-D CMAKE_SYSTEM_NAME=Windows `
3132
3147
-D CMAKE_SYSTEM_PROCESSOR=${{ matrix.cpu }} `
3133
3148
-G Ninja `
@@ -3158,6 +3173,7 @@ jobs:
3158
3173
-D CMAKE_Swift_COMPILER_WORKS=YES `
3159
3174
-D CMAKE_Swift_FLAGS="-sdk ${env:SDKROOT} ${{ inputs.CMAKE_Swift_FLAGS }}" `
3160
3175
-D CMAKE_Swift_FLAGS_RELEASE="-O" `
3176
+ ${{ matrix.cmake_linker_flags }} `
3161
3177
-D CMAKE_SYSTEM_NAME=Windows `
3162
3178
-D CMAKE_SYSTEM_PROCESSOR=${{ matrix.cpu }} `
3163
3179
-G Ninja `
0 commit comments