Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions MKL.NET/MKL.NET.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IncludeBuildOutput>false</IncludeBuildOutput>
<NoWarn>NU5128;NU5131;IDE1006;NU5131;CS1591</NoWarn>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<RuntimeIdentifier Condition="$(ISREF)!='true'">win-x64</RuntimeIdentifier>
<DefineConstants Condition="$(RuntimeIdentifier)=='linux-x64'">$(DefineConstants);LINUX</DefineConstants>
<DefineConstants Condition="$(RuntimeIdentifier)=='osx-x64'">$(DefineConstants);OSX</DefineConstants>
<ProduceOnlyReferenceAssembly Condition="$(RuntimeIdentifier)=='osx-x86'">true</ProduceOnlyReferenceAssembly>
<GenerateDocumentationFile Condition="$(RuntimeIdentifier)!='osx-x86'">true</GenerateDocumentationFile>
<ProduceOnlyReferenceAssembly Condition="$(ISREF)=='true'">true</ProduceOnlyReferenceAssembly>
<GenerateDocumentationFile Condition="$(ISREF)!='true'">true</GenerateDocumentationFile>
<SignAssembly>true</SignAssembly>
<DelaySign>false</DelaySign>
<AssemblyOriginatorKeyFile>../SigningKey.snk</AssemblyOriginatorKeyFile>
Expand All @@ -28,7 +28,7 @@ Enable 2d FFT. Thanks minghao-guo.
<ItemGroup>
<None Include="../matrix.png" Pack="true" PackagePath="" Visible="False" />
<None Include="../README.md" Pack="true" PackagePath="" Visible="False" />
<None Include="bin/Release/netstandard2.0/osx-x86/MKL.NET.dll" Pack="true" PackagePath="ref/netstandard2.0" />
<None Include="bin/Release/netstandard2.0/MKL.NET.dll" Pack="true" PackagePath="ref/netstandard2.0" />
<None Include="bin/Release/netstandard2.0/win-x64/MKL.NET.xml" Pack="true" PackagePath="ref/netstandard2.0" />
<None Include="bin/Release/netstandard2.0/win-x64/MKL.NET.dll" Pack="true" PackagePath="runtimes/win-x64/lib/netstandard2.0" />
<None Include="bin/Release/netstandard2.0/linux-x64/MKL.NET.dll" Pack="true" PackagePath="runtimes/linux-x64/lib/netstandard2.0" />
Expand Down
2 changes: 1 addition & 1 deletion Scripts/Package-MKL.NET.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dotnet build MKL.NET -c Release -r win-x64
dotnet build MKL.NET -c Release -r linux-x64
dotnet build MKL.NET -c Release -r osx-x64
dotnet build MKL.NET -c Release -r osx-x86 # The ref assembly
dotnet build MKL.NET -c Release -p:ISREF=true # The ref assembly
dotnet pack MKL.NET -c Release -o packages -p:NOCONT=true
dotnet pack MKL.NET.Matrix -c Release -o packages -p:NORID=true
dotnet pack MKL.NET.Optimization -c Release -o packages -p:NORID=true
Expand Down
Loading