Ticket #11857 (closed: fixed)
Whitelist DLLs for Windows package
Reported by: | Martyn Gigg | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | major | Milestone: | Release 3.5 |
Component: | Framework | Keywords: | Maintenance |
Cc: | Blocked By: | ||
Blocking: | Tester: | Federico Montesino Pouzols |
Description (last modified by Martyn Gigg) (diff)
The Windows package contains quite a few libraries, mostly debug variants, that shouldn't be there. They are bloating the installer by ~40Mb. Now that we have included ParaView it would be good to reduce this down.
The current packaging script just pulls in most dlls from third party with a few exceptions using a glob. We should have more control over what is added and define a whitelist of dlls to include.
Change History
comment:1 Changed 5 years ago by Martyn Gigg
- Status changed from new to inprogress
- Description modified (diff)
comment:2 Changed 5 years ago by Martyn Gigg
Define a list of third party dlls to deploy
This will avoid accidentally dropping something into the repository and having it automatically included in the package. Refs #11857
Changeset: ef54154b31c41c626ddfabe584575c4aaeef23ed
comment:4 Changed 5 years ago by Martyn Gigg
Define a list of third party dlls to deploy
This will avoid accidentally dropping something into the repository and having it automatically included in the package. Refs #11857
Changeset: b9e1b202b626366156d39557103495bae2c0b4b0
comment:6 Changed 5 years ago by Martyn Gigg
- Status changed from inprogress to verify
- Resolution set to fixed
This is being verified as pull request #803.
comment:7 Changed 5 years ago by Martyn Gigg
The doc tests failure is just the unreliable DownloadFile failure and not related to these changes.
comment:8 Changed 5 years ago by Federico Montesino Pouzols
- Status changed from verify to verifying
- Tester set to Federico Montesino Pouzols
comment:9 Changed 5 years ago by Federico Montesino Pouzols
DownloadFileTest strikes back, but the package has been built successfully on isis-ndw1490 and should be there (unless it is removed after the doc-test failure). Is there any way to get it? I can't find anything through the Jenkins Workspace etc.
I noticed that CPack is taking over 10 minutes even after these changes.
comment:10 Changed 5 years ago by Federico Montesino Pouzols
Oh sorry, now I can see it. But it seems to be around 181 MB.
comment:11 Changed 5 years ago by Martyn Gigg
I see what has happened now. My test build didn't include the documentation, which actually accounts for the 40Mb :( Despite this, I think the changes are still worthwhile as it will prevent new dlls that are added the the Third Party from being included unless they are specifically requested.
comment:12 Changed 5 years ago by Federico Montesino Pouzols
The win64 package installs well, and I could not see any issues that should have been obvious if there was anything wrong with the dlls. So let's merge it in. This should produce cleaner installations and also a smaller package even if the gain cannot be that big.
The release notes will need an update if it's not feasible to shrink the package that much.
comment:13 Changed 5 years ago by Martyn Gigg
Define a list of third party dlls to deploy
This will avoid accidentally dropping something into the repository and having it automatically included in the package. Refs #11857
Changeset: b9e1b202b626366156d39557103495bae2c0b4b0
comment:14 Changed 5 years ago by Martyn Gigg
comment:15 Changed 5 years ago by Federico Montesino Pouzols
- Status changed from verifying to closed
Merge pull request #803 from mantidproject/11857_whitelist_win_package_dlls
Whitelist dlls for Windows package
Full changeset: 5c744fa628ddf9ef9a8c134029e04f4b21dc9c0e
comment:16 Changed 5 years ago by Martyn Gigg
Good point. I'll update the notes to remove the entry as it's now more of a maintenance.
comment:17 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 12695