Skip to content

Declare run-exports to consolidate downstream consumers' duplicate pixi.toml entries #89

@joshkamm

Description

@joshkamm

Downstream consumers (ZEST, XCtera) currently need to list slatergpu in both [package.host-dependencies] and [dependencies] of their pixi.toml. Switching to a feature branch or local checkout for codevelopment requires editing two places — easy to forget one. This pain applies even when the source is a git-source pull rather than a published conda package, since pixi-build still processes the package metadata.

Goal

Investigate and adopt run-exports so downstream consumers list slatergpu in only one place.

Scope notes

Small ergonomics improvement, not blocking any other work. Safe to defer or close as wontfix if pixi-build doesn't support run-exports cleanly.

Investigation steps

  1. Confirm pixi-build-cmake (currently >=0.3.6,<=0.3.8 per consumer pixi.toml) supports run-exports declaration. Reference: pixi-build docs / repo issues. If unsupported, file an upstream issue with pixi and document the two-place pattern in the meantime.
  2. If supported, declare in SlaterGPU/pixi.toml (likely [package.run-exports] or similar — confirm syntax).
  3. Update at least one downstream pixi.toml (probably XCtera in a follow-up issue C PR) to drop the duplicate listing and verify the build still works.

Legacy workflow impact

Low. Paul's Makefile and manual CMake builds don't go through pixi-build packaging.

Acceptance

  • SlaterGPU declares run-exports correctly (or this issue documents that pixi-build doesn't yet support it and links the upstream issue).
  • A test consumer (XCtera or a scratch project) successfully omits the duplicate slatergpu entry from its pixi.toml.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions