-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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: OpenAMP build doesn't work for multiple build directories #10241
Comments
@anchao @xuxin930 Is there any reason why we don't use
|
hi @raiden00pl , I think now this problem is caused by two reasons:
I think we should deal with these two issues separately. for the second issue, I think using |
|
@anchao According to https://cmake.org/cmake/help/latest/module/FetchContent.html#commands
So |
CMake FetchContent vs. ExternalProject
Since too many modules depend on the header files of openamp, if the download of the content is delayed until the build time, it will cause many files to be incorrectly included, In nuttx, it seems like |
typo. Should be: So PATCH_COMMAND is also available for We can use |
All targets that use FetchContent_Declare need to make similar changes:
@xuxin930 , could you please help enhance this feature if feel free ? |
of course😁 @anchao @raiden00pl |
Solved by #10379 and apache/nuttx-apps#1993 |
if we configure another build directory we result in not patched openamp:
in that case it looks like openamp/open-amp is replaced with not patched version.
openamp/.openamp_patch
flag is present so fresh openamp source is not modified.The text was updated successfully, but these errors were encountered: