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: 8 additions & 0 deletions bld/cb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ IList<string> libs
compiler = "riscv64-linux-gnu-gcc";
break;

case "loongarch64":
compiler = "loongarch64-unknown-linux-gnu-gcc";
break;

case "musl-x64":
compiler = "musl-gcc";
tw.Write(" -m64\n");
Expand Down Expand Up @@ -1406,6 +1410,7 @@ static void write_e_sqlite3(
new linux_target("s390x"),
new linux_target("ppc64le"),
new linux_target("riscv64"),
new linux_target("loongarch64"),
};

write_linux_multi(
Expand Down Expand Up @@ -1691,6 +1696,7 @@ static void write_e_sqlite3mc()
new linux_target("s390x"),
new linux_target("ppc64le"),
new linux_target("riscv64"),
new linux_target("loongarch64"),
};

write_linux_multi(
Expand Down Expand Up @@ -2498,6 +2504,7 @@ static void write_e_sqlcipher()
new linux_target("s390x"),
new linux_target("ppc64le"),
new linux_target("riscv64"),
new linux_target("loongarch64"),
};

write_linux_multi(
Expand Down Expand Up @@ -2842,6 +2849,7 @@ static void write_sqlite3mc()
new linux_target("s390x"),
new linux_target("ppc64le"),
new linux_target("riscv64"),
new linux_target("loongarch64"),
};

write_linux_multi(
Expand Down
2 changes: 2 additions & 0 deletions bld/setup_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ wget https://musl.cc/s390x-linux-musl-cross.tgz
tar --strip-components=1 -zxf s390x-linux-musl-cross.tgz
wget https://musl.cc/riscv64-linux-musl-cross.tgz
tar --strip-components=1 -zxf riscv64-linux-musl-cross.tgz
wget https://github.com/loongson/build-tools/releases/download/2024.11.01/x86_64-cross-tools-loongarch64-binutils_2.43.1-gcc_14.2.0-glibc_2.40.tar.xz
tar --strip-components=1 -xf x86_64-cross-tools-loongarch64-binutils_2.43.1-gcc_14.2.0-glibc_2.40.tar.xz
cd ..