Skip to content

Commit 9ced405

Browse files
committed
[Comgr] Add missing clangOptions
Fixes error: /usr/bin/ld: tools/comgr/CMakeFiles/amd_comgr.dir/src/comgr-compiler.cpp.o: in function `COMGR::AMDGPUCompiler::executeInProcessDriver(llvm::ArrayRef<char const*>)': amd/comgr/src/comgr-compiler.cpp:739: undefined reference to `clang::getDriverOptTable()' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.
1 parent a9c2a06 commit 9ced405

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

amd/comgr/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ if(TARGET clangFrontendTool)
410410
set(CLANG_LIBS
411411
clangBasic
412412
clangDriver
413+
clangOptions
413414
clangSerialization
414415
clangFrontend
415416
clangFrontendTool)

0 commit comments

Comments
 (0)