Skip to content

Commit

Permalink
Revert "Tweak DuckDB download logic"
Browse files Browse the repository at this point in the history
This reverts commit 21940c3.
  • Loading branch information
Giorgi committed Sep 9, 2024
1 parent 93bfa51 commit 67dc268
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions DuckDB.NET.Bindings/Bindings.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ Updated to DuckDB v1.1.0

<!-- Download and include the native libraries into the nuget package-->
<Target Name="DownloadNativeLibs" BeforeTargets="GenerateAdditionalSources" Condition="'$(BuildType)' == 'Full' ">
<MSBuild Condition="$([MSBuild]::IsOSPlatform('Windows'))" Projects="DownloadNativeLibs.targets" Properties="Rid=win-x64;LibUrl=$(DuckDbArtifactRoot)/libduckdb-windows-amd64.zip" />
<MSBuild Condition="$([MSBuild]::IsOSPlatform('Linux'))" Projects="DownloadNativeLibs.targets" Properties="Rid=linux-x64;LibUrl=$(DuckDbArtifactRoot)/libduckdb-linux-amd64.zip" />
<MSBuild Condition="'$(SkipLinuxArm)' == '' And $([MSBuild]::IsOSPlatform('Linux'))" Projects="DownloadNativeLibs.targets" Properties="Rid=linux-arm64;LibUrl=$(DuckDbArtifactRoot)/libduckdb-linux-aarch64.zip" />
<MSBuild Condition="$([MSBuild]::IsOSPlatform('OSX'))" Projects="DownloadNativeLibs.targets" Properties="Rid=osx;LibUrl=$(DuckDbArtifactRoot)/libduckdb-osx-universal.zip" />
<MSBuild Projects="DownloadNativeLibs.targets" Properties="Rid=win-x64;LibUrl=$(DuckDbArtifactRoot)/libduckdb-windows-amd64.zip" />
<MSBuild Projects="DownloadNativeLibs.targets" Properties="Rid=linux-x64;LibUrl=$(DuckDbArtifactRoot)/libduckdb-linux-amd64.zip" />
<MSBuild Condition=" '$(SkipLinuxArm)' == '' " Projects="DownloadNativeLibs.targets" Properties="Rid=linux-arm64;LibUrl=$(DuckDbArtifactRoot)/libduckdb-linux-aarch64.zip" />
<MSBuild Projects="DownloadNativeLibs.targets" Properties="Rid=osx;LibUrl=$(DuckDbArtifactRoot)/libduckdb-osx-universal.zip" />
</Target>
<Target Name="CleanNativeLibs" BeforeTargets="Clean" Condition="'$(BuildType)' == 'Full' ">
<RemoveDir Directories="obj\runtimes" />
Expand Down

0 comments on commit 67dc268

Please sign in to comment.