diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-08-22 22:24:37 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-08-22 22:24:37 +0200 |
| commit | 4f8ba172c7c6cbe278cbf20927df543cd6c58c28 (patch) | |
| tree | 0724726c6b16ba27fa7972fffb64501b22e89eda /examples/one_particle_sedimentation_2d/.nix/derivation.nix | |
| parent | 72f95bbed0d53d45858c7fb586f4d1876a384efd (diff) | |
| parent | e6168bb3f656ebab9b63be697c79819b08fc1ae0 (diff) | |
| download | libs-lbm-4f8ba172c7c6cbe278cbf20927df543cd6c58c28.tar.gz | |
Merge branch 'dev'
Diffstat (limited to 'examples/one_particle_sedimentation_2d/.nix/derivation.nix')
| -rw-r--r-- | examples/one_particle_sedimentation_2d/.nix/derivation.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/examples/one_particle_sedimentation_2d/.nix/derivation.nix b/examples/one_particle_sedimentation_2d/.nix/derivation.nix new file mode 100644 index 0000000..49fa939 --- /dev/null +++ b/examples/one_particle_sedimentation_2d/.nix/derivation.nix @@ -0,0 +1,42 @@ +{ lib +, stdenv +, scons +, clang-tools +, forstio +, python3 +, pname +, version +, adaptive-cpp +, kel +}: + +let +in stdenv.mkDerivation { + pname = "${pname}-examples-ops_2d_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" ]; +} |
