Skip to content
This repository has been archived by the owner on Jan 23, 2019. It is now read-only.

Commit

Permalink
extended build info added to version.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
kozyilmaz committed Oct 7, 2017
1 parent d79819f commit e0d8a4a
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,19 @@ export BSPINSTALL=${BSPROOT}/nheqminer-macos-$release_version;
mkdir -p ${BSPINSTALL}
make
cp -a miner/* ${BSPINSTALL}
echo "nheqminer:" > ${BSPINSTALL}/version.txt
echo "nheqminer" > ${BSPINSTALL}/version.txt
echo "=========" >> ${BSPINSTALL}/version.txt
echo $git_rev_string >> ${BSPINSTALL}/version.txt
echo $git_tag_string >> ${BSPINSTALL}/version.txt
echo "platform:" >> ${BSPINSTALL}/version.txt; sw_vers &>> ${BSPINSTALL}/version.txt
echo "compiler:" >> ${BSPINSTALL}/version.txt; gcc -v &>> ${BSPINSTALL}/version.txt
echo "cuda:" >> ${BSPINSTALL}/version.txt; /usr/local/cuda/bin/nvcc --version &>> ${BSPINSTALL}/version.txt
echo "platform" >> ${BSPINSTALL}/version.txt
echo "========" >> ${BSPINSTALL}/version.txt
sw_vers >> ${BSPINSTALL}/version.txt
echo "compiler" >> ${BSPINSTALL}/version.txt
echo "========" >> ${BSPINSTALL}/version.txt
gcc -v 2>> ${BSPINSTALL}/version.txt
echo "cuda" >> ${BSPINSTALL}/version.txt
echo "====" >> ${BSPINSTALL}/version.txt
/usr/local/cuda/bin/nvcc --version >> ${BSPINSTALL}/version.txt

echo "nheqminer for macOS ($release_version) is installed to ${BSPINSTALL}"

Expand Down

0 comments on commit e0d8a4a

Please sign in to comment.