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
[SYCL] Use relative paths for SYCL headers install (#3940)
`${SYCL_INCLUDE_DEPLOY_DIR}` is defined as
`${CMAKE_INSTALL_PREFIX}/${SYCL_INCLUDE_DIR}`, this is unnecessary
because when using relative paths, CMake will automatically prefix
install destinations with `${CMAKE_INSTALL_PREFIX}`, so we can directly
use `${SYCL_INCLUDE_DIR}`.
It is also preferable to use relative paths, because it enables the
`DESTDIR` mechanism that can make it possible to change the install
prefix after the configuration, with for example things like `make
DESTDIR=/new/install/prefix install`, or when manually calling the CMake
install scripts.
This patch has no functional changes and should have no effect on
existing builds, aside from enabling `DESTDIR`.
0 commit comments