1 AdminWrappers
Vitalii Koshura edited this page 2023-04-10 01:58:41 +02:00

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/: 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: VboxApps#Premadevboxwrapperexecutables

Wrapper: WrapperApp