chen3feng / blade-build

Blade is a powerful build system from Tencent, supports many mainstream programming languages, such as C/C++, java, scala, python, protobuf...
Other
2.05k stars 500 forks source link

example/cuda编译错误 #952

Closed bppan closed 2 years ago

bppan commented 3 years ago

cd example/cuda blade build :template

Blade(info): Loading BUILD files... cuda/BUILD:10: error: template: Invalid source file name: "template.cu", must ends with ['s', 'c', 'cxx', 'cc', 'cp', 'c++', 'asm', 'C', 'S', 'cpp', 'CPP'] cuda/BUILD:16: error: cu_test: Invalid source file name: "cu_test.cu", must ends with ['s', 'c', 'cxx', 'cc', 'cp', 'c++', 'asm', 'C', 'S', 'cpp', 'CPP'] Blade(info): Loading done. Blade(error): There are 2 errors in the load stage Blade(info): Cost time 0.0376s Blade(error): Failure

cu_binary的srcs是.cu报错了

chen3feng commented 3 years ago

confirmed, thanks

zelostech commented 3 years ago

will you support cuda later? looks like the generate function of cudaLib is removed.

chen3feng commented 2 years ago

yes, to be added later.