-
Notifications
You must be signed in to change notification settings - Fork 46
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
disable all stores option #755
Comments
Hi Adrian! There are already some similar features in alibuild, would any of the following suffice for your use case?
1. If you only want to rebuild a few specific packages, you can add `force_rebuild: true` to their YAML frontmatter and they will be rebuilt always, even if they were built before.
2. If you want to essentially start over and not reuse any previously built packages, you could use `aliBuild build`'s `--work-dir` option to start from scratch in another, new "sw" directory.
3. `aliBuild clean --aggressive` (I think) cleans up `sw/$architecture/store`, which contains the tarballs you'd get from the remote store. It leaves installed packages alone, though, only removing the tarballs.
…On 19 April 2022 09:25:00 CEST, Adrian Sevcenco ***@***.***> wrote:
Hi! It would be really useful a command to invalidate all stores (including local one)
not only the remote ones.
--
Reply to this email directly or view it on GitHub:
#755
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
|
Hi @TimoWilken ! ok, now that i tried again but this would delete ALL archives, and one could have production/analysis builds (when one do analysis) and also, testing dev things when one just want to have a clean rebuild.
maybe it would be useful not only to me to have a build option moreover, if one gets the order of packages, for a given {current dir, and now that i mentioned above: is it possible the aliDoctor to present the exact order of building? should i make another issue for this? |
The invalid symlinks are harmless. They are ignored by alibuild for the purposes of finding a tarball to reuse. You shouldn't have to remove them manually.
With this workflow, couldn't you build up to (but not including) the package of interest using the remote store, and then build the package itself with Locally, I'm not sure just ignoring the tarballs makes sense -- when we build a package, we install it under Perhaps what you'd need is a command-line switch with the same effect as specifying
When #754 is merged, you could do, for example: aliBuild build --plugin templating -a slc7_x86-64 --defaults o2 O2 2>/dev/null <<\EOF
{% for pkg in build_order -%}
{{ pkg }}
{% endfor %}
EOF Though I'm not sure the build order is stable across subsequent invocations of aliBuild, especially when not building the same packages both times. |
ok, got it
actually i thought the same, but i had the surprise of the build being taken from local cache (forgot to delete the TARS content)
actually it will rebuild the package .. if i delete xjalienfs tar and i rebuild xjalienfs
YES! actually this is what i actually need: a way to rebuilt a specific package (or more)
oh, i see, i thought that the order is deterministic |
Hm, this sounds like a bug. Did you delete the matching symlink too, or just the tarball under
Great! Could you test #756 to see whether it does the right thing for you? |
i do not think so .. i delete the complete content of TAR (well, not anymore with the new feature) and i use
yup, it's perfect!! thanks a lot!! |
Hi! It would be really useful a command to invalidate all stores (including local one)
not only the remote ones.
The text was updated successfully, but these errors were encountered: