source: sasview/build_tools/jenkins_ubuntu_build.sh @ ccf44de

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 ccf44de was ccf44de, checked in by wojciech, 6 years ago

changing spec file to min

  • Property mode set to 100644
File size: 1.0 KB
Line 
1# Set up correct shell
2#!/bin/bash
3
4## Set up path for py36 - conda
5export PATH=/home/sasview/anaconda3/bin:$PATH
6
7
8# Set proxy
9export http_proxy=http://192.168.1.1:8123
10export https_proxy=http://192.168.1.1:8123
11
12# List conda envs already on system
13conda env list
14
15# Make new env from git yml file
16cd $WORKSPACE
17cd sasview
18cd build_tools
19conda env create --force -f conda_qt5_min_ubuntu.yml
20conda env list
21
22# Activate new env
23source activate qt5_ubuntu
24conda list
25conda env list
26
27# Now build Sasview
28
29# Sasmodels
30cd $WORKSPACE
31cd sasmodels
32python setup.py build
33
34cd $WORKSPACE
35cd sasmodels
36cd doc
37make html
38
39cd $WORKSPACE
40cd sasmodels
41python setup.py build install
42
43
44# SasView
45cd $WORKSPACE 
46cd sasview
47python src/sas/qtgui/convertUI.py
48python setup.py build docs
49python setup.py install
50
51# Pyinstaller
52cd $WORKSPACE 
53cd sasview
54cd installers
55pyinstaller sasview_qt5_min_centos.spec
56
57cd $WORKSPACE 
58cd sasview
59cd installers
60cp run_sasview.sh dist/sasview
61cp set_sasview_qt5_path.sh dist/sasview
62cd dist
63mv sasview SasView
64tar czvf SasView.tar.gz SasView
65
Note: See TracBrowser for help on using the repository browser.