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
Merge hpx_init and hpx_wrap into one static library #4462
Conversation
Flyby: I've attempted to simplify some things in the |
7a65aee
to
fb251a2
Compare
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, thanks a lot!
fb251a2
to
47a54cf
Compare
I've updated this again. I had to add a separate config file for the init library, otherwise |
Compile tests are written in the form of executables (with main), and some include hpx_main.hpp (from hpx_init).
5d5f041
to
6f47722
Compare
The latest commit changed compile tests to be executables rather than static libraries. This is due to to all of them being written with a main function and a few of them even including |
I don't know how it was triggered, but an ugly hack that I put in place for the header tests in the compute modules was causing problems. I've removed the hack as it's not needed anymore. |
Built it on windows and except the broken "quickstart/search_by_key_demo" example it worked. |
Change hello_world_component to use hpx_main.hpp to test that hpx_main.hpp is installed correctly.
Merges
hpx_init
andhpx_wrap
, and moves them out of the main source directories. This seems to work on Linux at least, will wait and see that Windows and macOS also like this change. In theory there should be no problems with them being merged.Fixes #4466 (maybe).