[jenkins] Add `aot_llvm` and `aot` CI tag as well as `aot` runtime preset
authorLudovic Henry <ludovic@xamarin.com>
Wed, 7 Dec 2016 21:20:30 +0000 (16:20 -0500)
committerLudovic Henry <ludovic@xamarin.com>
Wed, 7 Dec 2016 21:25:10 +0000 (16:25 -0500)
configure.ac
scripts/ci/run-jenkins.sh

index dda3379f3bce3a551b8c62cd6c297b7d41b66b42..ba4574e3f930ddfb14644f7c4d0985e3c433fc60 100644 (file)
@@ -799,7 +799,7 @@ AC_ARG_WITH(xammac,          [  --with-xammac=yes,no            If you want to b
 AC_ARG_WITH(aot_hybrid,      [  --with-aot_hybrid=yes,no        If you want to build the aot_hybrid assemblies (defaults to no)],     [], [with_aot_hybrid=default])
 AC_ARG_WITH(aot_only,        [  --with-aot_only=yes,no          If you want to build the aot_only assemblies (defaults to no)],       [], [with_aot_only=default])
 
-AC_ARG_WITH(runtime_preset, [  --with-runtime_preset=net_4_x,all,aot_preferred,aot_only,bitcode_aot_only   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_preferred,aot_only,bitcode_aot_only   Which default profile to build (defaults to net_4_x)],  [], [with_runtime_preset=net_4_x])
 
 dnl
 dnl Profile defaults
@@ -872,6 +872,13 @@ elif test x$with_runtime_preset = xaot_preferred; then
 
    AOT_BUILD_FLAGS="--aot=hybrid,$INVARIANT_AOT_OPTIONS"
    AOT_RUN_FLAGS="--hybrid-aot"
+elif test x$with_runtime_preset = xaot; then
+   with_profile4_x_default=yes
+
+   AOT_BUILD_FLAGS="--aot=$INVARIANT_AOT_OPTIONS"
+   AOT_RUN_FLAGS=""
+
+   DISABLE_MCS_DOCS_default=yes
 else
    with_profile4_x_default=yes
 fi
index fc26692d0c9f86f22e838899ad6d0c5958254bac..9af8e8b07828b7bf9c864884fa84ee66f03c43a9 100755 (executable)
@@ -34,6 +34,12 @@ elif [[ ${CI_TAGS} == *'hybridaot_llvm'* ]];
 elif [[ ${CI_TAGS} == *'hybridaot'* ]];
     then
     EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-runtime_preset=aot_preferred";
+elif [[ ${CI_TAGS} == *'aot_llvm'* ]];
+    then
+    EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-runtime_preset=aot --enable-llvm=yes";
+elif [[ ${CI_TAGS} == *'aot'* ]];
+    then
+    EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-runtime_preset=aot";
 elif [[ ${CI_TAGS} == *'acceptance-tests'* ]];
     then
     EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --prefix=${WORKSPACE}/tmp/mono-acceptance-tests --with-sgen-default-concurrent=yes";