-
Notifications
You must be signed in to change notification settings - Fork 104
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
Easily create a Spack package #79
Comments
I haven't used How can we actually create a package for |
@awvwgk there are multiple ways this can be achieved, I don't know yet the best way forward. I think our requirements are:
It looks like we have at least two paths forward: Option 1The Spack formula calls Option 2The Spack formula would call As such, we just have to get started and get it figured out one way or another, and if some extra arguments for |
Will take a stab at writing a spack package for fpm. Once we have this it should be easy to package any fpm project in spack without extra effort in fpm. |
Fpm is now available in spack develop branch: spack/spack#25799 |
Note that to fix this issue, I am imagining something like |
I think rather than writing a spack package from fpm as first step, we should enable fpm to work as build system for spack by
|
@awvwgk I agree, that is higher priority. |
Like I mentioned on Fortran Discourse forum, I recently patched the |
This issue is similar to #70 but for Spack instead of Conda. Essentially for people that use Spack (myself included sometimes), it would be nice to just be able to
spack install
anyfpm
package.To do that,
fpm
should be able to take any package and produce a working Spack package out of it, that can then be submitted to Spack.The generated Spack package would probably call
fpm
underneath to do the build.The text was updated successfully, but these errors were encountered: