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
Fix #3124 #3178
Fix #3124 #3178
Conversation
@NK-Nikunj This PR contains the same changes as #3176. Should we close that other one without merging or will you remove that commit from this one? |
@NK-Nikunj The hello world component is failing during cmake configuration (you can see the output by clicking on details on the circleci entry). I believe you need to change |
@msimberg Thank you! |
@NK-Nikunj have you deleted all of the actual code now? Also, please note that if you rely on pkg-config, this has to be enabled for Linux systems only (or if pkg-config was found by cmake). |
aa911fa
to
f49bd16
Compare
To re-iterate: the purpose of the original example was to demonstrate how an external program depending on HPX can be built. We ran into issues as at some point the example was not compiling anymore. #3124 proposed to solve this by adding the code to the CI system, ensuring that any future changes wouldn't break the example. Now, this PR not only proposes to build another (unrelated) example, it also proposes to remove the original example source code (sorry if I misunderstand things). Could you please explain your rationale in more detail? |
@hkaiser I think you have misunderstood what I have proposed. When I asked @sithhell for implementation, he told me that the previous example ( the one that was in src directory ) was being built externally. He told me to build the hello_world_component from that build. What I have done is simply redirect the tests/unit/build/CMakelists.txt to invoke examples/hello_world_component/CMakelists.txt instead of the tests/unit/build/src/CMakelists.txt. Also, I have changed the Makefile accordingly so that hello_world_client can be built. The hello_world_component cmake can also be invoked by a user if he wishes to build hello_world_component by also passing HPX_DIR into cmake command. |
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 now, thanks!
Fixes #3124
Proposed Changes
Edit