hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "HowToRelease" by MattFoley
Date Fri, 11 Nov 2011 23:41:16 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "HowToRelease" page has been changed by MattFoley:
http://wiki.apache.org/hadoop/HowToRelease?action=diff&rev1=69&rev2=70

Comment:
Update build arguments for current usage.

  
  = Building =
  
- 	1. Build the release & run unit tests.  This is captured in [[http://svn.apache.org/viewvc/hadoop/nightly/hudsonBuildHadoopRelease.sh?view=markup]].
{{{
+ 	1. Build the release & run unit tests.  This is captured in part in [[http://svn.apache.org/viewvc/hadoop/nightly/hudsonBuildHadoopRelease.sh?view=markup]].
 The three parts of this command are intended to be run cumulatively: {{{
+ ## build 32-bit
  export JAVA_HOME=/path/to/32bit/jdk
  export CFLAGS=-m32
  export CXXFLAGS=-m32
- ant -Dversion=X.Y.Z -Dcompile.native=true -Dcompile.c++=true -Dlibhdfs=1 -Dlibrecordio=true
-Dxercescroot=/usr/local/xerces-c -Declipse.home=/usr/lib/eclipse -Dforrest.home=/usr/local/forrest
-Djava5.home=/usr/local/jdk1.5 clean api-report task-controller tar rpm deb test test-c++-libhdfs
+ ant \
+   -Dforrest.home=/usr/local/forrest \
+   -Djava5.home=/usr/local/jdk1.5 \
+   -Dfindbugs.home=/usr/local/findbugs \                                                
                       
+   -Declipse.home=/usr/lib/eclipse \
+   -Dxercescroot=/usr/local/xerces-c \
+   -Dversion=X.Y.Z \
+   -Dhadoop.version=X.Y.Z \                                                             
                         
+   -Dcompile.native=true \
+   -Dcompile.c++=true \
+   -Dlibhdfs=true \
+   -Dlibrecordio=true \
+   -Dtest.junit.output.format=xml \                                                     
                                           
+   veryclean api-report task-controller tar rpm deb test test-c++-libhdfs | tee build_log_dir/build32-X.Y.Z.log
+ 
+ ## build 64-bit
  export JAVA_HOME=/path/to/64bit/jdk
  export CFLAGS=-m64
  export CXXFLAGS=-m64
- ant -Dversion=X.Y.Z -Dcompile.native=true -Dcompile.c++=true compile-core-native compile-c++
tar
+ ant \
+   -Dversion=X.Y.Z \
+   -Dhadoop.version=X.Y.Z \                                                             
                         
+   -Dcompile.native=true \
+   -Dcompile.c++=true \
+   compile-core-native compile-c++ tar rpm deb | tee build_log_dir/build64-X.Y.Z.log
+ 
+ ## run tests (back in 32-bit mode)
+ export JAVA_HOME=/path/to/32bit/jdk
+ export CFLAGS=-m32
+ export CXXFLAGS=-m32
+ ant \
+   -Dfindbugs.home=/usr/local/findbugs \                                                
                       
+   -Declipse.home=/usr/lib/eclipse \
+   -Dxercescroot=/usr/local/xerces-c \
+   -Dversion=X.Y.Z \
+   -Dhadoop.version=X.Y.Z \                                                             
                         
+   -Dcompile.native=true \
+   -Dcompile.c++=true \
+   -Dlibhdfs=true \
+   -Dlibrecordio=true \
+   -Dtest.junit.output.format=xml \                                                     
                                           
+   test test-c++-libhdfs | tee build_log_dir/build32tests-X.Y.Z.log
  }}}
  	1. Check that release file looks ok - e.g. install it and run examples from tutorial.
          1. Generate the checksums of the release file. {{{

Mime
View raw message