Commit d8ea3db0 authored by Daniel Brown's avatar Daniel Brown

conda packaging updates

parent 3a07d8bb
To clean up run:
conda build purge
Then run:
conda build finesse_binary
To upload, something like:
anaconda upload /Users/ddb/miniconda3/conda-bld/osx-64/finesse_binary-2.1-0.tar.bz2
\ No newline at end of file
#!/bin/bash
./finesse.sh --build-mac
platform='unknown'
unamestr=`uname`
unamem=`uname -m`
if [[ "$unamestr" == 'Linux' ]]; then
if [[ "${ARCH}" == '32' ]]; then
./finesse.sh --build-linux32
else
./finesse.sh --build-linux
fi
cp ./kat ${PREFIX}/bin
cp ./kat.ini ${PREFIX}/bin
elif [[ "$unamestr" == 'Darwin' ]]; then
if [[ "${ARCH}" == '32' ]]; then
./finesse.sh --build-mac32
else
./finesse.sh --build-mac
fi
cp ./kat ${PREFIX}/bin
cp ./kat.ini ${PREFIX}/bin
elif [[ "$unamestr" == *CYGWIN* ]]; then
if [[ "$unamem" == 'i686' ]]; then
./finesse.sh --build-win32
else
./finesse.sh --build-win64
fi
cp ./kat.exe ${PREFIX}/bin
cp ./kat.ini ${PREFIX}/bin
elif [[ "$unamestr" == *MINGW32* ]]; then
echo "Platform not supported" | tee -a $LOGFILE
failure
else
echo "Platform could not be determined" | tee -a $LOGFILE
failure
fi
cp ./kat ${PREFIX}/bin
cp ./kat.ini ${PREFIX}/bin
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment