Skip to content
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

Merged
merged 4 commits into from
Jun 19, 2023
Merged

Conversation

huangjiyi
Copy link
Member

@huangjiyi huangjiyi commented Jun 10, 2023

PR types

Others

PR changes

Others

Description

@paddle-bot
Copy link

paddle-bot bot commented Jun 10, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added contributor External developers status: proposed labels Jun 10, 2023
@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Jun 12, 2023
@huangjiyi
Copy link
Member Author

@risemeup1,帮忙看一个问题,CI-CINN 几个单测报错,报的错有点奇怪,Rerun 了也没用,我本地用 CI 的 cmake 编译能够复现,然后我切换回 develop 分支编译(删了 build/third_party)还是会报错

@risemeup1
Copy link
Contributor

@risemeup1,帮忙看一个问题,CI-CINN 几个单测报错,报的错有点奇怪,Rerun 了也没用,我本地用 CI 的 cmake 编译能够复现,然后我切换回 develop 分支编译(删了 build/third_party)还是会报错

CINN本地的问题,他们在修复

Comment on lines 67 to +68
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})
Copy link
Member Author

@huangjiyi huangjiyi Jun 13, 2023

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)

@huangjiyi huangjiyi requested a review from risemeup1 June 19, 2023 05:34
Copy link
Contributor

@risemeup1 risemeup1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@risemeup1 risemeup1 merged commit 36a5ff5 into PaddlePaddle:develop Jun 19, 2023
@huangjiyi huangjiyi deleted the clone_brpc branch January 9, 2024 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants