Dominic Kempf
bcecb661e0
Make iteration order of versions deterministic to ensure default version
2020-05-19 14:54:15 +02:00
Dominic Kempf
c7eb0ed0b5
Add dune-fem to the Spack package
2020-05-19 14:45:48 +02:00
Dominic Kempf
4dbf9e9e27
Add some easy to implement Dune modules to the Spack package
2020-05-19 13:57:43 +02:00
Dominic Kempf
7af542f4ab
Add dune-codegen to the dune package
2020-05-19 12:44:15 +02:00
Dominic Kempf
7519e4aeec
Add dune-pdelab to the Spack package
2020-05-18 13:39:12 +02:00
Dominic Kempf
aaf522074b
Make sure that the python directories are in the user space
2020-05-18 12:42:46 +02:00
Dominic Kempf
3befb49555
Fixup
2020-05-18 12:00:26 +02:00
Dominic Kempf
bf9c03263f
Remove patch for executable scripts - it is in dune-common now
2020-05-18 11:58:16 +02:00
Dominic Kempf
a71f2f7bc1
Fix dune-common patch such that it works also on first run
2020-05-15 20:58:09 +02:00
Dominic Kempf
f42ced7562
Add a dune-testtools resource to the package
2020-05-15 15:12:12 +02:00
Dominic Kempf
50f4914044
[bugfix] Reset dunecontrol path to undefined instead of wrong path
2020-05-15 11:46:23 +02:00
Dominic Kempf
abbfb9104b
Enforce variants by disallowing CMake to search for disabled dependencies
...
In my case, some system libraries still slipped in though I do not
know how exactly.
2020-05-15 11:17:45 +02:00
Dominic Kempf
dea7241fbc
Fix mechanism to install Python bindings
...
Actually, make install already installs Python packages,
so there is no need to do it manually in a post-install hook.
Additionally, we set the DUNE_PY_DIR and DUNE_CONTROL_PATH
environment variables, so that the Python bindings work even
in presence of multiple installations.
2020-05-15 11:15:38 +02:00
Dominic Kempf
ea1031bad9
Go through variants and dependencies and remove unneeded ones
...
Some of the variants/dependencies in the prototype were unneeded,
I went through also with a keen eye on keeping the total number
of variants a bit lower. I also added defaults that I consider
useful.
2020-05-14 11:34:39 +02:00
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
7df7c12c38
removing useless package
2020-05-10 21:38:06 +02:00
Gauthier Folzan
99615d3cdd
Unique package with one variant per module
2020-05-10 21:21:48 +02:00
Gauthier Folzan
93193cd33d
Corrections
2020-05-10 19:22:50 +02:00
Gauthier Folzan
8076c3b4f8
Dummy module to facilitate developement of new modules
2020-04-06 10:02:27 +02:00
Gauthier Folzan
bbd682d03d
Shared lib by default
2020-04-02 13:08:18 +02:00
Gauthier Folzan
4bfe34f2fc
Adding dune-functions and dune-typetree
2020-04-02 13:07:33 +02:00
Gauthier Folzan
540f0a02e4
Some cleaning and missing file for spack repo
2020-03-31 17:27:00 +02:00
Gauthier Folzan
dbeea6ff98
First commit
2020-03-30 22:22:34 +02:00