Skip to content

Building with oneAPI for non-standard compiler installation #480

Closed
@oleksandr-pavlyk

Description

@oleksandr-pavlyk

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.

@AndresGuzman-Ballen

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions