forked from boegel/easybuild-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] develop from boegel:develop #2
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When processing multiple EasyConfigs where one does not exist `samefile` will abort with a `FileNotFoundError`. So move the existance check to the top of the loop.
Avoid failure when only some passed easyconfigs exist
Since some easyblocks, e.g. `CMakeMake` modify `self.cfg['configopts']` it's safer to start afresh for every iteration. This PR implements this by turning options like these, if not already lists, into lists with identical element copies, e.g. `[self.cfg['configopts']] * <number_of_iterations>` This modification does not affect the logic of iterative `builddependencies` itself since it is used in some other places in the code.
…syBuild behaviour
This way each iteration will start from the original copy of configopts etc, as it's in the iter_opts dict.
take into account `job-output-dir` option in Slurm job backend
This deals with easyconfigs that have lists with just one element so they will be iterated: `toy.eb` in tests has `prebuildopts = "echo \"int main() { return 0; }\" > exts-git.c && ",` the trailing comma makes that a tuple with one element.
Apply this patch directly to the code without easybuilders#4848 makes it fail with AssertionError: 'FOO=bar ' != '' - FOO=bar +
Fix grammar Co-authored-by: Jasper Grimm <[email protected]>
…t binaries aren't always possible
…ns something very unexpected
…rename DEFAULT_MODEXTRAVARS* constants in ModuleGenerator class)
…d by EasyBlock.module_load_environment.expand_paths
mark `EasyBlock.expand_module_search_path` as removed, has been replaced by `EasyBlock.module_load_environment.expand_paths`
rename `shell_vars` options in `modextravars` to `resolve_env_vars` (+ rename `DEFAULT_MODEXTRAVARS*` constants in `ModuleGenerator` class)
…v_from_report Avoid leaking keys by mistake with `--upload-test-report`
add support for environment variables in `set_environment` of module generators
move `EasyBlock.expand_module_search_path` into `ModuleEnvironmentVariable.expand_paths`
The `--dep-graph` command uses `graphviz-python` (`import gv`) to convert a dot-graph into an image file. This library seems outdated. In pip it is now called `graphviz` and the API is slightly different. The docs already refer to it. This commit fixes the import and the function that renders the graph image.
…tent (with result of sanity check commands, for example)
Fix `--dep-graph` by using `graphviz` Python package
replace full trace message for extension check command with simple pass/fail message
… to sanity_check_rpath is None
add support for `check_readelf_rpath` easyconfig parameter to optionally skip RPATH checks
…f fake module is always done, even if an error was raised
…ronment fix `fake_module_environment` context manager: make sure that cleanup of fake module is always done, even if an error was raised
prepare release notes for EasyBuild v5.1.0 + bump version to 5.1.0
release EasyBuild v5.1.0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.1)
Can you help keep this open source service alive? 💖 Please sponsor : )