aboutsummaryrefslogtreecommitdiff
path: root/robher-aosp.yaml
diff options
context:
space:
mode:
authorRob Herring <rob.herring@linaro.org>2017-06-06 09:16:04 -0500
committerRob Herring <rob.herring@linaro.org>2017-06-06 11:24:18 -0500
commit152f0b93d77b436afa5ceed2f3a5c35277075781 (patch)
treeecdc90cf0896486d723910f2cba3fbd1a6ce3b6f /robher-aosp.yaml
parent951744341ad5134076fd6a7f5966abb519af17b1 (diff)
downloadconfigs-152f0b93d77b436afa5ceed2f3a5c35277075781.tar.gz
robher-aosp: add parameters for custom mesa git tree and email recipient
Add parameters for custom git tree and branch for mesa. Mesa master can now be built without any additional patches, so just fetch and checkout the branch. Also, add a parameter to add other email recipients. Change-Id: Ib61810dd60d91ea55b4cf0a5a41a9dcd16aafdc3 Signed-off-by: Rob Herring <rob.herring@linaro.org>
Diffstat (limited to 'robher-aosp.yaml')
-rw-r--r--robher-aosp.yaml17
1 files changed, 12 insertions, 5 deletions
diff --git a/robher-aosp.yaml b/robher-aosp.yaml
index 769ab77be..02cbe1c81 100644
--- a/robher-aosp.yaml
+++ b/robher-aosp.yaml
@@ -21,6 +21,13 @@
- job-extended-read
- job-configure
- job-cancel
+ parameters:
+ - string:
+ name: MESA_GIT_TREE
+ default:
+ - string:
+ name: MESA_EMAIL_RECIPIENTS
+ default:
disabled: false
node: docker-xenial-aosp
display-name: 'AOSP build playground for Rob Herring'
@@ -59,11 +66,11 @@
repo manifest -r -o out/pinned-manifest.xml
cd external/mesa3d
- rev=$(git rev-parse freedesktop/master)
- # temporary until upstream can build
- #git reset --hard ${rev}
- git pull --no-edit https://github.com/robherring/mesa.git android-build-test
+ if [ -n "${MESA_GIT_TREE}" ]; then
+ git fetch ${MESA_GIT_TREE}
+ git checkout FETCH_HEAD
+ fi
# Enable gpu drivers
echo 'BOARD_GPU_DRIVERS := "i915 i965 i915g r300g r600g nouveau swrast vc4 virgl"' > Android.mk.new
@@ -92,7 +99,7 @@
- email:
recipients: 'rob.herring@linaro.org vishal.bhoj@linaro.org'
- email-ext:
- recipients: 'rob.herring@linaro.org'
+ recipients: 'rob.herring@linaro.org ${MESA_EMAIL_RECIPIENTS}'
content-type: text
subject: 'errors for mesa master Android build ${BUILD_NUMBER}'
body: |