sst-elements icon indicating copy to clipboard operation
sst-elements copied to clipboard

Configure: check_gpgpusim

Open hughes-c opened this issue 4 years ago • 2 comments

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.

hughes-c avatar Apr 07 '20 16:04 hughes-c

Hard-coded gcc version; still not fixed.

@gvoskuilen @nmhamster Shouldn't assume awk; can we assume sed?

hughes-c avatar Apr 08 '20 12:04 hughes-c

Cannot assume sed either. What are you using these for, splitting the version string?

nmhamster avatar Nov 16 '20 15:11 nmhamster

This was fixed-ish (still uses sed to split the version string).

hughes-c avatar Jun 22 '23 17:06 hughes-c