diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-03-22 12:55:23 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-03-22 12:55:23 +0100 |
| commit | 5fa7eb191907acf34c7c5c028dbc0403a2443e3a (patch) | |
| tree | 9dbe87a5612648a824d32fed37dba78b0e463a53 /examples/settling_cubes_2d_ibm/.nix | |
| parent | 14320632fbf39237b5f2254ec1d312ce3c12d879 (diff) | |
| download | libs-lbm-5fa7eb191907acf34c7c5c028dbc0403a2443e3a.tar.gz | |
Starting settling cube example
Diffstat (limited to 'examples/settling_cubes_2d_ibm/.nix')
| -rw-r--r-- | examples/settling_cubes_2d_ibm/.nix/derivation.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/examples/settling_cubes_2d_ibm/.nix/derivation.nix b/examples/settling_cubes_2d_ibm/.nix/derivation.nix new file mode 100644 index 0000000..d7f138b --- /dev/null +++ b/examples/settling_cubes_2d_ibm/.nix/derivation.nix @@ -0,0 +1,41 @@ +{ lib +, stdenv +, scons +, clang-tools +, forstio +, python3 +, pname +, version +, adaptive-cpp +, kel +}: + +stdenv.mkDerivation { + pname = pname + "-examples-" + "setting_cubes_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" ]; +} |
