Created
December 23, 2011 14:15
-
-
Save butlermh/1514319 to your computer and use it in GitHub Desktop.
Snippet from Hadoop build script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# note you need to set the following environment variables | |
# NATIVE - the native LZO library location | |
# ANT17 - your Ant 1.7 installation | |
# FORREST_HOME - your Apache Forrest 0.8 installation | |
# HADOOP_VERSION - the version you are giving Hadoop | |
# JAVA_HOME - your Java isntallation | |
env CFLAGS=-m64 CXXFLAGS=-m64 C_INCLUDE_PATH=$NATIVE/include | |
LIBRARY_PATH=$NATIVE/lib LD_LIBRARY_PATH=$NATIVE/lib | |
JAVA_LIBRARY_PATH=$NATIVE/lib $ANT17 -Dcompile.native=true | |
-Dcompile.c++=true -Dlibrecordio=true -Dtest.junit.output.format=xml | |
-Dtest.output=yes -Djava5.home=$JAVA_HOME -Dforrest.home=$FORREST_HOME | |
-Dversion=$HADOOP_VERSION clean compile package mvn-install test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment