|
31 | 31 | Targets="DownloadNativeBinary" /> |
32 | 32 | </Target> |
33 | 33 |
|
34 | | - <Target Name="DownloadNativeBinaries_UbuntuX64" BeforeTargets="BeforeBuild" Condition="!Exists('$(MSBuildProjectDirectory)/runtimes/linux/native/x64/libmongocrypt.so')"> |
| 34 | + <Target Name="DownloadNativeBinaries_UbuntuX64" BeforeTargets="BeforeBuild" Condition="!Exists('$(MSBuildProjectDirectory)/runtimes/linux-x64/native/libmongocrypt.so')"> |
35 | 35 | <PropertyGroup> |
36 | 36 | <LibMongoCryptSourceUrl>https://mciuploads.s3.amazonaws.com/libmongocrypt-release/ubuntu1804-64/$(LibMongoCryptVersion)/$(LibMongoCryptCommit)/libmongocrypt.tar.gz</LibMongoCryptSourceUrl> |
37 | 37 | <LibMongoCryptSourcePath>nocrypto/lib/libmongocrypt.so</LibMongoCryptSourcePath> |
38 | | - <LibMongoCryptPackagePath>runtimes/linux/native/x64</LibMongoCryptPackagePath> |
| 38 | + <LibMongoCryptPackagePath>runtimes/linux-x64/native/</LibMongoCryptPackagePath> |
39 | 39 | </PropertyGroup> |
40 | 40 |
|
41 | 41 | <MSBuild Projects ="$(MSBuildProjectFullPath)" |
42 | 42 | Properties="TargetFramework=once;LibMongoCryptSourceUrl=$(LibMongoCryptSourceUrl);LibMongoCryptSourcePath=$(LibMongoCryptSourcePath);LibMongoCryptPackagePath=$(LibMongoCryptPackagePath)" |
43 | 43 | Targets="DownloadNativeBinary" /> |
44 | 44 | </Target> |
45 | 45 |
|
46 | | - <Target Name="DownloadNativeBinaries_UbuntuARM64" BeforeTargets="BeforeBuild" Condition="!Exists('$(MSBuildProjectDirectory)/runtimes/linux/native/arm64/libmongocrypt.so')"> |
| 46 | + <Target Name="DownloadNativeBinaries_UbuntuARM64" BeforeTargets="BeforeBuild" Condition="!Exists('$(MSBuildProjectDirectory)/runtimes/linux-arm64/native/libmongocrypt.so')"> |
47 | 47 | <PropertyGroup> |
48 | 48 | <LibMongoCryptSourceUrl>https://mciuploads.s3.amazonaws.com/libmongocrypt-release/ubuntu1804-arm64/$(LibMongoCryptVersion)/$(LibMongoCryptCommit)/libmongocrypt.tar.gz</LibMongoCryptSourceUrl> |
49 | 49 | <LibMongoCryptSourcePath>nocrypto/lib/libmongocrypt.so</LibMongoCryptSourcePath> |
50 | | - <LibMongoCryptPackagePath>runtimes/linux/native/arm64</LibMongoCryptPackagePath> |
| 50 | + <LibMongoCryptPackagePath>runtimes/linux-arm64/native/</LibMongoCryptPackagePath> |
51 | 51 | </PropertyGroup> |
52 | 52 |
|
53 | 53 | <MSBuild Projects ="$(MSBuildProjectFullPath)" |
54 | 54 | Properties="TargetFramework=once;LibMongoCryptSourceUrl=$(LibMongoCryptSourceUrl);LibMongoCryptSourcePath=$(LibMongoCryptSourcePath);LibMongoCryptPackagePath=$(LibMongoCryptPackagePath)" |
55 | 55 | Targets="DownloadNativeBinary" /> |
56 | 56 | </Target> |
57 | 57 |
|
58 | | - <Target Name="DownloadNativeBinaries_Alpine" BeforeTargets="BeforeBuild" Condition="!Exists('$(MSBuildProjectDirectory)/runtimes/linux/native/alpine/libmongocrypt.so')"> |
| 58 | + |
| 59 | + <Target Name="DownloadNativeBinaries_AlpineAMD64" BeforeTargets="BeforeBuild" Condition="!Exists('$(MSBuildProjectDirectory)/runtimes/linux-musl-x64/native/libmongocrypt.so')"> |
| 60 | + <PropertyGroup> |
| 61 | + <LibMongoCryptSourceUrl>https://mciuploads.s3.amazonaws.com/libmongocrypt-release/alpine-amd64-earthly/$(LibMongoCryptVersion)/$(LibMongoCryptCommit)/libmongocrypt.tar.gz</LibMongoCryptSourceUrl> |
| 62 | + <LibMongoCryptSourcePath>nocrypto/lib/libmongocrypt.so</LibMongoCryptSourcePath> |
| 63 | + <LibMongoCryptPackagePath>runtimes/linux-musl-x64/native/</LibMongoCryptPackagePath> |
| 64 | + </PropertyGroup> |
| 65 | + |
| 66 | + <MSBuild Projects ="$(MSBuildProjectFullPath)" |
| 67 | + Properties="TargetFramework=once;LibMongoCryptSourceUrl=$(LibMongoCryptSourceUrl);LibMongoCryptSourcePath=$(LibMongoCryptSourcePath);LibMongoCryptPackagePath=$(LibMongoCryptPackagePath)" |
| 68 | + Targets="DownloadNativeBinary" /> |
| 69 | + </Target> |
| 70 | + |
| 71 | + <Target Name="DownloadNativeBinaries_AlpineARM64" BeforeTargets="BeforeBuild" Condition="!Exists('$(MSBuildProjectDirectory)/runtimes/linux-musl-arm64/native/libmongocrypt.so')"> |
59 | 72 | <PropertyGroup> |
60 | 73 | <LibMongoCryptSourceUrl>https://mciuploads.s3.amazonaws.com/libmongocrypt-release/alpine-arm64-earthly/$(LibMongoCryptVersion)/$(LibMongoCryptCommit)/libmongocrypt.tar.gz</LibMongoCryptSourceUrl> |
61 | 74 | <LibMongoCryptSourcePath>nocrypto/lib/libmongocrypt.so</LibMongoCryptSourcePath> |
62 | | - <LibMongoCryptPackagePath>runtimes/linux/native/alpine</LibMongoCryptPackagePath> |
| 75 | + <LibMongoCryptPackagePath>runtimes/linux-musl-arm64/native/</LibMongoCryptPackagePath> |
63 | 76 | </PropertyGroup> |
64 | 77 |
|
65 | 78 | <MSBuild Projects ="$(MSBuildProjectFullPath)" |
66 | 79 | Properties="TargetFramework=once;LibMongoCryptSourceUrl=$(LibMongoCryptSourceUrl);LibMongoCryptSourcePath=$(LibMongoCryptSourcePath);LibMongoCryptPackagePath=$(LibMongoCryptPackagePath)" |
67 | 80 | Targets="DownloadNativeBinary" /> |
68 | 81 | </Target> |
69 | 82 |
|
70 | | - <Target Name="DownloadNativeBinaries_Windows" BeforeTargets="BeforeBuild" Condition="!Exists('$(MSBuildProjectDirectory)/runtimes/win/native/mongocrypt.dll')"> |
| 83 | + <Target Name="DownloadNativeBinaries_WindowsX64" BeforeTargets="BeforeBuild" Condition="!Exists('$(MSBuildProjectDirectory)/runtimes/win-x64/native/mongocrypt.dll')"> |
71 | 84 | <PropertyGroup> |
72 | 85 | <LibMongoCryptSourceUrl>https://mciuploads.s3.amazonaws.com/libmongocrypt-release/windows-test/$(LibMongoCryptVersion)/$(LibMongoCryptCommit)/libmongocrypt.tar.gz</LibMongoCryptSourceUrl> |
73 | 86 | <LibMongoCryptSourcePath>bin/mongocrypt.dll</LibMongoCryptSourcePath> |
74 | | - <LibMongoCryptPackagePath>runtimes/win/native</LibMongoCryptPackagePath> |
| 87 | + <LibMongoCryptPackagePath>runtimes/win-x64/native</LibMongoCryptPackagePath> |
75 | 88 | </PropertyGroup> |
76 | 89 |
|
77 | 90 | <MSBuild Projects ="$(MSBuildProjectFullPath)" |
|
91 | 104 |
|
92 | 105 | <ItemGroup> |
93 | 106 | <Content Include="$(MSBuildProjectDirectory)/runtimes/osx/native/libmongocrypt.dylib"> |
94 | | - <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
| 107 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
95 | 108 | <Pack>true</Pack> |
96 | 109 | <PackagePath>runtimes\osx\native</PackagePath> |
97 | 110 | </Content> |
98 | 111 |
|
99 | | - <Content Include="$(MSBuildProjectDirectory)/runtimes/linux/native/x64/libmongocrypt.so"> |
100 | | - <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
| 112 | + <Content Include="$(MSBuildProjectDirectory)/runtimes/linux-x64/native/libmongocrypt.so"> |
| 113 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 114 | + <Pack>true</Pack> |
| 115 | + <PackagePath>runtimes\linux-x64\native</PackagePath> |
| 116 | + </Content> |
| 117 | + |
| 118 | + <Content Include="$(MSBuildProjectDirectory)/runtimes/linux-arm64/native/libmongocrypt.so"> |
| 119 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
101 | 120 | <Pack>true</Pack> |
102 | | - <PackagePath>runtimes\linux\native\x64</PackagePath> |
| 121 | + <PackagePath>runtimes\linux-arm64\native</PackagePath> |
103 | 122 | </Content> |
104 | 123 |
|
105 | | - <Content Include="$(MSBuildProjectDirectory)/runtimes/linux/native/arm64/libmongocrypt.so"> |
106 | | - <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
| 124 | + <Content Include="$(MSBuildProjectDirectory)/runtimes/linux-musl-arm64/native/libmongocrypt.so"> |
| 125 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
107 | 126 | <Pack>true</Pack> |
108 | | - <PackagePath>runtimes\linux\native\arm64</PackagePath> |
| 127 | + <PackagePath>runtimes\linux-musl-arm64\native</PackagePath> |
109 | 128 | </Content> |
110 | 129 |
|
111 | | - <Content Include="$(MSBuildProjectDirectory)/runtimes/linux/native/alpine/libmongocrypt.so"> |
112 | | - <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
| 130 | + <Content Include="$(MSBuildProjectDirectory)/runtimes/linux-musl-x64/native/libmongocrypt.so"> |
| 131 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
113 | 132 | <Pack>true</Pack> |
114 | | - <PackagePath>runtimes\linux\native\alpine</PackagePath> |
| 133 | + <PackagePath>runtimes\linux-musl-x64\native</PackagePath> |
115 | 134 | </Content> |
116 | 135 |
|
117 | | - <Content Include="$(MSBuildProjectDirectory)/runtimes/win/native/mongocrypt.dll"> |
118 | | - <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
| 136 | + <Content Include="$(MSBuildProjectDirectory)/runtimes/win-x64/native/mongocrypt.dll"> |
| 137 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
119 | 138 | <Pack>true</Pack> |
120 | | - <PackagePath>runtimes\win\native</PackagePath> |
| 139 | + <PackagePath>runtimes\win-x64\native</PackagePath> |
121 | 140 | </Content> |
122 | 141 | </ItemGroup> |
123 | 142 |
|
|
0 commit comments