Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AUR package reference and instructions #1637

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

sankalpgambhir
Copy link
Member

@sankalpgambhir sankalpgambhir commented Jan 22, 2025

Adds the following section to the README, describing the AUR package, copied to be rendered here:

==========================================================

Arch User Repository

A package for Stainless is available on the Arch User Repository (AUR) for ArchLinux as stainless-git, which follows the latest commit on the main branch. You can use your favorite AUR helper (we've tried yay, see AUR Helpers), or follow the detailed instructions as on the ArchWiki to install the package.

For quick reference, with yay (or other AUR helpers accordingly):

yay -S stainless-git

and manually:

git clone https://aur.archlinux.org/stainless-git.git
cd stainless-git
makepkg -si

The option -s acquires dependencies (java, git, sbt) using pacman, -i installs Stainless system-wide. Omit -i to avoid installing system-wide, and only perform a local build in the directory.

The solver packages z3, cvc4, and cvc5AUR can be added as optional dependencies, and having at least one is recommended for general use.

Issues with the package build should ideally be reported on the AUR package page itself.

==========================================================

@sankalpgambhir
Copy link
Member Author

(CI did not fail, was cancelled because it was a waste, having added another commit)

@sankalpgambhir
Copy link
Member Author

sankalpgambhir commented Jan 22, 2025

Should the line about "having at least one [solver] is recommended" be excluded? Native Z3 should be available anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant