trying more things

This commit is contained in:
2025-06-19 20:00:02 +02:00
parent 9aa866ee76
commit 3a1b58ec9d
3 changed files with 24 additions and 10 deletions

View File

@@ -46,7 +46,7 @@ intelPackages.stdenv.mkDerivation {
env.NODES_HOME = nodes;
NIX_DEBUG = 0;
NIX_DEBUG = 1;
buildPhase = ''
cp $src hello.cpp
set -x
@@ -54,9 +54,9 @@ intelPackages.stdenv.mkDerivation {
echo NODES_HOME=$NODES_HOME
command -v $CXX
icpx -fsycl \
icpx -Wno-deprecated-declarations -fsycl \
-fsycl-host-compiler=${clangOmpss2Nodes}/bin/clang++ \
-fsycl-host-compiler-options='-fompss-2=libnodes' \
-fsycl-host-compiler-options='-Wno-deprecated-declarations -fompss-2=libnodes' \
-lnodes -lnosv \
$NODES_HOME/lib/nodes-main-wrapper.o \
hello.cpp -o hello