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

Commit

Permalink
version 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 4b52e59 commit d79819f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,13 @@ export BSPINSTALL=${BSPROOT}/nheqminer-macos-$release_version;
mkdir -p ${BSPINSTALL}
make
cp -a miner/* ${BSPINSTALL}
echo $git_rev_string > ${BSPINSTALL}/version.txt
echo "nheqminer:" > ${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 "nheqminer for macOS ($release_version) is installed to ${BSPINSTALL}"

# create tarball and checksum
Expand Down

0 comments on commit d79819f

Please sign in to comment.