From d9f600f7e3d66e6234c2a9b9ff55070a80dd170b Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 28 Mar 2012 17:21:02 +0000 Subject: [PATCH] math: disable vectors of halfs until we find a way to speed up the build time, for now the .h takes 17 seconds to compile for each file! --- src/lol/math/vector.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lol/math/vector.h b/src/lol/math/vector.h index a66f1bb5..39266a18 100644 --- a/src/lol/math/vector.h +++ b/src/lol/math/vector.h @@ -1246,6 +1246,10 @@ DECLARE_ALL_VECTOR_COERCE_OPS(float, long double) DECLARE_ALL_VECTOR_COERCE_OPS(double, long double) +/* FIXME: vectors of "half" are deactivated for now, because they + * induce extremely long compilation times (about 17 seconds per TU). */ + +#if 0 /* All integer types are promoted to half; all floating point types * cause half to be promoted. */ DECLARE_ALL_VECTOR_COERCE_OPS(int8_t, half) @@ -1260,6 +1264,7 @@ DECLARE_ALL_VECTOR_COERCE_OPS(uint64_t, half) DECLARE_ALL_VECTOR_COERCE_OPS(half, float) DECLARE_ALL_VECTOR_COERCE_OPS(half, double) DECLARE_ALL_VECTOR_COERCE_OPS(half, long double) +#endif /* FIXME: vectors of "real" are deactivated for now, because we do * not implement all combinations of operators for these types yet. */