Commit 2e3b348
committed
Avoid processing the same EasyConfig multiple times
When passing the same EasyConfig file multiple times on the commandline
it will be parsed once and put into a cache.
Every future call will get the same `EasyConfig` instance so any
modification to it will be reflected in all future uses of supposedly
"freshly parsed EasyConfigs".
This leads to confusing failures when trying to build the same file twice
which is likely a mistake anyway, especially when one file is a symlink
to another one passed too.
So just make sure each physical file is parsed only once.1 parent 5fd677b commit 2e3b348
File tree
2 files changed
+32
-0
lines changed- easybuild/framework/easyconfig
- test/framework
2 files changed
+32
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
| 407 | + | |
407 | 408 | | |
408 | 409 | | |
| 410 | + | |
409 | 411 | | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
410 | 416 | | |
411 | 417 | | |
412 | 418 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
737 | 737 | | |
738 | 738 | | |
739 | 739 | | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
740 | 766 | | |
741 | 767 | | |
742 | 768 | | |
| |||
0 commit comments