Skip to content

Commit

Permalink
Try using debian:8 for older glibc
Browse files Browse the repository at this point in the history
Building on debian:10 results in a binary that requires glibc 2.27
which is not available on some LTS server Linuxes like CentOS 7.
This commit attempts to make a compatible jffi.so using debian:8,
which ships with glibc 2.19. This is not as old as 2.17 but may
remove enough dependencies on newer glibc to be sufficient.

See #138
  • Loading branch information
headius committed Mar 8, 2023
1 parent 20c98b3 commit 821cbf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/native-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ jobs:
- name: Restart Docker
run: sudo systemctl restart docker.service
- name: Pull docker image
run: docker pull --platform $(echo ${{ matrix.arch }} | sed 's|-|/|g') debian:10 || true
run: docker pull --platform $(echo ${{ matrix.arch }} | sed 's|-|/|g') debian:8 || true
- name: Build inside Docker
run: docker run --rm -v $GITHUB_WORKSPACE:/work debian:10 /work/.github/build-native-debian.sh
run: docker run --rm -v $GITHUB_WORKSPACE:/work debian:8 /work/.github/build-native-debian.sh
- name: Archive built library
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 821cbf0

Please sign in to comment.