Changeset 5421


Ignore:
Timestamp:
Dec 8, 2022 4:53:03 PM (6 months ago)
Author:
toby
Message:

work on mac build

Location:
install
Files:
26 added
5 edited

Legend:

Unmodified
Added
Removed
  • install/build_scripts/win64.bat

    r5418 r5421  
    6868call conda list -f m2w64-gcc-fortran | findstr /B /C:# /V >> Build.notes.txt
    6969
    70 REM====== upload to svn server
     70REM====== upload binaries to svn server
    7171cd ..
    7272dir
     
    104104call constructor g2full
    105105if ERRORLEVEL 1 exit 1
     106REM make copy of current version as "latest"
    106107for /f "usebackq" %%i in ( `dir gsas2full*.exe /b` ) do copy %%i gsas2full-Latest-Windows-x86_64.exe
    107108for /f "usebackq" %%i in ( `dir gsas2full*.exe /b` ) do scp %%i svnpgsas@s11bmbcda.xray.aps.anl.gov:/home/joule/SVN/subversion/pyGSAS/downloads
  • install/g2complete/build.sh.template

    r4741 r5421  
    88mkdir -p $PREFIX/GSASII
    99cp $RECIPE_DIR/src/bootstrap.py $PREFIX/GSASII
    10 python $PREFIX/GSASII/bootstrap.py --binary=**npversion**,**pyversion** > $PREFIX/GSASII/conda_G2build_out.log 2>&1
     10if [[ $OSTYPE == 'darwin'* ]]; then
     11  echo 'macOS: creating svn directory'
     12  svn export https://subversion.xray.aps.anl.gov/pyGSAS/install/svn/homebrew_MacOS $PREFIX/SVN > $PREFIX/GSASII/conda_G2build_out.log 2>&1
     13fi
     14python $PREFIX/GSASII/bootstrap.py --binary=**npversion**,**pyversion** >> $PREFIX/GSASII/conda_G2build_out.log 2>&1
  • install/g2complete/meta.yaml.template

    r5418 r5421  
    2020    - conda
    2121    - requests
    22     - subversion                           [not win]
     22    - subversion                           [linux]
    2323    - hdf5
    2424    - h5py
  • install/g2full/g2postinstall.bat.template

    r5414 r5421  
    77echo python %PREFIX%\GSASII\bootstrap.py >> "%PREFIX%\start_G2_bootstrap.bat"
    88REM constructor fixups: missing empty directories & changed binary files =======
    9 mkdir $PREFIX/GSASII/.svn/tmp
     9mkdir %PREFIX%\GSASII\.svn\tmp
    1010%PREFIX%\GSASII\SVN\svn.exe revert -R %PREFIX%\GSASII\bindist
    1111
  • install/g2full/g2postinstall.sh.template

    r4759 r5421  
    66echo "$PREFIX/bin/python $PREFIX/GSASII/bootstrap.py" >> $PREFIX/start_G2_bootstrap.sh
    77# constructor fixups: missing empty directories & changed binary files ======================
    8 mkdir -p $PREFIX/GSASII/.svn/tmp
     8if [[ (! -d $PREFIX/GSASII/.svn/tmp) ]]
     9then
     10    mkdir -p $PREFIX/GSASII/.svn/tmp
     11fi
    912$PREFIX/bin/svn revert $PREFIX/GSASII/bindist/*
    1013#
     
    1316# try to update to latest GSAS-II version (will fail if no network)
    1417#$PREFIX/bin/python $PREFIX/GSASII/bootstrap.py --noinstall >> $PREFIX/GSASII/conda_inst.log 2>&1
    15 $PREFIX/bin/python $PREFIX/GSASII/bootstrap.py --noinstall
     18 $PREFIX/bin/python $PREFIX/GSASII/bootstrap.py --noinstall
    1619# finish installation
    1720#$PREFIX/bin/python $PREFIX/GSASII/bootstrap.py --nonet > $PREFIX/GSASII/conda_inst.log 2>&1
    18 $PREFIX/bin/python $PREFIX/GSASII/bootstrap.py --nonet
     21 $PREFIX/bin/python $PREFIX/GSASII/bootstrap.py --nonet
    1922# create shortcut to start GSAS-II     =======================================================
    2023echo "# Commands to start GSAS-II" > $PREFIX/start_GSASII.sh
Note: See TracChangeset for help on using the changeset viewer.