summaryrefslogtreecommitdiff
path: root/examples/poiseulle_particles_2d_ibm_gpu/.nix
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-04-29 18:57:40 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-04-29 18:57:40 +0200
commit4f47c2c5631b6cadef3a74eca52bb40a3c5f75a9 (patch)
tree1fc847ffefe62ae64cc63cbfaddb10e77835e373 /examples/poiseulle_particles_2d_ibm_gpu/.nix
parentb74db86c59c75936e2a2ee270939cbc42652acbf (diff)
parenta3522ffb6c1020f88ac1acf3b5bf6001b9275503 (diff)
downloadlibs-lbm-4f47c2c5631b6cadef3a74eca52bb40a3c5f75a9.tar.gz
Merge branch 'dev'
Diffstat (limited to 'examples/poiseulle_particles_2d_ibm_gpu/.nix')
-rw-r--r--examples/poiseulle_particles_2d_ibm_gpu/.nix/derivation.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/examples/poiseulle_particles_2d_ibm_gpu/.nix/derivation.nix b/examples/poiseulle_particles_2d_ibm_gpu/.nix/derivation.nix
new file mode 100644
index 0000000..af3f3e8
--- /dev/null
+++ b/examples/poiseulle_particles_2d_ibm_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-" + "poiseulle_particles_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" ];
+}