blob: 26155ed428bd52c9553cdc983bd80c112587fdfa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/bin/sh
echo "*** EIGEN2-SVN Update utility"
echo "*** This gets a new eigen2-svn tree and adapts it to blenders build structure"
echo "*** Warning! This script will wipe all the header file"
echo "*** Please run again with --i-really-know-what-im-doing ..."
if [ "x$1" = "x--i-really-know-what-im-doing" ] ; then
echo proceeding...
else
exit -1
fi
# get the latest revision from repository.
hg clone http://bitbucket.org/eigen/eigen2
if [ -d eigen2 ]
then
cd eigen2
# put here the version you want to use
hg up 2.0.6
rm -f `find Eigen/ -type f -name "CMakeLists.txt"`
cp -r Eigen ..
cd ..
rm -rf eigen2
else
echo "Did you install Mercurial?"
fi
|