build: manage system deps with pixi
CI / test (push) Failing after 28s

Add seatd (libseat headers and library) to the pixi workspace, so the
host-wasm build no longer needs a system libseat. Set channel priority
to disabled so the solver can resolve seatd's libsystemd0 dependency.

Activation env points CPATH, LIBRARY_PATH and LD_LIBRARY_PATH at the
pixi prefix. The justfile runs every recipe through `pixi run`, so a
plain `just run` builds and launches against the pixi environment.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
nandiandClaude Haiku 5.5 committed 2026-11-25 10:18:25 -08:00
1 parent c78afbd29e
commit ab01688778
3 files changed
+103 -28

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
# chandra tasks. `just` lists them.
set shell := ["bash", "-euo", "pipefail", "-c"]
set shell := ["pixi", "run", "bash", "-euo", "pipefail", "-c"]
export PATH := env_var('HOME') + "/.moon/bin:" + env_var('PATH')
+95 -27
View File
@@ -2,7 +2,7 @@ version: 7
platforms:
- name: linux-64
virtual-packages:
- __unix=0=0
- __unix=0
- __linux=4.18
- __glibc=2.28
- __archspec=0=x86_64
@@ -11,24 +11,109 @@ environments:
channels:
- url: https://prefix.dev/scns/
- url: https://conda.anaconda.org/conda-forge/
options:
channel-priority: disabled
packages:
linux-64:
- conda: https://conda.anaconda.org/conda-forge/linux-64/just-0.10.4-habb4d0f_0.tar.bz2
- conda: https://conda.anaconda.org/conda-forge/linux-64/just-1.59.0-hf19af3b_0.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libcap-2.78-h084b8d7_1.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgcc-16.2.0-ha9f2e26_7.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgcc-ng-16.2.0-h69a702a_7.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgomp-16.2.0-he0feb66_7.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libsystemd0-262.2-h26e0ef7_1.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/seatd-0.9.3-ha46d153_0.conda
- conda: https://prefix.dev/scns/linux-64/_libgcc_mutex-0.1-scns_forge.tar.bz2
- conda: https://prefix.dev/scns/linux-64/_openmp_mutex-4.5-2_gnu.tar.bz2
- conda: https://prefix.dev/scns/linux-64/libgcc-ng-11.2.0-h5593d30_1000.tar.bz2
- conda: https://prefix.dev/scns/linux-64/libgomp-11.2.0-h5593d30_1000.tar.bz2
- conda: https://prefix.dev/scns/linux-64/tinycc-0.9.27-pl5321h57f0786_0.conda
packages:
- conda: https://conda.anaconda.org/conda-forge/linux-64/just-0.10.4-habb4d0f_0.tar.bz2
sha256: 2da7d79edbe5aac86b731c8b5bea9760bd334a87a2d8117959de7a7a46b5d1fc
md5: b3f069cfa06ea8ffa874d49621ad5b6d
- conda: https://conda.anaconda.org/conda-forge/linux-64/just-1.59.0-hf19af3b_0.conda
sha256: bd0d0be0073c0f3158bbe436a82fcab61faac2e5355501ed107725484a58bf77
md5: cfac9e4efbe6d0050da7c18190e13b2a
depends:
- libgcc-ng >=9.4.0
- libgcc >=15
- __glibc >=2.17,<3.0.a0
constrains:
- __glibc >=2.17
license: CC0-1.0
run_exports: {}
size: 1078485
timestamp: 1638124980753
size: 2025606
timestamp: 1792056974524
- conda: https://conda.anaconda.org/conda-forge/linux-64/libcap-2.78-h084b8d7_1.conda
sha256: 8cb25174d6b6fac95d31e86cfe41faffc8ee9dacbf2bfd22e6c23377e8f338c1
md5: 5db514adf5f843126ff846d1510f22a4
depends:
- __glibc >=2.17,<3.0.a0
- libgcc >=14
license: BSD-3-Clause
license_family: BSD
run_exports:
weak:
- libcap >=2.78,<2.79.0a0
size: 124306
timestamp: 1786025967663
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgcc-16.2.0-ha9f2e26_7.conda
sha256: e031634c3a928f9594eba868bc46ef5230d6571a364a0c63215b06c4563bfcea
md5: 735629b400b70eeab21a2ba8f5b1c2ce
depends:
- __glibc >=2.17,<3.0.a0
- _openmp_mutex >=4.5
constrains:
- libgcc-ng ==16.2.0=*_7
- libgomp 16.2.0 he0feb66_7
license: GPL-3.0-only WITH GCC-exception-3.1
license_family: GPL
run_exports: {}
size: 1058444
timestamp: 1790303109576
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgcc-ng-16.2.0-h69a702a_7.conda
sha256: 03b54d7008de080a17cc2174b0e4acd6d06e1c981b2eb19846f46d8f59966034
md5: 2005515ac9340f816fb2ac7e83afe553
depends:
- libgcc 16.2.0 ha9f2e26_7
license: GPL-3.0-only WITH GCC-exception-3.1
license_family: GPL
run_exports:
strong:
- libgcc
size: 28616
timestamp: 1790303114248
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgomp-16.2.0-he0feb66_7.conda
sha256: 92a0bb350c7be6a4eedcb4e111c60aefd176018e6b1c009a6e025dbe9bbcd758
md5: d904c7ddd95e026254b4b80808ee9e12
depends:
- __glibc >=2.17,<3.0.a0
license: GPL-3.0-only WITH GCC-exception-3.1
license_family: GPL
run_exports:
strong:
- _openmp_mutex >=4.5
size: 640566
timestamp: 1790303046034
- conda: https://conda.anaconda.org/conda-forge/linux-64/libsystemd0-262.2-h26e0ef7_1.conda
sha256: b62af7297d5d72da2dcda4a91f2c68a08ecf1920772d37e15a4aa2f2ed7d1582
md5: dc303b0847a37a75cf22df0682f97d48
depends:
- __glibc >=2.17,<3.0.a0
- libcap >=2.78,<2.79.0a0
- libgcc >=15
license: LGPL-2.1-or-later
run_exports: {}
size: 575095
timestamp: 1794400817602
- conda: https://conda.anaconda.org/conda-forge/linux-64/seatd-0.9.3-ha46d153_0.conda
sha256: 40c711481309cccbd89c7071251de4ab8b89e41d101e21b4e977659df65c7f48
md5: 8212f1aa82f5bd6200c55ae2f145306c
depends:
- libgcc >=14
- __glibc >=2.17,<3.0.a0
- libsystemd0 >=257.13
license: MIT
license_family: MIT
run_exports:
weak:
- seatd >=0.9.3,<0.10.0a0
size: 47538
timestamp: 1786237602149
- conda: https://prefix.dev/scns/linux-64/_libgcc_mutex-0.1-scns_forge.tar.bz2
sha256: 15caf304cf0d222cdc9c6f8145e3cb5e00106363d041805ff0777c1811baf28a
license: None
@@ -46,23 +131,6 @@ packages:
license: BSD-3-Clause
size: 6060792
timestamp: 1710847729439
- conda: https://prefix.dev/scns/linux-64/libgcc-ng-11.2.0-h5593d30_1000.tar.bz2
sha256: 73093301e58054319b0416c947fd31541ae9c3c474d3b0561c9b843a4eccbcb0
depends:
- _libgcc_mutex 0.1 scns_forge
- _openmp_mutex >=4.5
constrains:
- libgomp 11.2.0 h5593d30_1000
license: GPL-3.0-only WITH GCC-exception-3.1
size: 6957156
timestamp: 1710847747666
- conda: https://prefix.dev/scns/linux-64/libgomp-11.2.0-h5593d30_1000.tar.bz2
sha256: 7d874391201845c730d4f37cc8bf5c478c302d9beec73cfacc4896f919593acc
depends:
- _libgcc_mutex 0.1 scns_forge
license: GPL-3.0-only WITH GCC-exception-3.1
size: 6488970
timestamp: 1710847698293
- conda: https://prefix.dev/scns/linux-64/tinycc-0.9.27-pl5321h57f0786_0.conda
sha256: 41ed2a42c53e369870e24691b4515a0067ab4f9986928327b1cd17a71af38774
md5: c5c9a3716649df5e1b52a6cb438b2d84
+7
View File
@@ -2,7 +2,14 @@
name = "chandra"
channels = ["https://prefix.dev/scns", "conda-forge"]
platforms = ["linux-64"]
channel-priority = "disabled"
[dependencies]
just = "*"
tinycc = "*"
seatd = ">=0.9.3,<0.10"
[activation.env]
CPATH = "$CONDA_PREFIX/include"
LIBRARY_PATH = "$CONDA_PREFIX/lib"
LD_LIBRARY_PATH = "$CONDA_PREFIX/lib"