-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[cmake] add brpc third party cache #54522
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
@risemeup1,帮忙看一个问题,CI-CINN 几个单测报错,报的错有点奇怪,Rerun 了也没用,我本地用 CI 的 cmake 编译能够复现,然后我切换回 develop 分支编译(删了 build/third_party)还是会报错 |
CINN本地的问题,他们在修复 |
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${LIBMCT_INSTALL_ROOT} | ||
-DCMAKE_BUILD_TYPE=${THIRD_PARTY_BUILD_TYPE} | ||
CMAKE_CACHE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${LIBMCT_INSTALL_ROOT} | ||
-DCMAKE_BUILD_TYPE=${THIRD_PARTY_BUILD_TYPE}) | ||
CMAKE_CACHE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${LIBMCT_INSTALL_ROOT}) |
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.
改这里是为了修复一个 CMake Warning(同 xbyak.cmake):
CMake Warning at /home/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/ExternalProject.cmake:1641 (message):
Line 'CMAKE_BUILD_TYPE=Release' does not match regex. Ignoring.
Call Stack (most recent call first):
/home/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/ExternalProject.cmake:2904 (_ep_command_line_to_initial_cache)
/home/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/ExternalProject.cmake:2941 (_ep_extract_configure_command)
/home/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/ExternalProject.cmake:3227 (_ep_add_configure_command)
cmake/external/libmct.cmake:57 (ExternalProject_Add)
cmake/third_party.cmake:407 (include)
CMakeLists.txt:566 (include)
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
PR types
Others
PR changes
Others
Description