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