Changeset b6f563b4 in sasview for build_tools


Ignore:
Timestamp:
May 24, 2016 6:58:08 AM (3 years ago)
Author:
trnielsen
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
Message:

Update linux build script. Deleted jenkins_win32_py27_build.bat and jenkins_win_pylint.bat. Not used.

Location:
build_tools
Files:
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • build_tools/jenkins_linux_build.sh

    r243fbc0 rb6f563b4  
    1 #! /bin/sh 
     1export PATH=$PATH:/usr/local/bin/ 
    22 
    3 # try to find reasonable settings, if not provided in the environment 
    43PYTHON=${PYTHON:-`which python`} 
    54EASY_INSTALL=${EASY_INSTALL:-`which easy_install`} 
    65PYLINT=${PYLINT:-`which pylint`} 
    7 BUILD_TOOLS_DIR=`dirname $0` 
    8 WORKSPACE=${WORKSPACE:-`readlink -f $BUILD_TOOLS_DIR/..`} 
    9 # WORKSPACE top level of source 
     6 
     7export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview/utils 
     8export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview/sasview-install 
     9 
    1010 
    1111cd $WORKSPACE 
     12 
     13# SASMODLES 
     14cd $WORKSPACE 
     15cd sasmodels 
     16 
     17rm -rf build 
     18rm -rf dist 
     19 
     20$PYTHON setup.py clean 
     21$PYTHON setup.py build 
     22 
     23 
     24# SASMODLES - BUILD DOCS 
     25cd  doc 
     26make html 
     27 
     28cd $WORKSPACE 
     29cd sasmodels 
     30$PYTHON setup.py bdist_egg 
     31 
     32 
     33# SASVIEW 
     34cd $WORKSPACE 
     35cd sasview 
    1236rm -rf sasview-install 
    13 mkdir sasview-install 
     37mkdir  sasview-install 
     38rm -rf utils 
     39mkdir  utils 
    1440rm -rf dist 
    1541rm -rf build 
    1642 
    17 "$EASY_INSTALL" -d "$WORKSPACE/utils" bumps==0.7.5.9 
    18 "$EASY_INSTALL" -d "$WORKSPACE/utils" periodictable==1.3.0 
    1943 
    20 export PYTHONPATH=$WORKSPACE/sasview-install:$WORKSPACE/utils:$PYTHONPATH 
     44# INSTALL SASMODELS 
     45cd $WORKSPACE 
     46cd sasmodels 
     47cd dist 
     48$EASY_INSTALL -d $WORKSPACE/sasview/utils sasmodels*.egg 
    2149 
    22 $PYTHON check_packages.py 
    23 $PYTHON setup.py bdist_egg 
    2450 
    25 cd $WORKSPACE/dist 
    26 # ln -s sasview*.egg sasview.egg || true 
    27 $EASY_INSTALL -N -d ../sasview-install sasview*.egg 
     51# BUILD SASVIEW 
     52cd $WORKSPACE 
     53cd sasview 
     54$PYTHON setup.py clean 
     55$PYTHON setup.py build docs bdist_egg 
    2856 
     57 
     58# INSTALL SASVIEW 
     59cd $WORKSPACE 
     60cd sasview 
     61cd dist 
     62$EASY_INSTALL -d $WORKSPACE/sasview/sasview-install sasview*.egg 
     63 
     64 
     65# TEST 
     66cd $WORKSPACE 
     67cd sasview 
     68cd test 
     69$PYTHON utest_sasview.py 
     70 
     71# PYLINT 
     72cd $WORKSPACE 
     73cd 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.