Parts of the fusefs tests trigger a bug in current versions of llvm: IR
representation of some routine for the MIPS targets is a function with a
large number of arguments. This then leads the compiler on an hour+ long
goose chase, which is OK if you build the current tree but less-so if you're
trying external toolchain or doing a universe build involving mips when it
eventually gets switched over to LLVM.
Better, accurate details can be found in LLVM PR43263.
GDB \
GNU_DIFF \
GNU_GREP \
- GOOGLETEST \
GPIO \
HAST \
HTML \
__TT=${MACHINE}
.endif
+# Default GOOGLETEST to off for MIPS while LLVM PR 43263 is active. Part
+# of the fusefs tests trigger excessively long compile times. It does
+# eventually succeed, but this shouldn't be forced on those building by default.
+.if ${__TT} == "mips"
+__DEFAULT_NO_OPTIONS+= GOOGLETEST
+.else
+__DEFAULT_YES_OPTIONS+= GOOGLETEST
+.endif
+
# All supported backends for LLVM_TARGET_XXX
__LLVM_TARGETS= \
aarch64 \