source: fullrmc-pkg/notes

Last change on this file was 5277, checked in by toby, 5 months ago

reorg pdffit

File size: 1.7 KB
Line 
112/31/21 build in Jenkins. Use no-arch then Mac
2
3download https://repo.anaconda.com/miniconda/Miniconda3-py39_4.10.3-MacOSX-x86_64.sh
4bash /Users/toby/Downloads/Miniconda3-py39_4.10.3-MacOSX-x86_64.sh -b -p /tmp/Miniconda3-py39_4.10.3
5source /tmp/Miniconda3-py39_4.10.3/bin/activate
6conda install -c fullrmc fullrmc
7conda install gsas2pkg -c defaults -c conda-forge -c briantoby
8pythonw Miniconda3-py39_4.10.3/GSASII/GSASII.py
9
10
11
12
13Preparing:
14
15        bash ~/Downloads/Miniconda3-latest-MacOSX-x86_64.sh
16        source .../bin/activate
17        conda update --all
18        conda install conda-build anaconda-client
19
20        (anaconda-client is used for uploads)
21
22Building:
23        conda build pylocker
24
25        repeat for:
26               pylocker
27               pypref       
28               pyrep
29               pysimplelog
30               pdbparser
31               fullrmc
32Upload:
33
34        conda login
35        anaconda upload --user fullrmc /Users/toby/Scratch/minifrmc/conda-bld/osx-64/fullrmc-4.1.0-py37_0.tar.bz2
36
37        or
38
39        anaconda upload --user fullrmc /Users/toby/Scratch/minifrmc/conda-bld/osx-64/*tar*
40
41Testing:
42
43        bash ~/Downloads/Miniconda3-latest-MacOSX-x86_64.sh
44       
45        source /tmp/t3/bin/activate
46        conda update --all
47
48        conda install fullrmc -c fullrmc
49
50redo as noarch: (use conda build ...)
51     pylocker
52     pysimplelog
53     pypref         
54
55
56With dependencies for above. N.B. since fullrmc is a current directory
57there is a conflict
58        use:
59                conda install pylocker -c fullrmc
60                conda build
61        or     
62                conda build ./fullrmc-pkg/pyrep -c fullrmc
63
64     pyrep
65     pdbparser
66
67     fullrmc
68
69Jenkins/Windows build fails with git access problems
70
71On VM install minconda then
72   conda install conda-build anaconda-client svn git
73
74   svn co https://subversion.../fullrmc-pkg
75
76
77   then microsoft visual studio 2015(!). Customize to get c++ compiler.
78
79   Do build in Developer Command Prompt for VS2015
Note: See TracBrowser for help on using the repository browser.