Difference between revisions of "Releasing TAU for Windows"

From Tau Wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Instructions on how to build the TAU's MAC OS X distribution. =
+
= BUILDING TAU windows release =
  
= Simple use =
+
* Connect to xp.nic.uoregon.edu
 +
* Open cygiwn termial and navagate to /home/tau/tau
 +
* run:
  
  ./build_dmg.sh ~/tau-2.22.2.tgz 2.22.2
+
  build-windows-release.sh <version, ie 2.23>
  
This will create a new tau-2.22.2.dmg in this directory.
+
It will build a new relase of TAU for the windows platform.
  
== What this script actually does ==
+
* verify that the build was successfully by checking for
  
This script will take a gzipped tarball, uncompress, configure and build TAU
+
tau-profile.dll
for the apple platform (PPC and Intel). It then takes this build of TAU and
+
tau-profile.exp
places it in /Applications/TAU/tau where all the Apple Apps. (ParaProf.app
+
tau-profile.lib
etc...) expect it to be. /Applications/TAU is then copied to a preallocated disk
+
tau-profile-static.lib
image which is compressed and written out to the file system as a *.dmg file.
+
tau-profile-static-mt.lib
  
!WARNING! This script uses /Applications/TAU as a staging area, files present in
+
In tau2/win32/lib
this directory could be lost.
 
  
!CAUTION! This script uses a preallocated disk partition of size 500MB. If in
+
== Steps the script takes ==
the future TAU's distribution exceeds this size a new partition will need to be
 
created. This can be done with Apple's disk image utility. You will want to
 
create a larger sparse disk image to replace this one:
 
  
disk_template/rw_template.sparseimage
+
1. Gets the tar ball from the web server: http://www.cs.uoregon.edu/research/paracomp/tau/tauprofile/dist the tar ball must be present here
 +
before the script can continue.
  
== How the installation works ==
+
2. Compiles TAU using the 'Makefile.win32', Hint if there is compiler errors it is often helpful to run the make command directly, see '2-build.bat'.
  
The finished directory structure should look like this:
+
3. Compiling was successful if tau-profile.dll, tau-profile.exp, tau-profile.lib, tau-profile-static.lib, tau-profile-static-mt.lib were  all created in
 +
tau2/win32/lib.
  
 
+
4. 'makensis' is used to create the final exe with the installer.
  / Applications / TAU /
 
                      inital_setup
 
                      inital_setup.sh
 
                      Jumpshot
 
                      ParaProf
 
                      PerfDMF_Configure
 
                      PerfExplorer
 
                      PerfExplorer_Configure
 
                      set_path.sh
 
                      tau /
 
                      tauIcon.icns
 
 
 
The only thing that changes between releases of TAU is the 'tau' directory
 
everything remains unchanged. Jumpshop, ParaProf, PerfDMF_Configure,
 
PerfExplorer, PerfExplorer_Configure are Mac native applications and are basicly
 
wrappers for the shell scripts used under linux.
 
 
 
inital_setup.sh is run each time one of these applications is run, it checks for the
 
presence of 'inital_setup' if found it asks the user if the MAC shell path should be
 
modified, then removes the 'inital_setup' file (this it only ask the first time
 
someone launches an application).
 
 
 
set_path.sh modifies the user's shell path to add the TAU binary directory to
 
it.
 

Latest revision as of 21:09, 13 March 2014

BUILDING TAU windows release

  • Connect to xp.nic.uoregon.edu
  • Open cygiwn termial and navagate to /home/tau/tau
  • run:
build-windows-release.sh <version, ie 2.23>

It will build a new relase of TAU for the windows platform.

  • verify that the build was successfully by checking for
tau-profile.dll
tau-profile.exp
tau-profile.lib
tau-profile-static.lib
tau-profile-static-mt.lib

In tau2/win32/lib

Steps the script takes

1. Gets the tar ball from the web server: http://www.cs.uoregon.edu/research/paracomp/tau/tauprofile/dist the tar ball must be present here before the script can continue.

2. Compiles TAU using the 'Makefile.win32', Hint if there is compiler errors it is often helpful to run the make command directly, see '2-build.bat'.

3. Compiling was successful if tau-profile.dll, tau-profile.exp, tau-profile.lib, tau-profile-static.lib, tau-profile-static-mt.lib were all created in tau2/win32/lib.

4. 'makensis' is used to create the final exe with the installer.