source: sasview/build_tools/jenkins_qt5_centos.sh @ 933f9e9

ESS_GUIESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since 933f9e9 was 933f9e9, checked in by trnielsen, 6 years ago

build script for centos

Changes to be committed:

new file: jenkins_qt5_centos.sh

  • Property mode set to 100644
File size: 806 bytes
Line 
1# Activate new env
2cd $WORKSPACE
3cd sasview
4cd build_tools
5
6conda_env_name="$(grep 'name: ' conda_qt5_min_centos.yml)"
7echo $conda_env_name
8conda_env_name=${conda_env_name:6}
9echo $conda_env_name
10
11source activate $conda_env_name
12
13
14# Now build Sasview
15
16# Sasmodels
17cd $WORKSPACE
18cd sasmodels
19python setup.py build
20
21cd $WORKSPACE
22cd sasmodels
23cd doc
24make html
25
26cd $WORKSPACE
27cd sasmodels
28python setup.py build install
29
30
31# SasView
32cd $WORKSPACE 
33cd sasview
34python src/sas/qtgui/convertUI.py
35python setup.py build docs
36python setup.py install
37
38# Pyinstaller
39cd $WORKSPACE 
40cd sasview
41cd installers
42pyinstaller sasview_qt5_min_centos.spec
43
44cd $WORKSPACE 
45cd sasview
46cd installers
47cp run_sasview.sh dist/sasview
48cp set_sasview_qt5_path.sh dist/sasview
49cd dist
50mv sasview SasView
51tar czvf SasView.tar.gz SasView
52
Note: See TracBrowser for help on using the repository browser.