From 43826420c1fa27ab53fe2c1ce6a2ebce60b96567 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 3 Jun 2024 10:17:06 +0200 Subject: Sycl compiles and runs --- modules/remote-sycl/.nix/derivation.nix | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'modules/remote-sycl/.nix/derivation.nix') diff --git a/modules/remote-sycl/.nix/derivation.nix b/modules/remote-sycl/.nix/derivation.nix index 65c408c..c401adc 100644 --- a/modules/remote-sycl/.nix/derivation.nix +++ b/modules/remote-sycl/.nix/derivation.nix @@ -5,9 +5,11 @@ , version , forstio , openmp -, opensycl -, python3 +, keldu , ocl-icd +, lld_15 +, python3 +, bash , build_examples ? "false" }: @@ -22,9 +24,9 @@ in stdenv.mkDerivation { enableParallelBuilding = true; nativeBuildInputs = [ - scons clang-tools python3 + scons ]; buildInputs = [ @@ -33,19 +35,20 @@ in stdenv.mkDerivation { forstio.async forstio.io forstio.io_codec - openmp - opensycl + keldu.opensycl ocl-icd - ]; - - buildPhase = '' - scons build_examples=${build_examples} - ''; + openmp + lld_15 + ]; - installPhase = '' - scons prefix=$out build_examples=${build_examples} install - ''; + buildPhase = '' + scons build_examples=${build_examples} + ''; + installPhase = '' + scons prefix=$out build_examples=${build_examples} install + ''; + doCheck = false; checkPhase = '' scons test -- cgit v1.2.3