llvm
0ce943ec - [SYCL][CMake] Garbage-collect in libsycl linking (#18293)

Commit
344 days ago
[SYCL][CMake] Garbage-collect in libsycl linking (#18293) This commit adds the -Wl,--gc-sections flags to the linking of the SYCL libraries when available. This enables link-time section garbage collection, removing dead code in the binary, potentially reducing the size of it. --------- Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
Author
Steffen Larsen
Parents
Loading