Changeset b6f563b4 in sasview for build_tools
- Timestamp:
- May 24, 2016 6:58:08 AM (9 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- bf3ca1e
- Parents:
- 934ce649
- Location:
- build_tools
- Files:
-
- 2 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
build_tools/jenkins_linux_build.sh
r243fbc0 rb6f563b4 1 #! /bin/sh 1 export PATH=$PATH:/usr/local/bin/ 2 2 3 # try to find reasonable settings, if not provided in the environment4 3 PYTHON=${PYTHON:-`which python`} 5 4 EASY_INSTALL=${EASY_INSTALL:-`which easy_install`} 6 5 PYLINT=${PYLINT:-`which pylint`} 7 BUILD_TOOLS_DIR=`dirname $0` 8 WORKSPACE=${WORKSPACE:-`readlink -f $BUILD_TOOLS_DIR/..`} 9 # WORKSPACE top level of source 6 7 export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview/utils 8 export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview/sasview-install 9 10 10 11 11 cd $WORKSPACE 12 13 # SASMODLES 14 cd $WORKSPACE 15 cd sasmodels 16 17 rm -rf build 18 rm -rf dist 19 20 $PYTHON setup.py clean 21 $PYTHON setup.py build 22 23 24 # SASMODLES - BUILD DOCS 25 cd doc 26 make html 27 28 cd $WORKSPACE 29 cd sasmodels 30 $PYTHON setup.py bdist_egg 31 32 33 # SASVIEW 34 cd $WORKSPACE 35 cd sasview 12 36 rm -rf sasview-install 13 mkdir sasview-install 37 mkdir sasview-install 38 rm -rf utils 39 mkdir utils 14 40 rm -rf dist 15 41 rm -rf build 16 42 17 "$EASY_INSTALL" -d "$WORKSPACE/utils" bumps==0.7.5.918 "$EASY_INSTALL" -d "$WORKSPACE/utils" periodictable==1.3.019 43 20 export PYTHONPATH=$WORKSPACE/sasview-install:$WORKSPACE/utils:$PYTHONPATH 44 # INSTALL SASMODELS 45 cd $WORKSPACE 46 cd sasmodels 47 cd dist 48 $EASY_INSTALL -d $WORKSPACE/sasview/utils sasmodels*.egg 21 49 22 $PYTHON check_packages.py23 $PYTHON setup.py bdist_egg24 50 25 cd $WORKSPACE/dist 26 # ln -s sasview*.egg sasview.egg || true 27 $EASY_INSTALL -N -d ../sasview-install sasview*.egg 51 # BUILD SASVIEW 52 cd $WORKSPACE 53 cd sasview 54 $PYTHON setup.py clean 55 $PYTHON setup.py build docs bdist_egg 28 56 57 58 # INSTALL SASVIEW 59 cd $WORKSPACE 60 cd sasview 61 cd dist 62 $EASY_INSTALL -d $WORKSPACE/sasview/sasview-install sasview*.egg 63 64 65 # TEST 66 cd $WORKSPACE 67 cd sasview 68 cd test 69 $PYTHON utest_sasview.py 70 71 # PYLINT 72 cd $WORKSPACE 73 cd sasview 74 $PYLINT --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview*.egg/sas sasview | tee test/sasview.txt 75 76
Note: See TracChangeset
for help on using the changeset viewer.