diff options
| author | tgrogers <[email protected]> | 2017-05-16 23:03:47 -0400 |
|---|---|---|
| committer | tgrogers <[email protected]> | 2017-05-17 09:53:17 -0400 |
| commit | 1e7f2f0d857666ee7edd7bd0d6b0e52a6588522e (patch) | |
| tree | 54b8f84bc84c286552cd1c5f70ffb4f66b5d103c /version_detection.mk | |
| parent | 8b44f564221b9a0503ca04ccdb463bd60ae8c33c (diff) | |
Getting rid of the branch since it gets weird, espeically in travis
Diffstat (limited to 'version_detection.mk')
| -rw-r--r-- | version_detection.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/version_detection.mk b/version_detection.mk index f9c333f..00a86c0 100644 --- a/version_detection.mk +++ b/version_detection.mk @@ -32,10 +32,9 @@ else GPGPUSIM_VERSION=$(shell cat $(GPGPUSIM_ROOT)/version | awk '/Version/ {print $$8}' ) #Detect Git branch and commit # -GIT_BRANCH := $(shell git branch | grep "\*" | sed -re 's/\*\s+(.*)/\1/') GIT_COMMIT := $(shell git log -n 1 | head -1 | sed -re 's/commit (.*)/\1/') GIT_FILES_CHANGED := $(shell git diff --numstat --cached && git diff --numstat | wc | sed -re 's/^\s+([0-9]+).*/\1/') -GPGPUSIM_BUILD := "gpgpu-sim_$(GIT_BRANCH)_$(GIT_COMMIT)_modified_$(GIT_FILES_CHANGED)" +GPGPUSIM_BUILD := "gpgpu-sim_git-commit-$(GIT_COMMIT)_modified_$(GIT_FILES_CHANGED)" endif # Detect CUDA Runtime Version |
