mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2025-04-11 03:20:46 +01:00
update build helper scripts
This commit is contained in:
parent
a620ff7b1c
commit
4823426d55
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
rm -rf .buildutils
|
rm -rf .buildutils
|
||||||
mkdir -p .buildutils/m4
|
mkdir -p .buildutils/m4
|
||||||
./update_eigen.sh eigen-3.3.8.tar.bz2
|
./update_eigen.sh eigen-3.4.0.tar.bz2
|
||||||
autoreconf -fvi
|
autoreconf -fvi
|
||||||
|
24
build.sh
24
build.sh
@ -1,24 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
PREFIX=`cat Makefile | grep '^prefix =' | awk '{print $3}'`
|
|
||||||
case $1 in
|
|
||||||
'')
|
|
||||||
echo '-- building...'
|
|
||||||
make -j8
|
|
||||||
echo '-- installing...'
|
|
||||||
make uninstall 1>/dev/null
|
|
||||||
make install 1>/dev/null;;
|
|
||||||
# if [[ `basename \`pwd\`` == "lib" ]]
|
|
||||||
# then
|
|
||||||
# echo '-- creating debug symbols...'
|
|
||||||
# dsymutil .libs/libLatAnalyze.0.dylib -o ${PREFIX}/lib/libLatAnalyze.0.dylib.dSYM
|
|
||||||
# fi;;
|
|
||||||
'clean')
|
|
||||||
echo '-- cleaning...'
|
|
||||||
make -j8 clean;;
|
|
||||||
*)
|
|
||||||
echo 'error: unknown action' 1>&2
|
|
||||||
exit 1;;
|
|
||||||
esac
|
|
Loading…
x
Reference in New Issue
Block a user