Skip to content

Commit

Permalink
Pin sysroot to 2.17 to ensure cpp builds are linking against correct …
Browse files Browse the repository at this point in the history
…libc (#32)

Pin sysroot to glibc 2.17+
  • Loading branch information
Wumpf authored Oct 17, 2024
1 parent 71d034f commit 3b31201
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 32 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: prefix-dev/setup-pixi@v0.3.0
- uses: prefix-dev/setup-pixi@v0.8.1
with:
pixi-version: v0.25.0
pixi-version: v0.26.1
cache: true

- name: run build task on all environments
Expand Down
57 changes: 27 additions & 30 deletions pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@ opencv = "4.8.1.*"
# TODO(jleibs): In the future we'll want to use a rerun-cli package that only contains the CLI.
rerun-sdk = "0.18.2"

[target.linux-64.dependencies]
sysroot_linux-64 = ">=2.17,<3" # rustc 1.64+ requires glibc 2.17+, see https://blog.rust-lang.org/2022/08/01/Increasing-glibc-kernel-requirements.html

[target.linux-aarch64.dependencies]
sysroot_linux-aarch64 = ">=2.17,<3" # rustc 1.64+ requires glibc 2.17+, see https://blog.rust-lang.org/2022/08/01/Increasing-glibc-kernel-requirements.html

[target.unix.dependencies]
# Build tools:
cxx-compiler = "1.6.0.*"
Expand Down

0 comments on commit 3b31201

Please sign in to comment.