Pass tooling to wrapped binary

This commit is contained in:
2026-03-16 11:02:49 +01:00
parent be92c54921
commit 92392e3eb7

View File

@@ -45,8 +45,11 @@ let
# Disable hardening by default
echo "" > $out/nix-support/add-hardening.sh
ln -s $ccPath/sycl-ls $out/bin/sycl-ls
ln -s $ccPath/sycl-trace $out/bin/sycl-trace
pushd $ccPath
for i in $ {llvm,sycl}-* ; do
ln -s $ccPath/$i $out/bin/$i
done
popd
# Use this to detect when a compiler subprocess is called
# from icpx (--fsycl-host-compiler)