wiki:AdminWrappers

Version 6 (modified by davea, 6 years ago) (diff)

--

Building wrapper/vboxwrapper for release

Update Version Information

Versions numbers are sequential (independent of other version #s).

Update the following files:

  • version.h (WRAPPER_RELEASE, VBOXWRAPPER_RELEASE)
  • configure.ac (same)
  • win_build/<project file>: update the .exe filename for 32/64 bit and debug/release

Commit and push changes to git.

Create Git Tag

Create a new tag for the release.

Wrapper:

wrapper/<version number>

Vboxwrapper:

vboxwrapper/<version number>

Commit and push changes to git.

Build

Windows

If the VBox version has changed, you'll need to download the SDK from Vbox and add the .tlb file (with a name like vbox60.tlb). Then you'll need to create files vbox_mscom60.cpp,h, and add these to the solution.

Execute a Visual Studio command prompt from boinc/winbuild:

$> buildenv.cmd type release platform <x86|x64>
$> build <wrapper|vboxwrapper>
$> <codesignwrap|codesignvbox>

NOTE: the above doesn't currently work. I just built them from VS.

Zip up the EXE and corresponding PDB file into a zip file and upload to the BOINC sever.

Linux

Execute from boinc/:

$> ./_autosetup
$> ./configure --disable-server --disable-client --disable-manager
$> make clean
$> make
$> cd samples/<wrapper|vboxwrapper>
$> make clean
$> make
$> strip <wrapper/vboxwrapper>
$> mv <wrapper/vboxwrapper> <finale executable name>
$> zip <finale executable name>.zip <finale executable name>

Zip up the executable into a zip file and upload to the BOINC server.

Mac

Follow the instructions in boinc/<wrapper/vboxwrapper>/ReadMe.txt for building the wrapper.

Vboxwrapper: https://boinc.berkeley.edu/trac/wiki/VboxApps#Premadevboxwrapperexecutables

Wrapper: https://boinc.berkeley.edu/trac/wiki/WrapperApp