Open yurivict opened 1 year ago
@yurivict Thank you for the report. It appears that our cmake script is failing to locate libraries libsycl.so
and libOpenCL.so
in the folder SYCL_LIBRARY_DIR
as set by find_package(IntelDPCPP REQUIRED)
.
The SYCL_LIBRARY_DIR
is found as follows:
find_file(SYCL_LIBRARY_DIR
NAMES
lib lib64
HINTS
${SYCL_PACKAGE_DIR} $ENV{SYCL_LIBRARY_DIR_HINT}
NO_DEFAULT_PATH
)
Where the SYCL_PACKAGE_DIR
is the parent folder of the bin/
folder containing the compiler executable.
The expected compiler layout is aligned with that of oneAPI DPC++, or open-source SYCL bundle downloadable from https://github.com/intel/llvm/releases
If the opensycl layout is different, perhaps use SYCL_LIBRARY_DIR_HINT
environment variable to assist cmake in locating the library directory.
Please do let us know if you are running into additional issues.
cmake first finds IntelSycl and then fails:
Version: 0.14.2 opensycl-0.9.4 cmake-3.25.1 Python-3.9 FreeBSD 13.1