source: sasview/build_tools/jenkins_ubuntu_build.sh @ 44753d6

ESS_GUIESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since 44753d6 was fb3d974, checked in by trnielsen, 7 years ago

Build script for Ubuntu 16.04

Changes to be committed:

new file: jenkins_ubuntu_build.sh

New build script added for Ubuntu 16.04 support.

  • Property mode set to 100644
File size: 1.0 KB
RevLine 
[fb3d974]1# Set up correct shell
2#!/bin/bash
3
4## Set up path for py36 - conda
5export PATH=/home/sasview/miniconda3/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_ubuntu.yml
20conda env list
21
22
23# Activate new env
24source activate qt5_ubuntu
25conda list
26conda env list
27
28# Now build Sasview
29
30# Sasmodels
31cd $WORKSPACE
32cd sasmodels
33python setup.py build
34
35cd $WORKSPACE
36cd sasmodels
37cd doc
38make html
39
40cd $WORKSPACE
41cd sasmodels
42python setup.py build install
43
44
45# SasView
46cd $WORKSPACE 
47cd sasview
48python src/sas/qtgui/convertUI.py
49python setup.py build docs
50python setup.py install
51
52# Pyinstaller
53cd $WORKSPACE 
54cd sasview
55cd installers
56pyinstaller sasview_qt5_centos.spec
57
58cd $WORKSPACE 
59cd sasview
60cd installers
61cp run_sasview.sh dist/sasview
62cp set_sasview_qt5_path.sh dist/sasview
63cd dist
64mv sasview SasView
65tar czvf SasView.tar.gz SasView
66
Note: See TracBrowser for help on using the repository browser.