Difference between revisions of "Manual build deps"

From CRIU
Jump to navigation Jump to search
(Created page with "Building natively, but specifying built dependencies manually <pre> cd deps rsync -a --exclude=.git --exclude=deps .. criu-`uname -m` cd criu-`uname -m` make \ USERCFL...")
 
(No difference)

Latest revision as of 13:19, 12 July 2017

Building natively, but specifying built dependencies manually

 cd deps
 rsync -a --exclude=.git --exclude=deps .. criu-`uname -m`
 cd criu-`uname -m`
 make \
   USERCFLAGS="-I`pwd`/../`uname -m`-linux-gnu/include -L`pwd`/../`uname -m`-linux-gnu/lib" \
   PATH="`pwd`/../`uname -m`-linux-gnu/bin:$PATH"
 sudo LD_LIBRARY_PATH=`pwd`/../`uname -m`-linux-gnu/lib ./criu check
 cd ../..