65 | | |
| 67 | == Windows 64 build commands == |
| 68 | {{{ |
| 69 | rem ========== Configure |
| 70 | set condaHome=C:\jenkins\conda37-64 |
| 71 | set sysType=win-64 |
| 72 | rem ========== Anaconda stuff |
| 73 | call %condaHome%\Scripts\activate |
| 74 | REM call conda update conda -y |
| 75 | REM call conda create -n py37n119 python=3.7 numpy=1.19 matplotlib=3.3 wxpython=4 conda scipy pillow svn imageio anaconda-client constructor conda-build pyopengl h5py hdf5 pywin32 scons m2w64-gcc-fortran -y |
| 76 | call %condaHome%\Scripts\activate py37n119 |
| 77 | REM call conda install m2w64-gcc-fortran -y |
| 78 | REM call conda install -c msys2 m2w64-ntldd-git |
| 79 | REM call conda list |
| 80 | REM ==================================================================================== |
| 81 | REM rmdir .\GSASII /s /q |
| 82 | REM mkdir .\GSASII |
| 83 | rmdir .\GSASII\AllBinaries /s /q |
| 84 | mkdir .\GSASII\AllBinaries |
| 85 | svn co https://subversion.xray.aps.anl.gov/pyGSAS/trunk/fsource .\GSASII\fsource |
| 86 | cd GSASII\fsource |
| 87 | where gfortran |
| 88 | where scons |
| 89 | call scons -c |
| 90 | call scons install=T |
| 91 | REM LIBGCC=T LIBGFORTRAN=T removed |
| 92 | cd .. |
| 93 | rem #=# find the build dir name; add info to Build notes |
| 94 | for /f "usebackq" %%i in ( `dir .\AllBinaries /ad /b` ) do set newdir=%%i |
| 95 | echo %newdir% |
| 96 | echo on |
| 97 | REM ========== Create a note on how binaries were created ======================= |
| 98 | echo Built with Jeeves from %JOB_NAME% from G2 version %SVN_REVISION% on %NODE_LABELS% >> AllBinaries\%newdir%\Build.notes.txt |
| 99 | REM systeminfo | findstr /B /C:"OS Name" /C:"OS Version" >> AllBinaries\%newdir%\Build.notes.txt |
| 100 | call conda list -f python | findstr /B /C:# /V >> AllBinaries\%newdir%\Build.notes.txt |
| 101 | call conda list -f numpy | findstr /B /C:# /V >> AllBinaries\%newdir%\Build.notes.txt |
| 102 | call conda list -f m2w64-gcc-fortran | findstr /B /C:# /V >> AllBinaries\%newdir%\Build.notes.txt |
| 103 | REM ============ End of note on how binaries were created ======================= |
| 104 | svn co -q https://subversion.xray.aps.anl.gov/pyGSAS/Binaries .\Binaries |
| 105 | rmdir .\Binaries\%newdir% /s |
| 106 | mkdir .\Binaries\%newdir% |
| 107 | copy /y .\AllBinaries\%newdir%\* .\Binaries\%newdir% |
| 108 | REM |
| 109 | rem== Note: see https://anaconda.org/msys2/m2w64-ntldd-git for a utility that can find dependencies. |
| 110 | rem conda install -c msys2 m2w64-ntldd-git |
| 111 | ntldd .\Binaries\%newdir%\*.pyd |
| 112 | rem== (Diffax: files libquadmath-0.dll, libwinpthread-1.dll) |
| 113 | REM dir C:\Jenkins\conda37-64\envs\py37n119\Library\mingw-w64\bin |
| 114 | REM dir C:\Jenkins\conda37-64\envs\py37n119\Library\mingw-w64\lib |
| 115 | REM dir %condaHome%\envs\py37n119\Library\mingw-w64\bin\lib*.dll |
| 116 | copy /y %condaHome%\envs\py37n119\Library\mingw-w64\bin\libgfortran*.dll .\Binaries\%newdir% |
| 117 | ntldd .\Binaries\%newdir%\*.dll |
| 118 | copy /y %condaHome%\envs\py37n119\Library\mingw-w64\bin\libgcc*.dll .\Binaries\%newdir% |
| 119 | REM copy /y %condaHome%\envs\py37n119\Library\mingw-w64\bin\libgmp*.dll .\Binaries\%newdir% |
| 120 | copy /y %condaHome%\envs\py37n119\Library\mingw-w64\bin\libquadmath*.dll .\Binaries\%newdir% |
| 121 | copy /y %condaHome%\envs\py37n119\Library\mingw-w64\bin\libwinpthread*.dll .\Binaries\%newdir% |
| 122 | ntldd .\Binaries\%newdir%\*.dll |
| 123 | svn add --no-ignore .\Binaries\%newdir% |
| 124 | svn add --no-ignore .\Binaries\%newdir%\* |
| 125 | svn st .\Binaries\%newdir% |
| 126 | svn ci -m"Build with %JOB_NAME% on %NODE_LABELS%" --username <omitted> --password %JENKINS_PASS% --non-interactive .\Binaries |
| 127 | rem =========== Build the conda package and upload |
| 128 | cd .. |
| 129 | cd GSAS-II\install |
| 130 | call conda build purge |
| 131 | python setversion.py |
| 132 | echo off |
| 133 | call conda build g2complete --output-folder C:\Jenkins\g2builds |
| 134 | rem =========== Build the self-installer & copy to web |
| 135 | del *.exe |
| 136 | call constructor --clean |
| 137 | call constructor g2full |
| 138 | for /f "usebackq" %%i in ( `dir gsas2full*.exe /b` ) do copy %%i gsas2full-Latest-Windows-x86_64.exe |
| 139 | for /f "usebackq" %%i in ( `dir gsas2full*.exe /b` ) do scp %%i <acct@node.aps.anl.gov>:/home/joule/SVN/subversion/pyGSAS/downloads |
| 140 | }}} |
| 141 | ''(PKG_full_Win64 2021-01-16 20:17:56)'' |
| 142 | |
| 143 | == Windows 32 build commands == |
| 144 | {{{ |
| 145 | rem ========== Configure |
| 146 | REM scp <acct@node.aps.anl.gov>:Miniconda3-latest-Windows-x86.exe . |
| 147 | REM mkdir C:\Jenkins\g2builds |
| 148 | dir C:\Jenkins\g2builds |
| 149 | set condaHome=C:\jenkins\conda37-32 |
| 150 | set sysType=win-32 |
| 151 | rem ========== Anaconda stuff |
| 152 | call %condaHome%\Scripts\activate |
| 153 | REM call conda update conda -y |
| 154 | REM call conda create -n py37n119 python=3.7 numpy=1.19 matplotlib=3.3 wxpython=4 conda scipy pillow svn imageio anaconda-client constructor conda-build pyopengl h5py hdf5 pywin32 scons m2w64-gcc-fortran libpython -y |
| 155 | call %condaHome%\Scripts\activate py37n119 |
| 156 | call conda install -c msys2 m2w64-ntldd-git |
| 157 | REM call conda list |
| 158 | REM ==================================================================================== |
| 159 | REM rmdir .\GSASII /s /q |
| 160 | REM mkdir .\GSASII |
| 161 | rmdir .\GSASII\AllBinaries /s /q |
| 162 | mkdir .\GSASII\AllBinaries |
| 163 | svn co https://subversion.xray.aps.anl.gov/pyGSAS/trunk/fsource .\GSASII\fsource |
| 164 | cd GSASII\fsource |
| 165 | where gfortran |
| 166 | REM====>>REM call scons -c |
| 167 | call scons install=T |
| 168 | REM removed LIBGFORTRAN=T LIBGCC=T |
| 169 | cd .. |
| 170 | rem #=# find the build dir name; add info to Build notes |
| 171 | for /f "usebackq" %%i in ( `dir .\AllBinaries /ad /b` ) do set newdir=%%i |
| 172 | echo %newdir% |
| 173 | echo on |
| 174 | REM ========== Create a note on how binaries were created ======================= |
| 175 | echo Built with Jeeves from %JOB_NAME% from G2 version %SVN_REVISION% on %NODE_LABELS% >> AllBinaries\%newdir%\Build.notes.txt |
| 176 | REM systeminfo | findstr /B /C:"OS Name" /C:"OS Version" >> AllBinaries\%newdir%\Build.notes.txt |
| 177 | call conda list -f python | findstr /B /C:# /V >> AllBinaries\%newdir%\Build.notes.txt |
| 178 | call conda list -f numpy | findstr /B /C:# /V >> AllBinaries\%newdir%\Build.notes.txt |
| 179 | call conda list -f m2w64-gcc-fortran | findstr /B /C:# /V >> AllBinaries\%newdir%\Build.notes.txt |
| 180 | REM ============ End of note on how binaries were created ======================= |
| 181 | svn co -q https://subversion.xray.aps.anl.gov/pyGSAS/Binaries .\Binaries |
| 182 | rmdir .\Binaries\%newdir% /s |
| 183 | mkdir .\Binaries\%newdir% |
| 184 | copy /y .\AllBinaries\%newdir%\* .\Binaries\%newdir% |
| 185 | REM |
| 186 | rem== Note: see https://anaconda.org/msys2/m2w64-ntldd-git for a utility that can find dependencies. |
| 187 | rem conda install -c msys2 m2w64-ntldd-git |
| 188 | REM dir C:\Jenkins\conda37-32\envs\py37n119\Library\mingw-w64\bin |
| 189 | REM dir %condaHome%\Library\mingw-w64\bin |
| 190 | ntldd .\Binaries\%newdir%\*.pyd |
| 191 | copy /y %condaHome%\envs\py37n119\Library\mingw-w64\bin\libgfortran*.dll .\Binaries\%newdir% |
| 192 | copy /y %condaHome%\envs\py37n119\Library\mingw-w64\bin\libgcc*.dll .\Binaries\%newdir% |
| 193 | ntldd .\Binaries\%newdir%\*.dll |
| 194 | REM copy /y %condaHome%\envs\py37n119\Library\mingw-w64\bin\libgmp*.dll .\Binaries\%newdir% |
| 195 | copy /y %condaHome%\envs\py37n119\Library\mingw-w64\bin\libquadmath*.dll .\Binaries\%newdir% |
| 196 | copy /y %condaHome%\envs\py37n119\Library\mingw-w64\bin\libwinpthread*.dll .\Binaries\%newdir% |
| 197 | ntldd .\Binaries\%newdir%\*.dll |
| 198 | svn add --no-ignore .\Binaries\%newdir% |
| 199 | svn add --no-ignore .\Binaries\%newdir%\* |
| 200 | svn st .\Binaries\%newdir% |
| 201 | svn ci -m"Build with %JOB_NAME% on %NODE_LABELS%" --username <omitted> --password %JENKINS_PASS% --non-interactive .\Binaries |
| 202 | rem =========== Build the conda package and upload |
| 203 | cd .. |
| 204 | cd GSAS-II\install |
| 205 | call conda build purge |
| 206 | python setversion.py |
| 207 | echo off |
| 208 | call conda build g2complete --output-folder C:\Jenkins\g2builds |
| 209 | rem =========== Build the self-installer & copy to web |
| 210 | del *.exe |
| 211 | call constructor --clean |
| 212 | call constructor g2full |
| 213 | for /f "usebackq" %%i in ( `dir gsas2full*.exe /b` ) do copy %%i gsas2full-Latest-Windows-x86.exe |
| 214 | for /f "usebackq" %%i in ( `dir gsas2full*.exe /b` ) do scp %%i <acct@node.aps.anl.gov>:/home/joule/SVN/subversion/pyGSAS/downloads |
| 215 | exit |
| 216 | }}} |
| 217 | ''(PKG_full_Win32 2021-01-17 09:38:41)'' |
| 218 | |
| 219 | == MacOS 64 build commands == |
| 220 | {{{ |
| 221 | condaHome=$WORKSPACE/conda37 |
| 222 | sysType=osx-64 |
| 223 | #========== Anaconda stuff |
| 224 | #curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh > ./Miniconda3-latest.sh |
| 225 | #bash ./Miniconda3-latest.sh -b -p $WORKSPACE/conda37 |
| 226 | #rm ./Miniconda3-*.sh |
| 227 | set +x |
| 228 | echo 'source $condaHome/bin/activate' |
| 229 | source $condaHome/bin/activate |
| 230 | # wx, pyopengl, scons not available with Py39 in defaults |
| 231 | #echo conda create -n py39n1.19 python=3.9 numpy=1.19 matplotlib=3.3 conda scipy pillow svn h5py imageio gfortran_osx-64 -y |
| 232 | # conda create -n py39n1.19 python=3.9 numpy=1.19 matplotlib=3.3 conda scipy pillow svn h5py imageio gfortran_osx-64 -y |
| 233 | # cant live without scons |
| 234 | #echo conda install scons -n py39n1.19 -c defaults -c conda-forge |
| 235 | # conda install scons -n py39n1.19 -c defaults -c conda-forge |
| 236 | echo 'conda activate py39n1.19' |
| 237 | conda activate py39n1.19 |
| 238 | |
| 239 | # |
| 240 | #echo conda update -n base -c defaults conda -y |
| 241 | # conda update -n base -c defaults conda -y |
| 242 | # |
| 243 | #echo conda env remove -n py37n1.18 |
| 244 | # conda env remove -n py37n1.18 |
| 245 | # |
| 246 | #echo conda create -n py37n1.18 python=3.7 numpy=1.18 matplotlib=3.3 wxpython=4.0 conda scipy pillow pyopengl svn h5py imageio python.app=2 anaconda-client constructor conda-build scons gfortran_osx-64 -y |
| 247 | # conda create -n py37n1.18 python=3.7 numpy=1.18 matplotlib=3.3 wxpython=4.0 conda scipy pillow pyopengl svn h5py imageio python.app=2 anaconda-client constructor conda-build scons gfortran_osx-64 -y |
| 248 | #echo 'conda activate py37n1.18' |
| 249 | #conda activate py37n1.18 |
| 250 | #conda info --envs |
| 251 | #==================================== Build of .so files ================================== |
| 252 | #ls -l $CONDA_PREFIX/bin/*gfortran |
| 253 | # gfortran seems to be setup by conda |
| 254 | #ln -sf $CONDA_PREFIX/bin/x86_64-conda_cos6-linux-gnu-gfortran $CONDA_PREFIX/bin/gfortran |
| 255 | # |
| 256 | # |
| 257 | set -x |
| 258 | which python |
| 259 | #python -c 'import sys; print("py=",sys.version); import numpy; print("np=",numpy.__version__)' |
| 260 | #python -c 'import wx; print("wx=",wx.__version__); import matplotlib; print("mpl=",matplotlib.__version__)' |
| 261 | #======================= |
| 262 | # get source code |
| 263 | #======================= |
| 264 | rm -rf $WORKSPACE/GSASII |
| 265 | mkdir -p $WORKSPACE/GSASII |
| 266 | svn co https://subversion.xray.aps.anl.gov/pyGSAS/trunk/fsource $WORKSPACE/GSASII/fsource |
| 267 | ######################## |
| 268 | # start compile process |
| 269 | ######################## |
| 270 | gfortran -v |
| 271 | rm -rf GSASII/AllBinaries |
| 272 | cd $WORKSPACE/GSASII/fsource |
| 273 | gfortran -v |
| 274 | scons -c # cleanup old |
| 275 | set +x |
| 276 | #scons install=T FORTpath=$CONDA_PREFIX/bin |
| 277 | scons install=T LIBGFORTRAN=T # seems OK on OSX |
| 278 | # document build |
| 279 | #=# find the build dir name; add info to Build notes |
| 280 | set -x |
| 281 | newdir=`cd ../AllBinaries/; ls -d mac*` |
| 282 | echo $newdir |
| 283 | echo "Built with Jeeves from $JOB_NAME from G2 version $SVN_REVISION on $NODE_LABELS" >> ../AllBinaries/$newdir/Build.notes.txt |
| 284 | sw_vers >> ../AllBinaries/$newdir/Build.notes.txt |
| 285 | conda list -f python | tail -1 >> ../AllBinaries/$newdir/Build.notes.txt |
| 286 | conda list -f numpy | tail -1 >> ../AllBinaries/$newdir/Build.notes.txt |
| 287 | conda list -f gfortran_linux-64 | tail -1 >> ../AllBinaries/$newdir/Build.notes.txt |
| 288 | #================ |
| 289 | # Upload binaries |
| 290 | #================ |
| 291 | svn co -q https://subversion.xray.aps.anl.gov/pyGSAS/Binaries $WORKSPACE/Binaries |
| 292 | if [ ! -d $WORKSPACE/Binaries/$newdir ] |
| 293 | then |
| 294 | mkdir $WORKSPACE/Binaries/$newdir |
| 295 | svn add $WORKSPACE/Binaries/$newdir |
| 296 | fi |
| 297 | python $WORKSPACE/Binaries/macRelink.py ../AllBinaries/$newdir |
| 298 | cp ../AllBinaries/$newdir/* $WORKSPACE/Binaries/$newdir |
| 299 | cp $CONDA_PREFIX/lib/libgcc_s.1.dylib $WORKSPACE/Binaries/$newdir/ |
| 300 | cp $CONDA_PREFIX/lib/libquadmath.0.dylib $WORKSPACE/Binaries/$newdir/ |
| 301 | svn add --force $WORKSPACE/Binaries/$newdir/* |
| 302 | svn st $WORKSPACE/Binaries |
| 303 | svn ci -m"Build with $JOB_NAME on $NODE_LABELS" --username <omitted> --password $JENKINS_PASS --non-interactive $WORKSPACE/Binaries |
| 304 | # |
| 305 | exit |
| 306 | |
| 307 | #=========================== Build of g2complete package ================================== |
| 308 | # |
| 309 | #============================= |
| 310 | # Use commands below to build |
| 311 | #============================= |
| 312 | cd $WORKSPACE/GSAS-II/install |
| 313 | python setversion.py |
| 314 | mkdir -p ~/builds |
| 315 | rm -rf ~/builds/* |
| 316 | set +x |
| 317 | echo conda build purge |
| 318 | conda build purge |
| 319 | echo conda build g2complete --numpy 1.18 --python 3.7 --output-folder ~/builds |
| 320 | conda build g2complete --numpy 1.18 --python 3.7 --output-folder ~/builds |
| 321 | # |
| 322 | #=========================== Build/upload of g2full installer ============================= |
| 323 | # |
| 324 | # Build the self-installer |
| 325 | rm -f *.sh |
| 326 | constructor g2full |
| 327 | set -x |
| 328 | ls -l *.sh |
| 329 | # copy to "Latest" and upload |
| 330 | cp gsas2full-*-MacOSX-x86_64.sh gsas2full-Latest-MacOSX-x86_64.sh |
| 331 | # copy to https://subversion.xray.aps.anl.gov/admin_pyGSAS/downloads/gsas2full-*-MacOSX-x86_64.sh |
| 332 | scp gsas2full-*.sh <acct@node.aps.anl.gov>:/home/joule/SVN/subversion/pyGSAS/downloads/ |
| 333 | echo files found at https://subversion.xray.aps.anl.gov/admin_pyGSAS/downloads/gsas2full-*-MacOSX-x86_64.sh |
| 334 | ssh <acct@node.aps.anl.gov> ls -lt /home/joule/SVN/subversion/pyGSAS/downloads/gsas2full-*-MacOSX-*.sh |
| 335 | }}} |
| 336 | ''(PKG_full_MacX86 2021-01-08 15:39:43)'' |
| 337 | |
| 338 | == Linux 64 build commands == |
| 339 | {{{ |
| 340 | condaHome=/Jenkins/jenkins/conda37 |
| 341 | sysType=linux-64 |
| 342 | #========== Anaconda stuff |
| 343 | #curl https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh > ./Miniconda3-latest-Linux-x86_64.sh |
| 344 | #bash ./Miniconda3-latest-Linux-x86_64.sh -b -p /Jenkins/jenkins/conda37 |
| 345 | #rm ./Miniconda3-*.sh |
| 346 | set +x |
| 347 | echo 'source $condaHome/bin/activate' |
| 348 | source $condaHome/bin/activate |
| 349 | # wx not available with Py38 |
| 350 | #echo conda create -n py38n1.18 python=3.8 numpy=1.18 matplotlib=3.3 wxpython=4.0 conda scipy pillow pyopengl svn h5py imageio anaconda-client constructor conda-build scons gfortran_linux-64 -y |
| 351 | # conda create -n py38n1.18 python=3.8 numpy=1.18 matplotlib=3.3 wxpython=4.0 conda scipy pillow pyopengl svn h5py imageio anaconda-client constructor conda-build scons gfortran_linux-64 -y |
| 352 | #conda info --envs |
| 353 | #echo 'conda activate py38n1.18' |
| 354 | #conda activate py38n1.18 |
| 355 | # |
| 356 | #echo conda update -n base -c defaults conda -y |
| 357 | # conda update -n base -c defaults conda -y |
| 358 | # |
| 359 | #echo conda env remove -n py37n1.18 |
| 360 | # conda env remove -n py37n1.18 |
| 361 | # |
| 362 | #echo conda create -n py37n1.18 python=3.7 numpy=1.18 matplotlib=3.3 wxpython=4.0 conda scipy pillow pyopengl svn h5py imageio anaconda-client constructor conda-build scons gfortran_linux-64 -y |
| 363 | # conda create -n py37n1.18 python=3.7 numpy=1.18 matplotlib=3.3 wxpython=4.0 conda scipy pillow pyopengl svn h5py imageio anaconda-client constructor conda-build scons gfortran_linux-64 -y |
| 364 | #conda info --envs |
| 365 | echo 'conda activate py37n1.18' |
| 366 | conda activate py37n1.18 |
| 367 | which gfortran |
| 368 | ls -l $CONDA_PREFIX/bin/x86_64-conda_cos6-linux-gnu-gfortran |
| 369 | ln -sf $CONDA_PREFIX/bin/x86_64-conda_cos6-linux-gnu-gfortran $CONDA_PREFIX/bin/gfortran |
| 370 | which gfortran |
| 371 | # |
| 372 | # |
| 373 | set -x |
| 374 | which python |
| 375 | python -c 'import sys; print("py=",sys.version); import numpy; print("np=",numpy.__version__)' |
| 376 | python -c 'import wx; print("wx=",wx.__version__); import matplotlib; print("mpl=",matplotlib.__version__)' |
| 377 | #======================= |
| 378 | # get source code |
| 379 | #======================= |
| 380 | #DEBUG# |
| 381 | rm -rf $WORKSPACE/GSASII |
| 382 | mkdir -p $WORKSPACE/GSASII |
| 383 | svn co https://subversion.xray.aps.anl.gov/pyGSAS/trunk/fsource $WORKSPACE/GSASII/fsource |
| 384 | ######################## |
| 385 | # start compile process |
| 386 | ######################## |
| 387 | gfortran -v |
| 388 | rm -rf GSASII/AllBinaries |
| 389 | cd $WORKSPACE/GSASII/fsource |
| 390 | which gfortran |
| 391 | gfortran -v |
| 392 | #DEBUG# |
| 393 | scons -c # cleanup old |
| 394 | set +x |
| 395 | #DEBUG# |
| 396 | scons install=T FORTpath=$CONDA_PREFIX/bin |
| 397 | #scons install=T LIBGFORTRAN=T # does not work with Conda gfortran |
| 398 | # document build |
| 399 | #=# find the build dir name; add info to Build notes |
| 400 | set -x |
| 401 | newdir=`cd ../AllBinaries/; ls -d linux*` |
| 402 | echo $newdir |
| 403 | echo "Built with Jeeves from $JOB_NAME from G2 version $SVN_REVISION on $NODE_LABELS" >> ../AllBinaries/$newdir/Build.notes.txt |
| 404 | cat /etc/system-release >> ../AllBinaries/$newdir/Build.notes.txt |
| 405 | conda list -f python | tail -1 >> ../AllBinaries/$newdir/Build.notes.txt |
| 406 | conda list -f numpy | tail -1 >> ../AllBinaries/$newdir/Build.notes.txt |
| 407 | conda list -f gfortran_linux-64 | tail -1 >> ../AllBinaries/$newdir/Build.notes.txt |
| 408 | #================ |
| 409 | # Upload binaries |
| 410 | #================ |
| 411 | svn co -q https://subversion.xray.aps.anl.gov/pyGSAS/Binaries $WORKSPACE/Binaries |
| 412 | if [ ! -d $WORKSPACE/Binaries/$newdir ] |
| 413 | then |
| 414 | mkdir $WORKSPACE/Binaries/$newdir |
| 415 | svn add $WORKSPACE/Binaries/$newdir |
| 416 | cp ../AllBinaries/$newdir/* $WORKSPACE/Binaries/$newdir |
| 417 | cp $condaHome/lib/libgfortran.so.4.0.0 $WORKSPACE/Binaries/$newdir/ |
| 418 | else |
| 419 | cp ../AllBinaries/$newdir/* $WORKSPACE/Binaries/$newdir |
| 420 | cp $CONDA_PREFIX/lib/libgfortran.so.4.0.0 $WORKSPACE/Binaries/$newdir/ |
| 421 | fi |
| 422 | svn add --force $WORKSPACE/Binaries/$newdir/* |
| 423 | svn st $WORKSPACE/Binaries |
| 424 | #DEBUG# |
| 425 | svn ci -m"Build with $JOB_NAME on $NODE_LABELS" --username <omitted> --password $JENKINS_PASS --non-interactive $WORKSPACE/Binaries |
| 426 | |
| 427 | #============================= |
| 428 | # Use commands below to build |
| 429 | #============================= |
| 430 | cd $WORKSPACE/GSAS-II/install |
| 431 | python setversion.py |
| 432 | mkdir -p ~/builds |
| 433 | set +x |
| 434 | echo conda build purge |
| 435 | conda build purge |
| 436 | echo conda build g2complete --numpy 1.18 --python 3.7 --output-folder ~/builds |
| 437 | conda build g2complete --numpy 1.18 --python 3.7 --output-folder ~/builds |
| 438 | #=========== Build the self-installer & copy (someday upload?) |
| 439 | rm -f *.sh |
| 440 | constructor g2full |
| 441 | set -x |
| 442 | ls -l *.sh |
| 443 | #============================= |
| 444 | cp gsas2full-*-Linux-x86_64.sh gsas2full-Latest-Linux-x86_64.sh |
| 445 | scp gsas2full-*.sh <acct@node.aps.anl.gov>:/home/joule/SVN/subversion/pyGSAS/downloads/ |
| 446 | ssh <acct@node.aps.anl.gov> ls -lt /home/joule/SVN/subversion/pyGSAS/downloads/gsas2full-*-Linux-*.sh |
| 447 | }}} |
| 448 | ''(PKG_full_Linux64 2021-01-08 15:44:21)'' |