Commit Graph

7 Commits

Author SHA1 Message Date
Dominic Kempf 0be0632f45 Remove superfluous pass statements 2020-05-14 09:41:22 +02:00
Dominic Kempf 1c0ec5ad8a Remove calls to set_executable
The dunecontrol script should always be executable, so there is
(hopefully) no need of calling this function.
2020-05-14 09:39:56 +02:00
Dominic Kempf df503f9038 Use context manager for open/close 2020-05-14 09:36:52 +02:00
Dominic Kempf fae067a0d7 Use join_path from spack instead of string concatenation 2020-05-14 09:34:50 +02:00
Dominic Kempf 5bc079bd0a Add support for different versions (master + 2.7) and refactor a bit
This adds a loop with versions around the resource definitions allowing
for multiple versions of the dune package with the expected behaviour
of dependency forwarding to Dune modules.

Additionally, it avoids the code duplication of _get_needed_resources:
It modifies the resource list to include the transitive closure of
Dune module dependencies and then calls the original implementation.
2020-05-13 18:24:25 +02:00
Dominic Kempf cfc2682f58 Make gawk a dependency of dune
The duneproject script uses awk. On my machine it fails because system awk
is messed up by the spack set-up LD_LIBRARY_PATH.
2020-05-13 12:15:38 +02:00
Gauthier Folzan 99615d3cdd Unique package with one variant per module 2020-05-10 21:21:48 +02:00