From 0a8f27666123e7fae1e415aa568e97f596bcdcaf Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 28 Apr 2026 18:28:42 +0200 Subject: prep ibm --- .../.nix/derivation.nix | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 examples/poiseulle_particles_2d_ibm_gpu/.nix/derivation.nix (limited to 'examples/poiseulle_particles_2d_ibm_gpu/.nix') diff --git a/examples/poiseulle_particles_2d_ibm_gpu/.nix/derivation.nix b/examples/poiseulle_particles_2d_ibm_gpu/.nix/derivation.nix new file mode 100644 index 0000000..af3f3e8 --- /dev/null +++ b/examples/poiseulle_particles_2d_ibm_gpu/.nix/derivation.nix @@ -0,0 +1,41 @@ +{ lib +, stdenv +, scons +, clang-tools +, forstio +, python3 +, pname +, version +, adaptive-cpp +, kel +}: + +stdenv.mkDerivation { + pname = pname + "-examples-" + "poiseulle_particles_2d_ibm_gpu"; + 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