summaryrefslogtreecommitdiff
path: root/modules/remote-sycl/.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/remote-sycl/.nix')
-rw-r--r--modules/remote-sycl/.nix/derivation.nix29
1 files changed, 16 insertions, 13 deletions
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