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

Building an easystack.yml with --job results in redundant/conflicting build jobs for common dependencies #4558

Open
stderr-enst opened this issue Jun 11, 2024 · 1 comment
Milestone

Comments

@stderr-enst
Copy link

If an easystack.yml contains two packages with the same dependent package (e.g. "GCCcore"), building the easystack file with -r and --job results in multiple submitted build jobs for that package.

Of course the first job wins and builds happily, but subsequent attempts fail with different failure modes.

@ocaisa suggested in a slack discussion:

For your use case, you'd have to retain some knowledge of what has been submitted. It just needs some design, a dict perhaps that gets updated with submitted jobs, if you get a hit you link the job id, if not you submit a job and add to the dict

@ocaisa
Copy link
Member

ocaisa commented Jun 11, 2024

I looked into it a bit, one way to do it is

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

No branches or pull requests

3 participants