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

Supporting Spack package manager #3873

Open
crtrott opened this issue Feb 12, 2024 · 3 comments
Open

Supporting Spack package manager #3873

crtrott opened this issue Feb 12, 2024 · 3 comments
Labels

Comments

@crtrott
Copy link

crtrott commented Feb 12, 2024

A package manager which has found significant adoption over the last few years (in particular in High Performance Computing) is Spack (https://github.com/spack/spack). It supports over 7000 packages and is geared towards resolving complex dependency chains with a focus on building everything from source.

It would be nice if Spack could be recognized by Scorecard as a packaging mechanism, though I am unsure how difficult this would be. Spack recipies are hosted on github though, and for github hosted packages it manages one would usually find an entry in its pacakge.py file similar to this:

git = "https://github.com/kokkos/kokkos.git"

version("master", branch="master")
version("develop", branch="develop")
version("3.7.01", sha256="0481b24893d1bcc808ec68af1d56ef09b82a1138a1226d6be27c3b3c3da65ceb")

I.e. it should be possible to simply search the package files of spack for matching entries to repository name/url, branch name and versions (tags).

Spack and Kokkos for what its worth are slated to be part of the High Performance Software Foundation umbrella in the Linux Foundation.

@tgamblin is the primary maintainer of Spack.

@crtrott crtrott added the kind/enhancement New feature or request label Feb 12, 2024
@spencerschrock
Copy link
Contributor

It supports over 7000 packages and is geared towards resolving complex dependency chains with a focus on building everything from source.

It would be nice if Spack could be recognized by Scorecard as a packaging mechanism, though I am unsure how difficult this would be.

Is there any sort of publishing mechanism? Or are the packages managed via the repo contents (and PRs)?
https://github.com/spack/spack/tree/develop/var/spack/repos/builtin/packages

@tgamblin
Copy link

There's a builtin repo in the main Spack repository (which has the ~7500 packages). That's managed via PR ala Homebrew or nixpkgs.

Users also frequently have their own private/external package repositories layered on top of the builtin packages.

Copy link

This issue has been marked stale because it has been open for 60 days with no activity.

@github-actions github-actions bot added the Stale label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Looked at during triage meetings
Development

No branches or pull requests

3 participants