gmtl-0.6.1.tar.gz file is created when building
Build failure when scons uses python 3 (patch attached)
I didn't like this patch because it determines either the gcc or the clang version and then uses them as if the two compilers have identical version histories, which they don't. For example, the script adds -fcoalesce-templates if the compiler version is less than 4. That's correct for gcc and incorrect for clang. Instead my patch looks at the preprocessor macros. gcc defines __GNUC__ to the major version and __GNUC_MINOR__ to the minor version. gcc 3 and later also define __GNUC_PATCHLEVEL__ to...
I didn't like this patch because it determines either the gcc or the clang version and then uses them as if the two compilers have identical version histories, which they don't. For example, the script adds -fcoalesce-templates if the compiler version is less than 4. That's correct for gcc and incorrect for clang. Instead my patch looks at the preprocessor macros. gcc defines __GNUC__ to the major version and __GNUC_MINOR__ to the minor version. gcc 3 and later also define __GNUC_PATCHLEVEL__ to...
SConstruct does not recognize clang, the default compiler on newer OS X