diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-08-20 18:59:15 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-08-20 18:59:15 +0200 |
| commit | e16b136502bc8252bcffe2f5650825d580cb258a (patch) | |
| tree | a3eaf3b0419a1c5897c344a949cf5775b1637afc /examples/one_particle_sedimentation/.nix/derivation.nix | |
| parent | 2124d0d49e122987ad080af8df53b1bb1faddf07 (diff) | |
| parent | 5cd236287542b47016fe3c49aa56bb66d74c4ad7 (diff) | |
| download | libs-lbm-e16b136502bc8252bcffe2f5650825d580cb258a.tar.gz | |
Merge branch 'dev'
Diffstat (limited to 'examples/one_particle_sedimentation/.nix/derivation.nix')
| -rw-r--r-- | examples/one_particle_sedimentation/.nix/derivation.nix | 43 |
1 files changed, 43 insertions, 0 deletions
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" ]; +} |
