-
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
Clear up CMake confusion under Majel Directory #2122
Comments
TO @helinwang
其实是这样,在cmake中, 删掉add_dependencies,貌似也能编译。其实不是这样,如果依赖关系更复杂一些,并且你开启并行编译的话,
因为我们所有的第三方库都是采用了CMake的
所以这里的
下一个PR就换哈
最早的时候,我也确实是你这样设计的,但是因为是第三方的库文件,其实我们一般是不应该删的,移到专门的third_party目录,即使你 |
TO @wangkuiyi
You can ignore this code snippet. Because it's to support the Majel compilation under if(GTEST_INCLUDE_DIR AND GTEST_LIBRARIES)
...
else()
**Acutally, this part is only needed when you want to build
majel in `Paddle/paddle/majel` directory**.
Because it's an independent `CMake build project` in
`Paddle/paddle/majel`, It cannot get any global
information from Paddle CMake.
endif()
Yeah, sounds reasonable. I will try this in next PR.
I didn't modify the order of header files. I guess clang-format will do it automatically.
me too. maybe next PR. |
Great! Thanks! I created the following issues as the action items: |
I found there are some confusion in #2118, I will explain all of them in here.
The text was updated successfully, but these errors were encountered: