diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-05-29 21:56:48 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-05-29 21:56:48 +0200 |
| commit | 2dd7c95a111a930e8e23140ab3fec074e7de4c8c (patch) | |
| tree | 74edc82d6cdad766c31f68d4755a2f49eff4a422 /examples/poiseulle_particles_2d_gpu/.nix | |
| parent | 346d979dcdea3e3f37d3ad55680b4f0469d7220c (diff) | |
| download | libs-lbm-2dd7c95a111a930e8e23140ab3fec074e7de4c8c.tar.gz | |
Dangling
Diffstat (limited to 'examples/poiseulle_particles_2d_gpu/.nix')
| -rw-r--r-- | examples/poiseulle_particles_2d_gpu/.nix/derivation.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/examples/poiseulle_particles_2d_gpu/.nix/derivation.nix b/examples/poiseulle_particles_2d_gpu/.nix/derivation.nix new file mode 100644 index 0000000..d78ff47 --- /dev/null +++ b/examples/poiseulle_particles_2d_gpu/.nix/derivation.nix @@ -0,0 +1,45 @@ +{ lib +, stdenv +, scons +, clang-tools +, forstio +, python3 +, pname +, version +, adaptive-cpp +, kel +, slip ? false +, particle_coupling ? "fplbm" +}: + +let + slip_txt = if slip then "slip" else "noslip"; +in stdenv.mkDerivation { + pname = "${pname}-examples-poiseulle_2d_gpu_${particle_coupling}_${slip_txt}"; + 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" ]; +} |
