From 5cd236287542b47016fe3c49aa56bb66d74c4ad7 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Thu, 20 Aug 2026 18:59:00 +0200 Subject: Feierabend --- .../one_particle_sedimentation/.nix/derivation.nix | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 examples/one_particle_sedimentation/.nix/derivation.nix (limited to 'examples/one_particle_sedimentation/.nix/derivation.nix') diff --git a/examples/one_particle_sedimentation/.nix/derivation.nix b/examples/one_particle_sedimentation/.nix/derivation.nix new file mode 100644 index 0000000..a062133 --- /dev/null +++ b/examples/one_particle_sedimentation/.nix/derivation.nix @@ -0,0 +1,43 @@ +{ lib +, stdenv +, scons +, clang-tools +, forstio +, python3 +, pname +, version +, adaptive-cpp +, kel +, particle_coupling ? "fplbm" +}: + +let +in stdenv.mkDerivation { + pname = "${pname}-examples-ops_2d_gpu_${particle_coupling}"; + inherit version; + src = ./..; + + nativeBuildInputs = [ + scons + clang-tools + python3 + ]; + + buildInputs = [ + forstio.core + forstio.async + forstio.codec + forstio.codec-unit + forstio.io + forstio.remote + forstio.remote-filesystem + forstio.codec-json + adaptive-cpp + kel.lbm.core + kel.lbm.sycl + ]; + + preferLocalBuild = true; + + outputs = [ "out" "dev" ]; +} -- cgit v1.2.3