summaryrefslogtreecommitdiff
path: root/examples/poiseulle_2d_gpu/.nix/derivation.nix
diff options
context:
space:
mode:
Diffstat (limited to 'examples/poiseulle_2d_gpu/.nix/derivation.nix')
-rw-r--r--examples/poiseulle_2d_gpu/.nix/derivation.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/examples/poiseulle_2d_gpu/.nix/derivation.nix b/examples/poiseulle_2d_gpu/.nix/derivation.nix
new file mode 100644
index 0000000..7f5c2b0
--- /dev/null
+++ b/examples/poiseulle_2d_gpu/.nix/derivation.nix
@@ -0,0 +1,39 @@
+{ lib
+, stdenv
+, scons
+, clang-tools
+, forstio
+, python3
+, pname
+, version
+, adaptive-cpp
+, kel-lbm
+}:
+
+stdenv.mkDerivation {
+ pname = pname + "-examples-" + "poiseulle_2d_gpu";
+ inherit version;
+ src = ./..;
+
+ nativeBuildInputs = [
+ scons
+ clang-tools
+ python3
+ ];
+
+ buildInputs = [
+ forstio.core
+ forstio.async
+ forstio.codec
+ forstio.codec-unit
+ forstio.remote
+ forstio.codec-json
+ adaptive-cpp
+ kel-lbm.core
+# kel-lbm.sycl
+ ];
+
+ preferLocalBuild = true;
+
+ outputs = [ "out" "dev" ];
+}