sst-elements
sst-elements copied to clipboard
Configure: check_gpgpusim
The gpgpusim check sst_check_gpgpusim.m4 points to the directory in gpgpusim that's named with the major+minor+patch version of gcc.
Get the gcc version: CC_VERSION=$(gcc -dumpversion)
However, if gcc is built with --with-gcc-major-version-only, then it will not return the minor+patch version and configure will fail to find libcudart_mod.so, which will force it to exclude balar.
Starting in gcc-7 (I think), there is a new flag that will print major+minor regardless of build flags: gcc -dumpfullversion
.
Hard-coded gcc version; still not fixed.
@gvoskuilen @nmhamster Shouldn't assume awk; can we assume sed?
Cannot assume sed
either. What are you using these for, splitting the version string?
This was fixed-ish (still uses sed to split the version string).