diff options
author | Andrew Gallant <jamslam@gmail.com> | 2021-06-12 13:36:57 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2021-06-12 13:36:57 -0400 |
commit | 5e81c60b35ce1481cdce5aa933b808faa71bc90e (patch) | |
tree | 8fc9a33a95a88c43f11c55c5c1c2687d39f04a9d | |
parent | b3e5ae9d289bdbb5a39c78ef2cdb8e86d0723425 (diff) |
ci: use musl to build debian artifact
Previously, I was trying to be a good citizen and let ripgrep use the
system libc. But it turns out that building ripgrep on Arch with a newer
version of glibc than what is in Ubuntu results in the whole thing
breaking. Arguably, I should build the Debian artifact on an Ubuntu or
Debian machine of an appropriate version, but that's too much work. If
people really want that, then they can install some ancient version of
ripgrep from their Ubuntu/Debian repo.
Since we were already statically linking PCRE2, we go the whole nine
yards and statically link the entire thing.
Fixes #1890
-rwxr-xr-x | ci/build-deb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/build-deb b/ci/build-deb index 31f9b719..18d72b3c 100755 --- a/ci/build-deb +++ b/ci/build-deb @@ -39,4 +39,4 @@ cp complete/_rg "$DEPLOY_DIR/" # Since we're distributing the dpkg, we don't know whether the user will have # PCRE2 installed, so just do a static build. -PCRE2_SYS_STATIC=1 cargo deb +PCRE2_SYS_STATIC=1 cargo deb --target x86_64-unknown-linux-musl |