{ lib , stdenv , scons , clang-tools , version , forstio , openmp , opensycl , ocl-icd , build_examples ? "false" }: let in stdenv.mkDerivation { pname = "forstio-remote-sycl"; inherit version; src = ./..; enableParallelBuilding = true; nativeBuildInputs = [ scons clang-tools ]; buildInputs = [ forstio.core forstio.codec forstio.async forstio.io forstio.io_codec openmp opensycl ocl-icd ]; buildPhase = '' scons build_examples=${build_examples} ''; installPhase = '' scons prefix=$out build_examples=${build_examples} install ''; doCheck = false; checkPhase = '' scons test ./bin/tests ''; outputs = ["out" "dev"]; }