File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,13 @@ may be enabled during development via `-DADDRESS_SANITIZER=On` during the Comgr
80
80
Comgr can be built as a static library by passing
81
81
` -DCOMGR_BUILD_SHARED_LIBS=OFF ` during the Comgr ` cmake ` step.
82
82
83
+ To enable SPIRV support, checkout
84
+ [ SPIRV-LLVM-Translator] ( https://github.com/ROCm/SPIRV-LLVM-Translator ) in
85
+ ` llvm/projects ` or ` llvm/tools ` and build using the above instructions, with the
86
+ exception that the ` -DCMAKE_PREFIX_PATH ` for llvm-project must be an install
87
+ path (specified with ` -DCMAKE_INSTALL_PREFIX=/path/to/install/dir ` and populated
88
+ with ` make install ` ) rather than the build path.
89
+
83
90
Comgr SPIRV-related APIs can be disabled by passing
84
91
` -DCOMGR_DISABLE_SPIRV=1 ` during the Comgr ` cmake ` step. This removes any
85
92
dependency on LLVM SPIRV libraries or the llvm-spirv tool.
You can’t perform that action at this time.
0 commit comments