You are here

Shrinking the binary releases

4 posts / 0 new
Last post
mspiegel's picture
Offline
Joined: 07/31/2009 - 15:24
Shrinking the binary releases

I had an idea for shrinking the binary releases. At the moment, we ship the binary release for each platform with copies of NPSOL for all platforms, even though the binary release was built using only one of those copies. After release 0.1.4 has been made available, I'm going to play with the configure script such that only one copy of NPSOL is shipped.

tbates's picture
Offline
Joined: 07/31/2009 - 14:25
Good idea.

Good idea.

mspiegel's picture
Offline
Joined: 07/31/2009 - 15:24
The 0.1.5 windows binary will

The 0.1.5 windows binary will be about 1 MB, which is about half the size of the 0.1.4 windows binary. Sorry folks, you'll have to wait until the next binary release to get the goodness of smaller files.

mspiegel's picture
Offline
Joined: 07/31/2009 - 15:24
First, the good news. The

First, the good news. The windows binary has been shrunk to 1.1 MB, and the OS X binary (on x86) has been shrunk to about 600 kB. Now the bad news. I figured out how to delete the npsol libraries on windows using the R build system. But I couldn't figure out how to delete the npsol libraries on unix using the R build system. So currently this operation is happening within our Makefile. Which means that if/once we move to CRAN, the unix builds will be bloated again.

Also, "make build" now builds binaries on unix systems, and "make winbuild" builds binaries on windows systems.