Ticket #3676 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Windows installer includes all header files

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: major Milestone: Iteration 30
Component: Mantid Keywords:
Cc: taylorrj@…, nick.draper@… Blocked By:
Blocking: Tester: Russell Taylor

Description

A recent checking caused the number of files that wxs processes to exceed 10000 and the file ID that the script generated went over the 8.3 character limit on windows. This can be fixed rather easily but it appears we ship all of our includes in the installer. Do we need to do this? Should we not just ship Kernel, Geometry and API?

Change History

comment:1 Changed 9 years ago by Russell Taylor

Definitely. And the (extremely) new NexusCPP. (Do we really have >10,000 headers?!)

comment:2 Changed 9 years ago by Martyn Gigg

I think it's boost that gives us that near that level. It's not just headers either it's probably the python includes as well.

comment:3 Changed 9 years ago by Russell Taylor

It would certainly help the download size if we didn't ship all the boost headers (135M uncompressed). Though stripping it down to only those we use would likely lead to maintenance issues down the road (ameliorated if we had an automated check of some kind).

comment:4 Changed 9 years ago by Martyn Gigg

Agreed. The problem with trying to automate it is being able to pick up which headers are then used by the ones we include. Visual Studio has a /showincludes switch which could be used in a small isolated program to pick them up, it shouldn't be too difficult to write.

comment:5 Changed 9 years ago by Martyn Gigg

In [14484]:

Added new NexusCPP library to Windows installer and made a start at cutting down on the number of include files we ship. Refs #3515 and refs #3676.

comment:18 Changed 9 years ago by Martyn Gigg

In [14611]:

Fix the windows installer by adding back two Qt dependencies. Re #3676

comment:19 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 30 to Iteration 31

Bulk move of tickets to iteration 31 at the iteration 30 code freeze

comment:20 Changed 9 years ago by Nick Draper

  • Status changed from new to assigned
  • Owner set to Martyn Gigg
  • Milestone changed from Iteration 31 to Iteration 30

comment:21 Changed 9 years ago by Martyn Gigg

The immediate problem is been solved and the installers work again.

A long term solution is suggested here: #3739

comment:22 Changed 9 years ago by Martyn Gigg

  • Status changed from assigned to accepted

comment:23 Changed 9 years ago by Martyn Gigg

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:24 Changed 9 years ago by Russell Taylor

  • Status changed from verify to verifying
  • Tester set to Russell Taylor

comment:25 Changed 9 years ago by Russell Taylor

  • Status changed from verifying to closed

The installer now only includes the headers for Kernel, Geometry, API & NexusCPP - plus boost, Poco & napi.h - and is (a bit - about 3MB) smaller. Confirmed that I was able to build UserAlgorithms off of what's provided.

comment:26 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4523

Note: See TracTickets for help on using tickets.