aboutsummaryrefslogtreecommitdiff
path: root/coresight.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2014-12-08 13:08:07 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2014-12-08 13:08:07 +0200
commit69e98f5abcc9e2652b54a3d6887d47ed5379dfa9 (patch)
tree1f8afe4adf05663bdda8613c34215d8a6fe25f83 /coresight.yaml
parent5f8d9500e968259bf8427bd77c16414574b26802 (diff)
downloadconfigs-69e98f5abcc9e2652b54a3d6887d47ed5379dfa9.tar.gz
Add coresight job
JIRA: REQ-590, CARD-1730 Change-Id: Ib7b8966d8e9d533feb49911420b5873740e78430 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'coresight.yaml')
-rw-r--r--coresight.yaml87
1 files changed, 87 insertions, 0 deletions
diff --git a/coresight.yaml b/coresight.yaml
new file mode 100644
index 000000000..df568772c
--- /dev/null
+++ b/coresight.yaml
@@ -0,0 +1,87 @@
+- job:
+ name: coresight
+ project-type: freestyle
+ defaults: global
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 30
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ parameters:
+ - password:
+ name: PUBLISH_KEY
+ default: ${PUBLISH_KEY}
+ disabled: false
+ node: build
+ display-name: 'Coresight'
+ scm:
+ - git:
+ url: http://git.linaro.org/kernel/coresight.git
+ refspec: +refs/heads/master:refs/remotes/origin/master
+ name: origin
+ branches:
+ - origin/master
+ skip-tag: true
+ shallow-clone: true
+ wipe-workspace: false
+ wrappers:
+ - timestamps
+ - copy-to-slave:
+ includes:
+ - gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
+ - build-name:
+ name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
+ builders:
+ - shell: |
+ #!/bin/bash
+
+ trap cleanup_exit INT TERM EXIT
+
+ cleanup_exit()
+ {
+ cd ${WORKSPACE}
+ rm -rf lci-build-tools
+ rm -rf builddir*
+ rm -rf out
+ }
+
+ export LANG=C
+ CCACHE_DIR="$HOME/ccache"
+ CCACHE_UNIFY=1
+ CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros
+ export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS
+ export use_ccache=true
+
+ export hwpack_type=vexpress
+ export kernel_flavour=vexpress
+ export use_config_fragment=1
+ export conf_filenames="arch/arm/configs/vexpress_defconfig linaro/configs/coresight.conf"
+ export MAKE_DTBS=true
+ export toolchain_url="http://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz"
+
+ # XXX
+ mkdir -p linaro/configs
+ cat << EOF > linaro/configs/coresight.conf
+ CONFIG_CORESIGHT=y
+ CONFIG_CORESIGHT_LINKS_AND_SINKS=y
+ CONFIG_CORESIGHT_LINK_AND_SINK_TMC=y
+ CONFIG_CORESIGHT_SINK_TPIU=y
+ CONFIG_CORESIGHT_SINK_ETBV10=y
+ CONFIG_CORESIGHT_SOURCE_ETM3X=y
+ EOF
+
+ test -d lci-build-tools || git clone https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools
+ bash lci-build-tools/jenkins_kernel_build_inst
+
+ # XXX
+ mkdir -p out
+ cp -a builddir-*-${kernel_flavour}/.config out/kernel_config_${kernel_flavour}
+ mv hwpack_linaro-${hwpack_type}_*_armhf_supported.* out/
+
+ ${HOME}/bin/linaro-cp out kernel-hwpack/vexpress-coresight/${BUILD_NUMBER}
+
+ CCACHE_DIR=${CCACHE_DIR} ccache -M 20G
+ CCACHE_DIR=${CCACHE_DIR} ccache -s