Detect and use NVPTX libraries on Windows
This commit is contained in:
parent
d8ffc18ffc
commit
5209cdb032
1 changed files with 5 additions and 0 deletions
|
|
@ -58,6 +58,11 @@ Shell32
|
|||
print('-lLLVMPTXCodeGen')
|
||||
print('-lLLVMPTXDesc')
|
||||
print('-lLLVMPTXInfo')
|
||||
elif os.path.exists(os.path.join(llvmbin, '../lib/LLVMNVPTXCodeGen.lib')):
|
||||
print('-lLLVMNVPTXAsmPrinter')
|
||||
print('-lLLVMNVPTXCodeGen')
|
||||
print('-lLLVMNVPTXDesc')
|
||||
print('-lLLVMNVPTXInfo')
|
||||
elif sys.argv[1] == '--includedir':
|
||||
llvmbin = find_path_of('llvm-tblgen.exe')
|
||||
if llvmbin is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue