1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
Commit graph

16 commits

Author SHA1 Message Date
Steffen Vogel
0735eb0f89 Make project REUSE compliant
And various other cleanups and harmonizations

Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-07 11:16:04 +02:00
Philipp Jungkamp
53848f5345 packaging-nix: Fix code-style and capitalization
Co-authored-by: Steffen Vogel <steffen.vogel@opal-rt.com>
Signed-off-by: Philipp Jungkamp <56401138+PJungkamp@users.noreply.github.com>
2023-08-23 16:29:53 +02:00
Philipp Jungkamp
9c94b31057 packaging-nix: Add debug info to dependencies in devShells
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-08-23 16:29:53 +02:00
Philipp Jungkamp
7117dc601f packaging-nix: Update nix flake
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-08-23 16:29:53 +02:00
Philipp Jungkamp
ddc8ffaa12 packaging-nix: Add integration test dependencies to devShells
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-30 18:47:27 +02:00
Philipp Jungkamp
4224f72ecb cmake: disable warning as error on default release builds
A new warning introduced by the compiler on a target system should not
break the build on that target.
You can override that behaviour using VILLAS_COMPILE_WARNING_AS_ERROR.

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-23 11:53:01 +02:00
Philipp Jungkamp
cd5a99df67 packaging-nix: fix cross-compilation
Update nixpkgs for upstream libre cross compilation fix.
Use minimal systemd dependency for mosquitto and rdma-core.

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-23 11:53:01 +02:00
Philipp Jungkamp
4c662ff56a packaging-nix: Add criterion to devShells to allow building unit-tests
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-23 11:51:55 +02:00
Philipp Jungkamp
34fadc6bf0 packaging-nix: fix fpga node and enable it by default
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-19 20:18:27 +02:00
Philipp Jungkamp
45928b02b3 packaging-nix: use the 22.11 release of nixpkgs
We don't wan't to use unstable or 23.05 to circumvent deprecation
warnings and spdlog/fmt related regressions.
More node types can now be compiled into villas-full.

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-14 17:59:08 +02:00
Philipp Jungkamp
7742a5f5b8 packaging-nix: disable hardening cxx flags in devShells
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-13 18:16:55 +02:00
Philipp Jungkamp
0d69a0eefb packaging-nix: add libdatachannel for webrtc node
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-13 18:16:55 +02:00
Philipp Jungkamp
03ad3a77aa packaging-nix: improve packaging + cross-compilation
- Adds and documents some simple cross-compiling support.
- More documentation in the `flake.nix`.
- Add nixpkgs overlay (though undocumented).

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-13 18:16:55 +02:00
Philipp Jungkamp
6a07f6f2da packaging-nix: fixes + format + format check
- format all `.nix` files using `alejandra`
- check format on `nix flake check`
- only `exec $SHELL` when bash is interactive

Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-06-01 13:34:12 +02:00
Philipp Jungkamp
58dbd91616 packaging-nix: fix broken git+file:. input
The `src` input was working locally due to a bug in the `nix` flake
evaluation. The input itself was malformed and not reproducable.

Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-05-25 19:00:49 +02:00
Philipp Jungkamp
1fb9a89bae packaging-nix: initial structure
- add basic flake structure
- add configurable package for `villas`
- add `README` tutorial as motivation
- add package for `lib60870` and `libiec61850` not provided by `nixpkgs`

Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-05-25 16:29:13 +02:00