diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-05-13 09:57:49 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-05-13 09:57:49 +0200 |
commit | 6b9e221a0c439ce3ee9b728bc9ead8f5c2c82ceb (patch) | |
tree | 49d70b45f0aa65e8e872ff76deccebd6c1f92198 /modules/remote-sycl/.nix/derivation.nix | |
parent | 0f8abfb2d48497e804d87e6e47a41c70e728901a (diff) |
renamed to sycl since opencl does not support c++
Diffstat (limited to 'modules/remote-sycl/.nix/derivation.nix')
-rw-r--r-- | modules/remote-sycl/.nix/derivation.nix | 34 |
1 files changed, 34 insertions, 0 deletions
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"]; +} |