From 6b9e221a0c439ce3ee9b728bc9ead8f5c2c82ceb Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 13 May 2024 09:57:49 +0200 Subject: renamed to sycl since opencl does not support c++ --- modules/remote-sycl/.nix/derivation.nix | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 modules/remote-sycl/.nix/derivation.nix (limited to 'modules/remote-sycl/.nix') diff --git a/modules/remote-sycl/.nix/derivation.nix b/modules/remote-sycl/.nix/derivation.nix new file mode 100644 index 0000000..2d095df --- /dev/null +++ b/modules/remote-sycl/.nix/derivation.nix @@ -0,0 +1,34 @@ +{ lib +, stdenv +, scons +, clang-tools +, version +, forstio +, opencl-clhpp +}: + +let + +in stdenv.mkDerivation { + pname = "forstio-device-opencl"; + inherit version; + src = ./..; + + enableParallelBuilding = true; + + nativeBuildInputs = [ + scons + clang-tools + ]; + + buildInputs = [ + forstio.core + forstio.codec + forstio.async + forstio.io + forstio.io_codec + opencl-clhpp + ]; + + outputs = ["out" "dev"]; +} -- cgit v1.2.3