diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-09-22 17:24:22 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-09-22 17:24:22 +0200 |
| commit | ef0e7d1104077082663c3ce3374eb5778008f545 (patch) | |
| tree | 85f311050e1f438bbfeb2e0347bf4343ea02150c /examples/throat_clog_2d/.nix | |
| parent | 79196db2ac3d31543056b3b7abe90ad609c51b4f (diff) | |
| download | libs-lbm-dev.tar.gz | |
Clog workdev
Diffstat (limited to 'examples/throat_clog_2d/.nix')
| -rw-r--r-- | examples/throat_clog_2d/.nix/derivation.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/examples/throat_clog_2d/.nix/derivation.nix b/examples/throat_clog_2d/.nix/derivation.nix new file mode 100644 index 0000000..4dfce2a --- /dev/null +++ b/examples/throat_clog_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-throat_clog_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" ]; +} |
