From f73d71935122aaef2e32e8c34f1004864d05c934 Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Fri, 27 Jul 2012 08:48:33 -0800 Subject: also print out build number (perforce change list) [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13556] --- version_detection.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'version_detection.mk') diff --git a/version_detection.mk b/version_detection.mk index 3824866..eac96e0 100644 --- a/version_detection.mk +++ b/version_detection.mk @@ -26,6 +26,9 @@ # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Detect GPGPU-Sim Version +GPGPUSIM_VERSION=$(shell cat $(GPGPUSIM_ROOT)/version | awk '/Version/ {print $$8}' ) +GPGPUSIM_BUILD=$(shell cat $(GPGPUSIM_ROOT)/version | awk '/Change/ {print $$6}' ) # Detect CUDA Runtime Version CUDA_VERSION_STRING:=$(shell $(CUDA_INSTALL_PATH)/bin/nvcc --version | awk '/release/ {print $$5;}' | sed 's/,//') -- cgit v1.3