diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e9f9a3f8317..0ad0ce549e4 100644 --- a/configure.ac +++ b/configure.ac @@ -1062,6 +1062,7 @@ AC_ARG_WITH(monotouch_watch, [ --with-monotouch_watch=yes,no If you w AC_ARG_WITH(monotouch_tv, [ --with-monotouch_tv=yes,no If you want to build the Xamarin.TVOS assemblies (defaults to no)], [], [with_monotouch_tv=default]) AC_ARG_WITH(bitcode, [ --with-bitcode=yes,no If bitcode is enabled (defaults to no)], [], [with_bitcode=default]) AC_ARG_WITH(xammac, [ --with-xammac=yes,no If you want to build the Xamarin.Mac assemblies (defaults to no)], [], [with_xammac=default]) +AC_ARG_WITH(testing_aot_full_interp, [ --with-testing_aot_full_interp=yes,no If you want to build the testing_aot_full_interp assemblies (defaults to no)], [], [with_testing_aot_full_interp=default]) AC_ARG_WITH(testing_aot_hybrid, [ --with-testing_aot_hybrid=yes,no If you want to build the testing_aot_hybrid assemblies (defaults to no)], [], [with_testing_aot_hybrid=default]) AC_ARG_WITH(testing_aot_full, [ --with-testing_aot_full=yes,no If you want to build the testing_aot_full assemblies (defaults to no)], [], [with_testing_aot_full=default]) AC_ARG_WITH(winaot, [ --with-winaot=yes,no If you want to build the Windows friendly AOT assemblies (defaults to no)], [], [with_winaot=default]) @@ -1070,7 +1071,7 @@ AC_ARG_WITH(unreal, [ --with-unreal=yes,no If you w AC_ARG_WITH(wasm, [ --with-wasm=yes,no If you want to build the WebAssembly (defaults to no)], [], [with_wasm=default]) -AC_ARG_WITH(runtime-preset, [ --with-runtime-preset=net_4_x,all,aot,aot_llvm,hybridaot,hybridaot_llvm,fullaot,fullaot_llvm,bitcode,unreal Which default profile to build (defaults to net_4_x)], [], [with_runtime_preset=net_4_x]) +AC_ARG_WITH(runtime-preset, [ --with-runtime-preset=net_4_x,all,aot,aot_llvm,hybridaot,hybridaot_llvm,fullaot,fullaot_llvm,bitcode,unreal,fullaotinterp Which default profile to build (defaults to net_4_x)], [], [with_runtime_preset=net_4_x]) AC_ARG_WITH(spectre-mitigation, [ --with-spectre-mitigation=yes,no If you want to build the runtime with compiler flags that enable Spectre mitigation (defaults to no)], [], [with_spectre_mitigation=default]) AC_ARG_WITH(spectre-indirect-branch-choice, [ --with-spectre-indirect-branch-choice=keep,thunk,inline,extern Convert indirect branches to the specified kind of thunk (defaults to inline)], [], [with_spectre_indirect_branch_choice=inline]) AC_ARG_WITH(spectre-function-return-choice, [ --with-spectre-function-return-choice=keep,thunk,inline,extern Convert function return instructions to the specified kind of thunk (defaults to inline)], [], [with_spectre_function_return_choice=inline]) @@ -1130,6 +1131,7 @@ with_monotouch_default=no with_monotouch_watch_default=no with_monotouch_tv_default=no with_xammac_default=no +with_testing_aot_full_interp_default=no with_testing_aot_hybrid_default=no with_testing_aot_full_default=no with_winaot_default=no @@ -1160,6 +1162,7 @@ elif test x$with_runtime_preset = xall; then with_orbis_default=yes with_unreal_default=yes with_wasm_default=yes + with_testing_aot_full_interp_default=yes with_testing_aot_hybrid_default=yes with_testing_aot_full_default=yes elif test x$with_runtime_preset = xbitcode; then @@ -1221,6 +1224,15 @@ elif test x$with_runtime_preset = xhybridaot_llvm; then AOT_BUILD_FLAGS="--runtime=mobile --llvm --aot=hybrid,$INVARIANT_AOT_OPTIONS" AOT_RUN_FLAGS="--runtime=mobile --hybrid-aot" +elif test x$with_runtime_preset = xfullaotinterp; then + with_testing_aot_full_interp_default=yes + TEST_PROFILE=testing_aot_full_interp + + # mscorlib.dll aot compilation crashes + mono_feature_disable_com='yes' + + AOT_BUILD_FLAGS="--aot=full,interp,$INVARIANT_AOT_OPTIONS" + AOT_RUN_FLAGS="--full-aot-interp" elif test x$with_runtime_preset = xaot; then with_profile4_x_default=yes @@ -1321,6 +1333,9 @@ fi if test "x$with_xammac" = "xdefault"; then with_xammac=$with_xammac_default fi +if test "x$with_testing_aot_full_interp" = "xdefault"; then + with_testing_aot_full_interp=$with_testing_aot_full_interp_default +fi if test "x$with_testing_aot_hybrid" = "xdefault"; then with_testing_aot_hybrid=$with_testing_aot_hybrid_default fi @@ -1348,6 +1363,7 @@ AM_CONDITIONAL(INSTALL_MONOTOUCH_WATCH, [test "x$with_monotouch_watch" != "xno"] AM_CONDITIONAL(INSTALL_MONOTOUCH_TV, [test "x$with_monotouch_tv" != "xno"]) AM_CONDITIONAL(BITCODE, test "x$with_bitcode" = "xyes") AM_CONDITIONAL(INSTALL_XAMMAC, [test "x$with_xammac" != "xno"]) +AM_CONDITIONAL(INSTALL_TESTING_AOT_FULL_INTERP, [test "x$with_testing_aot_full_interp" != "xno"]) AM_CONDITIONAL(INSTALL_TESTING_AOT_HYBRID, [test "x$with_testing_aot_hybrid" != "xno"]) AM_CONDITIONAL(INSTALL_TESTING_AOT_FULL, [test "x$with_testing_aot_full" != "xno"]) AM_CONDITIONAL(INSTALL_WINAOT, [test "x$with_winaot" != "xno"]) @@ -1356,6 +1372,7 @@ AM_CONDITIONAL(INSTALL_UNREAL, [test "x$with_unreal" != "xno"]) AM_CONDITIONAL(INSTALL_WASM, [test "x$with_wasm" != "xno"]) AM_CONDITIONAL(FULL_AOT_TESTS, [test "x$TEST_PROFILE" = "xtesting_aot_full"] || [test "x$TEST_PROFILE" = "xwinaot"] || [test "x$TEST_PROFILE" = "xorbis"] || [test "x$TEST_PROFILE" = "xwasm"]) AM_CONDITIONAL(HYBRID_AOT_TESTS, [test "x$TEST_PROFILE" = "xtesting_aot_hybrid"] || [test "x$TEST_PROFILE" = "xunreal"]) +AM_CONDITIONAL(AOT_FULL_INTERP_TESTS, [test "x$TEST_PROFILE" = "xtesting_aot_full_interp"]) default_profile=net_4_x if test -z "$INSTALL_MONODROID_TRUE"; then : @@ -1367,6 +1384,9 @@ fi if test -z "$INSTALL_XAMMAC_TRUE"; then : default_profile=xammac fi +if test -z "$INSTALL_TESTING_AOT_FULL_INTERP_TRUE"; then : + default_profile=testing_aot_full_interp +fi if test -z "$INSTALL_TESTING_AOT_HYBRID_TRUE"; then : default_profile=testing_aot_hybrid fi |