source: install/g2complete/build.sh.template @ 5421

Last change on this file since 5421 was 5421, checked in by toby, 6 months ago

work on mac build

File size: 703 bytes
RevLine 
[4710]1#!/bin/bash
2echo '==================== running build.sh ===================='
3#echo '==================== env ===================='
4#env
5#echo '==================== which python ===================='
6#which python
7#python -c 'import sys; print(sys.version); import numpy; print(numpy.__version__)'
8mkdir -p $PREFIX/GSASII
9cp $RECIPE_DIR/src/bootstrap.py $PREFIX/GSASII
[5421]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
Note: See TracBrowser for help on using the repository browser.