Closed xylar closed 1 year ago
It seems like the solution just to have trilinos-for-albany
without @develop
and to have workflows that require trilinos-for-albany@develop
to explicitly specify that.
Does spack force to use the same git repo for all variants? I looked at the develop branch on e3sm-project fork, and it was 6 months old, while Trilinos updates develop pretty much daily...
We can add a github action (or a jenkins job, or whatever, though I am becoming a fan of gh actions), that updates our develop branch nightly. That way, we can change git property of trilinos spack pkg to point to the e3sm-project fork. However, if spack offered a way to use a different git repo for a particular variant, I would choose that path.
I believe that, yes, spack packages have to get their source from a single URL. I'll look into it because if not that would be simpler.
Yes, there's a url_for_version()
function that we can use, so that does seem like an easy solution. I'll make a PR sometime soon.
Ok. Meanwhile, I'm looking into github actions to sync our fork nightly. It is probably something we should do anyways (our fork should keep in sync with upstream), so it's worth doing it.
Well, if that's not hard, we can do that. Otherwise, I think I found a way to sync our fork, so we can probably switch repo? What approach do you think is cleaner?
@ikalash, one more probelm I'm running into. In
albany/package.py
there are bunches of lines like:But the
trilinos-for-albany@develop
is is a problem for me, since I need these all to betrilinos-for-albany@comass-2023-08-03
when I'm using that tag of both Albany and Trilinos (on the E3SM-Project fork, see #19 ). Do you know of a way to handle this?