Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for riscv64 #609

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
13 changes: 8 additions & 5 deletions gen_lib_nuspecs/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -411,15 +411,16 @@ XmlWriter f
write_nuspec_file_entry_native_linux(lib, "armhf", "linux-arm", f);
write_nuspec_file_entry_native_linux(lib, "armsf", "linux-armel", f);
write_nuspec_file_entry_native_linux(lib, "arm64", "linux-arm64", f);
write_nuspec_file_entry_native_linux(lib, "s390x", "linux-s390x", f);
write_nuspec_file_entry_native_linux(lib, "riscv64", "linux-riscv64", f);
write_nuspec_file_entry_native_linux(lib, "mips64", "linux-mips64", f);
write_nuspec_file_entry_native_linux(lib, "ppc64le", "linux-ppc64le", f);

write_nuspec_file_entry_native_linux(lib, "musl-x64", "linux-musl-x64", f);
write_nuspec_file_entry_native_linux(lib, "musl-armhf", "linux-musl-arm", f);
write_nuspec_file_entry_native_linux(lib, "musl-arm64", "linux-musl-arm64", f);
write_nuspec_file_entry_native_linux(lib, "musl-s390x", "linux-musl-s390x", f);

write_nuspec_file_entry_native_linux(lib, "mips64", "linux-mips64", f);
write_nuspec_file_entry_native_linux(lib, "s390x", "linux-s390x", f);
write_nuspec_file_entry_native_linux(lib, "ppc64le", "linux-ppc64le", f);
write_nuspec_file_entry_native_linux(lib, "musl-riscv64", "linux-musl-riscv64", f);

write_nuspec_file_entry_native_wasm(lib, TFM.NET60, f);
write_nuspec_file_entry_native_wasm(lib, TFM.NET70, f);
Expand Down Expand Up @@ -757,7 +758,8 @@ private static void gen_nuget_props(string dest, WhichLib lib)
write_nuget_prop_item("linux-x64", lib, f);
write_nuget_prop_item("linux-mips64", lib, f);
write_nuget_prop_item("linux-s390x", lib, f);
write_nuget_prop_item("linux-ppc64le", lib, f);
write_nuget_prop_item("linux-ppc64le", lib, f);
write_nuget_prop_item("linux-riscv64", lib, f);
f.WriteEndElement(); // PropertyGroup

f.WriteEndElement(); // Project
Expand Down Expand Up @@ -806,6 +808,7 @@ private static void gen_nuget_targets(string dest, WhichLib lib)
write_nuget_target_item("linux-x64", lib, f);
write_nuget_target_item("linux-mips64", lib, f);
write_nuget_target_item("linux-s390x", lib, f);
write_nuget_target_item("linux-riscv64", lib, f);
f.WriteEndElement(); // ItemGroup

f.WriteEndElement(); // Project
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@
<file src="$cb_bin_path$\e_sqlcipher\linux\musl-x64\libe_sqlcipher.so" target="runtimes\linux-musl-x64\native\libe_sqlcipher.so" />
<file src="$cb_bin_path$\e_sqlcipher\linux\musl-armhf\libe_sqlcipher.so" target="runtimes\linux-musl-arm\native\libe_sqlcipher.so" />
<file src="$cb_bin_path$\e_sqlcipher\linux\musl-arm64\libe_sqlcipher.so" target="runtimes\linux-musl-arm64\native\libe_sqlcipher.so" />
<file src="$cb_bin_path$\e_sqlcipher\linux\musl-s390x\libe_sqlcipher.so" target="runtimes\linux-musl-s390x\native\libe_sqlcipher.so" />
<file src="$cb_bin_path$\e_sqlcipher\linux\musl-riscv64\libe_sqlcipher.so" target="runtimes\linux-musl-riscv64\native\libe_sqlcipher.so" />
<file src="$cb_bin_path$\e_sqlcipher\linux\mips64\libe_sqlcipher.so" target="runtimes\linux-mips64\native\libe_sqlcipher.so" />
<file src="$cb_bin_path$\e_sqlcipher\linux\s390x\libe_sqlcipher.so" target="runtimes\linux-s390x\native\libe_sqlcipher.so" />
<file src="$cb_bin_path$\e_sqlcipher\linux\ppc64le\libe_sqlcipher.so" target="runtimes\linux-ppc64le\native\libe_sqlcipher.so" />
<file src="$cb_bin_path$\e_sqlcipher\linux\riscv64\libe_sqlcipher.so" target="runtimes\linux-riscv64\native\libe_sqlcipher.so" />
<file src="$cb_bin_path$\e_sqlcipher\wasm\net6.0\e_sqlcipher.a" target="runtimes\browser-wasm\nativeassets\net6.0\e_sqlcipher.a" />
<file src="$cb_bin_path$\e_sqlcipher\wasm\net7.0\e_sqlcipher.a" target="runtimes\browser-wasm\nativeassets\net7.0\e_sqlcipher.a" />
<file src="$cb_bin_path$\e_sqlcipher\wasm\net8.0\e_sqlcipher.a" target="runtimes\browser-wasm\nativeassets\net8.0\e_sqlcipher.a" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,10 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Pack>false</Pack>
</Content>
<Content Include="$(MSBuildThisFileDirectory)..\..\runtimes\linux-riscv64\native\libe_sqlcipher.so">
<Link>runtimes\linux-riscv64\native\libe_sqlcipher.so</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Pack>false</Pack>
</Content>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@
<file src="$cb_bin_path$\e_sqlite3\linux\musl-x64\libe_sqlite3.so" target="runtimes\linux-musl-x64\native\libe_sqlite3.so" />
<file src="$cb_bin_path$\e_sqlite3\linux\musl-armhf\libe_sqlite3.so" target="runtimes\linux-musl-arm\native\libe_sqlite3.so" />
<file src="$cb_bin_path$\e_sqlite3\linux\musl-arm64\libe_sqlite3.so" target="runtimes\linux-musl-arm64\native\libe_sqlite3.so" />
<file src="$cb_bin_path$\e_sqlite3\linux\musl-s390x\libe_sqlite3.so" target="runtimes\linux-musl-s390x\native\libe_sqlite3.so" />
<file src="$cb_bin_path$\e_sqlite3\linux\musl-riscv64\libe_sqlite3.so" target="runtimes\linux-musl-riscv64\native\libe_sqlite3.so" />
<file src="$cb_bin_path$\e_sqlite3\linux\mips64\libe_sqlite3.so" target="runtimes\linux-mips64\native\libe_sqlite3.so" />
<file src="$cb_bin_path$\e_sqlite3\linux\s390x\libe_sqlite3.so" target="runtimes\linux-s390x\native\libe_sqlite3.so" />
<file src="$cb_bin_path$\e_sqlite3\linux\riscv64\libe_sqlite3.so" target="runtimes\linux-riscv64\native\libe_sqlite3.so" />
<file src="$cb_bin_path$\e_sqlite3\linux\ppc64le\libe_sqlite3.so" target="runtimes\linux-ppc64le\native\libe_sqlite3.so" />
<file src="$cb_bin_path$\e_sqlite3\wasm\net6.0\e_sqlite3.a" target="runtimes\browser-wasm\nativeassets\net6.0\e_sqlite3.a" />
<file src="$cb_bin_path$\e_sqlite3\wasm\net7.0\e_sqlite3.a" target="runtimes\browser-wasm\nativeassets\net7.0\e_sqlite3.a" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,10 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Pack>false</Pack>
</Content>
<Content Include="$(MSBuildThisFileDirectory)..\..\runtimes\linux-riscv64\native\libe_sqlite3.so">
<Link>runtimes\linux-riscv64\native\libe_sqlite3.so</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Pack>false</Pack>
</Content>
</ItemGroup>
</Project>
Loading