From e0d8a4a92940b435bf1d865c9c8faf7214d76947 Mon Sep 17 00:00:00 2001 From: kozyilmaz Date: Sun, 8 Oct 2017 00:27:25 +0300 Subject: [PATCH] extended build info added to version.txt --- package.sh | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/package.sh b/package.sh index ef79d63..b9fa87a 100755 --- a/package.sh +++ b/package.sh @@ -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}"