-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add cudnn-frontend and dirent #54461
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
endif() | ||
endfunction() | ||
|
||
download_dirent() | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果之前下载了到源码目录了,再重新执行,会再次下载吗?还是会覆盖掉?是否需要判断一下再决定下不下载呢?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
set(DIRENT_URL | ||
"https://github.com/tronkko/dirent/archive/refs/tags/1.23.2.tar.gz" | ||
CACHE STRING "" FORCE) | ||
set(DIRENT_CACHE_FILENAME "1.23.2.tar.gz") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
win10下面使用cmake-gui编译时会因为DIRENT_CACHE_FILENAME这个变量没有设置而无法下载dirent然后报错,建议将set(DIRENT_CACHE_FILENAME "1.23.2.tar.gz")放到endif()后面,这样才能保证DIRENT_CACHE_FILENAME这个变量始终可以正确设置。
PR types
Performance optimization
PR changes
Others
Description
#54305