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

Updating HPX to V1.2 #4778

Merged
merged 2 commits into from
Jan 23, 2019
Merged

Conversation

hkaiser
Copy link
Contributor

@hkaiser hkaiser commented Nov 20, 2018

No description provided.

@@ -65,7 +61,7 @@ endif()

file(GLOB DLLS ${CURRENT_PACKAGES_DIR}/lib/hpx/*.dll)
if(DLLS)
file(COPY ${DLLS} DESTINATION ${CURRENT_PACKAGES_DIR}/bin)
file(COPY ${DLLS} DESTINATION ${CURRENT_PACKAGES_DIR}/bin/hpx)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why the change to put DLLs in a subdirectory? This will break our applocal deployment script.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

HPX relies on those DLL's to be in that subdirectory. They are loaded in special ways at runtime.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also, I think HPX doesn't like to be deployed to the application directory, I believe we have talked about some specific problems that has caused us. Is there a way disable deployment for HPX?

Copy link
Contributor

Choose a reason for hiding this comment

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

Right; moving the binaries to this subdirectory will cause the binaries to not be deployed to the application directory, however any users will simply fail to run in this case (they'll hit F5 and their program will immediately crash).

When you say that HPX doesn't like to be deployed to the app directory and that you have special ways to load it at runtime, what do you mean specifically? Do you need to be deployed into a subdirectory of the app folder?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ras0219-msft In general it's the easiest to leave the HPX binaries where they have been installed. I will need to investigate this a bit further to ensure your app-deployment doesn't break things for us.

For now, let's go ahead with this PR as is (just leaving the binaries in the HPX subdir undeployed, HPX will work without them).

@hkaiser
Copy link
Contributor Author

hkaiser commented Dec 13, 2018

May I ask that this will be merged as is (for the time being)?

@ras0219-msft
Copy link
Contributor

Thanks and sorry for the long holiday delay!

@ras0219-msft ras0219-msft merged commit 07f1d2f into microsoft:master Jan 23, 2019
@hkaiser hkaiser deleted the update_hpx branch January 23, 2019 13:26
@hkaiser
Copy link
Contributor Author

hkaiser commented Jan 23, 2019

@ras0219-msft Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants