Commit cc96e4e
committed
When iterating, make all iteropts except builddependencies lists
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.1 parent 68a38e5 commit cc96e4e
2 files changed
+8
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2380 | 2380 | | |
2381 | 2381 | | |
2382 | 2382 | | |
| 2383 | + | |
2383 | 2384 | | |
2384 | | - | |
| 2385 | + | |
| 2386 | + | |
| 2387 | + | |
| 2388 | + | |
| 2389 | + | |
2385 | 2390 | | |
2386 | 2391 | | |
2387 | 2392 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1037 | 1037 | | |
1038 | 1038 | | |
1039 | 1039 | | |
1040 | | - | |
1041 | | - | |
1042 | | - | |
1043 | | - | |
1044 | | - | |
1045 | | - | |
1046 | | - | |
1047 | | - | |
| 1040 | + | |
| 1041 | + | |
1048 | 1042 | | |
1049 | 1043 | | |
1050 | 1044 | | |
| |||
0 commit comments