summaryrefslogtreecommitdiff
path: root/examples/settling_spheres_2d_hlbm_gpu/.nix
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-06-03 09:58:54 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-06-03 09:58:54 +0200
commit42338efc99190d4f3362ecbc326a740cb7bd0479 (patch)
tree13b94bd8cfb17be13b35f7b2539bf03c7ad9592c /examples/settling_spheres_2d_hlbm_gpu/.nix
parent1c9d05a7cf13b4bd4ebe5583d10cae85d507ea9c (diff)
parentd7c88d561d4e2b7a2706d14c11ea5fa4cd6ceaf3 (diff)
downloadlibs-lbm-42338efc99190d4f3362ecbc326a740cb7bd0479.tar.gz
Merge branch 'fb-ibm-coupling' into dev
Diffstat (limited to 'examples/settling_spheres_2d_hlbm_gpu/.nix')
-rw-r--r--examples/settling_spheres_2d_hlbm_gpu/.nix/derivation.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/examples/settling_spheres_2d_hlbm_gpu/.nix/derivation.nix b/examples/settling_spheres_2d_hlbm_gpu/.nix/derivation.nix
new file mode 100644
index 0000000..26b41f2
--- /dev/null
+++ b/examples/settling_spheres_2d_hlbm_gpu/.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_spheres_2d_hlbm_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" ];
+}