Skip to content

Commit

Permalink
glibc
Browse files Browse the repository at this point in the history
  • Loading branch information
rise0chen committed Dec 31, 2024
1 parent 6f80cea commit a5ae7c8
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/lua.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
- archit: aarch64
target: aarch64-unknown-linux-gnu
runs-on: ubuntu-22.04
container: registry.cn-shanghai.aliyuncs.com/lebai/util:14.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -52,6 +51,12 @@ jobs:
sudo apt-get install -y --no-install-recommends gcc-aarch64-linux-gnu libc6-dev-arm64-cross
- name: Build
run: cargo build --release --features ffi_lua,module,mdns --target ${{matrix.target}}
- name: Patch glibc
uses: lmangani/polyfill-glibc-action@main
id: polyfill
with:
glibc: "2.19"
target: ./target/${{matrix.target}}/release/liblebai_sdk.so
- name: Upload
uses: actions/upload-artifact@v3
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
- archit: aarch64
target: aarch64-unknown-linux-gnu
runs-on: ubuntu-22.04
container: registry.cn-shanghai.aliyuncs.com/lebai/util:14.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -57,6 +56,12 @@ jobs:
manylinux: 2_17
command: build
args: --release --features ffi_py,module,mdns --target ${{matrix.target}} --skip-auditwheel
- name: Patch glibc
uses: lmangani/polyfill-glibc-action@main
id: polyfill
with:
glibc: "2.19"
target: ./target/wheels/*.whl
- name: Upload
uses: actions/upload-artifact@v3
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/python_asyncio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
- archit: aarch64
target: aarch64-unknown-linux-gnu
runs-on: ubuntu-22.04
container: registry.cn-shanghai.aliyuncs.com/lebai/util:14.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -63,6 +62,12 @@ jobs:
manylinux: 2_17
command: build
args: --release --features ffi_py_asyncio,module,mdns --target ${{matrix.target}} --skip-auditwheel
- name: Patch glibc
uses: lmangani/polyfill-glibc-action@main
id: polyfill
with:
glibc: "2.19"
target: ./target/wheels/*.whl
- name: Upload
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit a5ae7c8

Please sign in to comment.