You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the default value of --sycl-compiler-prefix option to develop/install setup commands we require ONEAPI_ROOT and do not set DPCTL_CUSTOM_DPCPP_INSTALL_DIR.
The logic is all built assuming that setting DPCTL_CUSTOM_DPCPP_INSTALL_DIR signals use of custom-built DPC++ toolchain.
When oneAPI compiler bits are installed into Python environment, we can not use ONEAPI_ROOT, since compiler's location is no longer ${ONEAPI_ROOT}/compiler/latest/linux but ${CONDA_PREFIX} instead, and must rely on --sycl-compiler-prefix which sets DPCTL_CUSTOM_DPCPP_INSTALL_DIR and CMake script starts assuming that we build with OS DPC++ toolchain.