ESS_GUIESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change
on this file since 48df831 was
1095866,
checked in by wojciech, 6 years ago
|
yml file edited to mitigate pyopencl failure
|
-
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 |
---|
5 | export PATH=/home/sasview/anaconda3/bin:$PATH |
---|
6 | export QT_QPA_PLATFORM=offscreen |
---|
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_min_ubuntu.yml |
---|
20 | conda env list |
---|
21 | |
---|
22 | # Activate new env |
---|
23 | source activate qt5_ubuntu |
---|
24 | conda list |
---|
25 | conda env list |
---|
26 | |
---|
27 | # Now build Sasview |
---|
28 | |
---|
29 | # Sasmodels |
---|
30 | cd $WORKSPACE |
---|
31 | cd sasmodels |
---|
32 | python setup.py build |
---|
33 | |
---|
34 | cd $WORKSPACE |
---|
35 | cd sasmodels |
---|
36 | cd doc |
---|
37 | make html |
---|
38 | |
---|
39 | cd $WORKSPACE |
---|
40 | cd sasmodels |
---|
41 | python setup.py build install |
---|
42 | |
---|
43 | |
---|
44 | # SasView |
---|
45 | cd $WORKSPACE |
---|
46 | cd sasview |
---|
47 | python src/sas/qtgui/convertUI.py |
---|
48 | python setup.py build docs install |
---|
49 | |
---|
50 | # Pyinstaller |
---|
51 | cd $WORKSPACE |
---|
52 | cd sasview |
---|
53 | cd installers |
---|
54 | pyinstaller sasview_qt5_min_centos.spec |
---|
55 | |
---|
56 | cd $WORKSPACE |
---|
57 | cd sasview |
---|
58 | cd installers |
---|
59 | cp run_sasview.sh dist/sasview |
---|
60 | cp set_sasview_qt5_path.sh dist/sasview |
---|
61 | cd dist |
---|
62 | mv sasview SasView |
---|
63 | tar czvf SasView.tar.gz SasView |
---|
64 | |
---|
Note: See
TracBrowser
for help on using the repository browser.