Fixes to script to build self-contained matlab toolbox packages
parent
9938b4785d
commit
403c6e39ad
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Detect platform
|
# Detect platform
|
||||||
os=`uname -s`
|
os=`uname -s`
|
||||||
arch=`uname -p`
|
arch=`uname -m`
|
||||||
if [ "$os" = "Linux" -a "$arch" = "x86_64" ]; then
|
if [ "$os" = "Linux" -a "$arch" = "x86_64" ]; then
|
||||||
platform=lin64
|
platform=lin64
|
||||||
elif [ "$os" = "Linux" -a "$arch" = "i686" ]; then
|
elif [ "$os" = "Linux" -a "$arch" = "i686" ]; then
|
||||||
|
@ -37,7 +37,7 @@ if [ ! $? ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Compile
|
# Compile
|
||||||
make -j4 install
|
make install
|
||||||
|
|
||||||
# Create package
|
# Create package
|
||||||
tar czf gtsam-toolbox-2.1.0-$platform.tgz -C stage/borg toolbox
|
tar czf gtsam-toolbox-2.1.0-$platform.tgz -C stage/borg toolbox
|
||||||
|
|
Loading…
Reference in New Issue