diff options
| author | Tor Aamodt <[email protected]> | 2012-07-27 21:56:35 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:48:53 -0700 |
| commit | 13d2ba3af71a4110dbe24772555cdc3d341425a8 (patch) | |
| tree | 6c8412bc8971d17f4028b7c0168dd453d6f071f0 /version_detection.mk | |
| parent | 72633ca8a03300577cb2c175cddd9e7e88c0704f (diff) | |
- can compile on MacOSX (tested on Lion)... no regression testing done on Mac
- ptxplus ... edits to eliminate some warnings with older gcc about printfs without string literal
- eliminate warning about map (just too annoying while testing on Mac)
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13560]
Diffstat (limited to 'version_detection.mk')
| -rw-r--r-- | version_detection.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/version_detection.mk b/version_detection.mk index eac96e0..245f46f 100644 --- a/version_detection.mk +++ b/version_detection.mk @@ -27,8 +27,11 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # Detect GPGPU-Sim Version +ifeq ($(GPGPUSIM_ROOT),) +else GPGPUSIM_VERSION=$(shell cat $(GPGPUSIM_ROOT)/version | awk '/Version/ {print $$8}' ) GPGPUSIM_BUILD=$(shell cat $(GPGPUSIM_ROOT)/version | awk '/Change/ {print $$6}' ) +endif # Detect CUDA Runtime Version CUDA_VERSION_STRING:=$(shell $(CUDA_INSTALL_PATH)/bin/nvcc --version | awk '/release/ {print $$5;}' | sed 's/,//') |
