Enable the device build correctly when mono/llvm is bumped. (#5294)

This allowed #5252 to pass the PR build: the device build was disabled for the
PR test run.
This commit is contained in:
Rolf Bjarne Kvinge 2018-12-19 16:56:12 +01:00 коммит произвёл GitHub
Родитель 30d60bffe9
Коммит fc51fa887d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -38,8 +38,10 @@ else
sed 's/^/ /' .tmp-files || true
if grep 'external/mono' .tmp-files > /dev/null; then
echo "Enabling device build because mono was bumped."
ENABLE_DEVICE_BUILD=1
elif grep 'external/llvm' .tmp-files > /dev/null; then
echo "Enabling device build because llvm was bumped."
ENABLE_DEVICE_BUILD=1
else
echo "Not enabling device build; neither mono nor llvm was bumped."
fi
@ -64,6 +66,7 @@ make reset
make git-clean-all
make print-versions
echo "Configuring the build with: $CONFIGURE_FLAGS"
# shellcheck disable=SC2086
./configure $CONFIGURE_FLAGS