From 6afec609b0abffeaf6f9748124fba25674e93671 Mon Sep 17 00:00:00 2001 From: Username404 Date: Fri, 10 Jun 2022 23:43:30 +0200 Subject: [PATCH] Jenkinsfile: Use glibc when compiling for riscv64 since the riscv64 cross-compiler doesn't seem to work Signed-off-by: Username404 --- Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 112ce77..a23a1f5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,7 +21,8 @@ final String windowsSuffix = '-windows' - Sidebar Link - Workspace Cleanup Required Compilers: - - Musl cross-compiling toolchains (archives ending in "-cross" from https://musl.cc/#binaries) for x86_64, i686, armel, armhf, aarch64 and riscv64, unzipped into /usr/, along with soft links from /usr/bin/ to the binaries + - G++ cross-compiler for riscv64 + - Musl cross-compiling toolchains (archives ending in "-cross" from https://musl.cc/#binaries) for x86_64, i686, armel, armhf and aarch64, unzipped into /usr/, along with soft links from /usr/bin/ to the binaries - Emscripten Clang (https://github.com/emscripten-core/emsdk) in /usr/share/ - MinGW32 G++/Clang (https://github.com/mstorsjo/llvm-mingw) for x86_64, i686, armhf and aarch64, (unzip the content of the folder in the tar.xz file) in /usr/, along with soft links from /usr/bin/ to the binaries */ @@ -57,7 +58,7 @@ pipeline { buildTarget('armel-linux-musleabi', 'armv4l', 'armel') buildTarget('armv7l-linux-musleabihf', 'armv7hl', 'armhf') buildTarget('aarch64-linux-musl', 'aarch64', 'arm64', false) - buildTarget('riscv64-linux-musl', 'riscv64', 'riscv64') + buildTarget('riscv64-linux-gnu', 'riscv64', 'riscv64') } } }