1 | 12/31/21 build in Jenkins. Use no-arch then Mac |
---|
2 | |
---|
3 | download https://repo.anaconda.com/miniconda/Miniconda3-py39_4.10.3-MacOSX-x86_64.sh |
---|
4 | bash /Users/toby/Downloads/Miniconda3-py39_4.10.3-MacOSX-x86_64.sh -b -p /tmp/Miniconda3-py39_4.10.3 |
---|
5 | source /tmp/Miniconda3-py39_4.10.3/bin/activate |
---|
6 | conda install -c fullrmc fullrmc |
---|
7 | conda install gsas2pkg -c defaults -c conda-forge -c briantoby |
---|
8 | pythonw Miniconda3-py39_4.10.3/GSASII/GSASII.py |
---|
9 | |
---|
10 | |
---|
11 | |
---|
12 | |
---|
13 | Preparing: |
---|
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 | |
---|
22 | Building: |
---|
23 | conda build pylocker |
---|
24 | |
---|
25 | repeat for: |
---|
26 | pylocker |
---|
27 | pypref |
---|
28 | pyrep |
---|
29 | pysimplelog |
---|
30 | pdbparser |
---|
31 | fullrmc |
---|
32 | Upload: |
---|
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 | |
---|
41 | Testing: |
---|
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 | |
---|
50 | redo as noarch: (use conda build ...) |
---|
51 | pylocker |
---|
52 | pysimplelog |
---|
53 | pypref |
---|
54 | |
---|
55 | |
---|
56 | With dependencies for above. N.B. since fullrmc is a current directory |
---|
57 | there 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 | |
---|
69 | Jenkins/Windows build fails with git access problems |
---|
70 | |
---|
71 | On 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 |
---|