mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-04 20:25:10 +08:00
backport changes in tip related to eigen_gen_docs
This commit is contained in:
parent
746d8b7ce9
commit
eb1df142a3
@ -4,18 +4,17 @@
|
|||||||
# TODO : display error msg on stderr instead of stdout
|
# TODO : display error msg on stderr instead of stdout
|
||||||
|
|
||||||
# configuration
|
# configuration
|
||||||
USER='orzel'
|
# You should call this script with USER set as you want, else some default
|
||||||
|
# will be used
|
||||||
|
USER=${USER:-'orzel'}
|
||||||
|
|
||||||
# step 1 : update
|
# step 1 : build
|
||||||
hg pull -u || (echo "update failed"; exit 1)
|
|
||||||
|
|
||||||
# step 2 : build
|
|
||||||
# todo if 'build is not there, create one:
|
# todo if 'build is not there, create one:
|
||||||
#mkdir build
|
#mkdir build
|
||||||
(cd build && cmake .. && make -j3 doc) || (echo "make failed"; exit 1)
|
(cd build && cmake .. && make -j3 doc) || (echo "make failed"; exit 1)
|
||||||
#todo: n+1 where n = number of cpus
|
#todo: n+1 where n = number of cpus
|
||||||
|
|
||||||
#step 3 : upload
|
#step 2 : upload
|
||||||
BRANCH=`hg branch`
|
BRANCH=`hg branch`
|
||||||
if [ $BRANCH == "default" ]
|
if [ $BRANCH == "default" ]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user