build: enable a fall-back path for unsupported architectures.

Previously, we would simply fail if the architecture was not
a first-class citizen. However, we have always allowed a built-in
fallback in code.

Instead, allow for people to direcly use the builtin fallback without
having to provide their own profiles and emit a loud warning.
awsm
Samy Al Bahra 5 years ago
parent b02bb2b805
commit 4d63d3158c

12
configure vendored

@ -524,8 +524,9 @@ case $PLATFORM in
*) *)
RTM_ENABLE="CK_MD_RTM_DISABLE" RTM_ENABLE="CK_MD_RTM_DISABLE"
LSE_ENABLE="CK_MD_LSE_DISABLE" LSE_ENABLE="CK_MD_LSE_DISABLE"
PLATFORM= PLATFORM=unknown
MM="${MM:-"CK_MD_RMO"}" MM="${MM:-"CK_MD_RMO"}"
USE_CC_BUILTINS=1
;; ;;
esac esac
@ -837,3 +838,12 @@ generate Makefile.in $P_PWD/Makefile
touch src/*.c touch src/*.c
echo "success" echo "success"
generate_stdout generate_stdout
if test "$PROFILE" = "unknown"; then
echo
echo "WARNING: your target architecture is not a first-class citizen."
echo
echo "The test suite may not work as intended. Consider reaching out "
echo "to the mailing list about having the project add first-class "
echo "support for your architecture."
fi

Loading…
Cancel
Save