Skip to content

Remove autogen? #184

@tobiasdiez

Description

@tobiasdiez

Instead of auto-generating parts of the pari interface upon building, I would propose to commit the autogenerated files and use them for the build. From time to time, the autogeneration has to be rerun to include newly added functions from pari updates. Similar to how the flint autogen works in sage: https://github.com/sagemath/sage/blob/cb030433d73cb3a25d5a8c79c5e0c3b1f41893b3/src/sage_setup/autogen/flint/README.md?plain=1#L23

This has the advantage to remove the moving parts in the build system and should speed up the build a bit.


Background: I got quite often now the following error during build:

error: [Errno 2] No such file or directory: 'gphelp'
      hint: This usually indicates a problem with the package or the build
      environment.

(eg on gentoo https://github.com/sagemath/sage/actions/runs/17171782258/job/48722349482?pr=40663)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions