OS Manuals

/usr/bin/clang-sycl-linker

C language family frontend for LLVM 20

From clang-20 20.1.8-r21 (os), captured 2026-11-05 by running clang-sycl-linker --help (exit 0). permalink

OVERVIEW: A utility that wraps around several steps required to link SYCL device files.
This enables LLVM IR linking, post-linking and code generation for SYCL targets.

USAGE: clang-sycl-linker [options] <options to sycl link steps>

OPTIONS:
  --arch <value>          Specify the name of the target architecture.
  --device-libs=<value>   A comma separated list of device libraries that are linked during the device link.
  --dry-run               Print generated commands without running.
  -help-hidden            Display all available options
  -help                   Display available options (--help-hidden for more)
  --llvm-spirv-options=<value>
                          Options that will control llvm-spirv step
  --llvm-spirv-path=<dir> Set the system llvm-spirv path
  -o <path>               Path to file to write output
  --save-temps            Save intermediate results
  --spirv-dump-device-code=<value>
                          Path to the folder where the tool dumps SPIR-V device code. Other formats aren't dumped.
  --triple<value>         The device target triple
  --version               Display the version number and exit
  -v                      Print verbose information
Options (12)
OptionDescriptionSource
--arch valueSpecify the name of the target architecture.help
--device-libs valueA comma separated list of device libraries that are linked during the device link.help
--dry-runPrint generated commands without running.help
-help-hiddenDisplay all available optionshelp
-helpDisplay available options (--help-hidden for more)help
--llvm-spirv-options valueOptions that will control llvm-spirv stephelp
-o pathPath to file to write outputhelp
--save-tempsSave intermediate resultshelp
--spirv-dump-device-code valuePath to the folder where the tool dumps SPIR-V device code.help
--triple valueThe device target triplehelp
--versionDisplay the version number and exithelp
-vPrint verbose informationhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.