1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-12 20:27:06 +01:00

clang++ 3.4/5/7 compile happy for AVX and SSE

icpc compiles happy on MacOSX both with -xCOMMON-AV512 and native AVX

gcc-5 does not compile happy; can work around by renaming lattice peek/poke/transpose/trace templates
relative to tensor ones, but gcc goes into a recursive template instantiation due to
matching error. I think this is a gcc bug and have filed a report https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66153
This commit is contained in:
Peter Boyle
2015-05-15 11:52:11 +01:00
parent 6965a136a0
commit 100323ab4d
5 changed files with 26 additions and 4 deletions

12
configure vendored
View File

@ -4196,6 +4196,18 @@ fi
done
for ac_header in mm_malloc.h
do :
ac_fn_cxx_check_header_mongrel "$LINENO" "mm_malloc.h" "ac_cv_header_mm_malloc_h" "$ac_includes_default"
if test "x$ac_cv_header_mm_malloc_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_MM_MALLOC_H 1
_ACEOF
fi
done
for ac_header in malloc/malloc.h
do :
ac_fn_cxx_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default"