From 6a918f0827a6e8806f77e39e0348b1a2abed71f2 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Fri, 19 Dec 2025 14:11:57 +0100 Subject: Rewriting large portion for simpler approach --- .../heterogeneous_computing/.nix/derivation.nix | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 examples/heterogeneous_computing/.nix/derivation.nix (limited to 'examples/heterogeneous_computing/.nix/derivation.nix') diff --git a/examples/heterogeneous_computing/.nix/derivation.nix b/examples/heterogeneous_computing/.nix/derivation.nix new file mode 100644 index 0000000..48dfc7a --- /dev/null +++ b/examples/heterogeneous_computing/.nix/derivation.nix @@ -0,0 +1,39 @@ +{ lib +, stdenv +, scons +, clang-tools +, forstio +, pname +, version +, kel-lbm +}: + +stdenv.mkDerivation { + pname = pname + "-examples-" + "heterogeneous_computing"; + inherit version; + src = ./..; + + nativeBuildInputs = [ + scons + clang-tools + ]; + + buildInputs = [ + forstio.core + forstio.async + forstio.io + forstio.io_codec + forstio.codec + forstio.codec-unit + forstio.codec-json + forstio.remote + forstio.remote-filesystem + forstio.remote-io + forstio.remote-sycl + kel-lbm.core + ]; + + preferLocalBuild = true; + + outputs = [ "out" "dev" ]; +} -- cgit v1.2.3