diff options
author | Diana Picus <diana.picus@linaro.org> | 2017-07-26 12:44:59 +0200 |
---|---|---|
committer | Diana Picus <diana.picus@linaro.org> | 2017-08-07 09:11:19 +0000 |
commit | 22ac2f4075605b305c0ea09bd622811ea7b2d849 (patch) | |
tree | d05cc6a0fdbc2690ae21f3fa8f0deace62664bae /tcwg-llvm-testsuite.yaml | |
parent | 679e59a7aa8c515bf220c217c82f1f4e7edb3d4f (diff) |
tcwg-llvm-testsuite: Add 'nt_flags' field
Add a 'nt_flags' field to the job which will be forwarded to the script
that builds the test-suite. This should enable us to build the
test-suite with different compiler flags (e.g. -O0 -mllvm -global-isel),
or in benchmarking mode, or with a specified number of threads, or
anything else that the LNT nt producer allows us to configure.
Change-Id: Iaa78f499d55ee90fa0b9eb1f136c5cf816dc72e1
Diffstat (limited to 'tcwg-llvm-testsuite.yaml')
-rw-r--r-- | tcwg-llvm-testsuite.yaml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tcwg-llvm-testsuite.yaml b/tcwg-llvm-testsuite.yaml index f8e0c8e3..55f35b0e 100644 --- a/tcwg-llvm-testsuite.yaml +++ b/tcwg-llvm-testsuite.yaml @@ -19,6 +19,10 @@ default: '' description: 'URL of the toolchain to use. This needs to be a tarball with a /bin directory inside with either GCC or LLVM from make install' - string: + name: nt_flags + default: '' + description: 'Flags to pass to the LNT nt producer (e.g. --threads=8 --cflag -O0)' + - string: name: build_container_tag default: 'xenial' description: 'Type of image to use in the container: trusty, xenial.' @@ -117,4 +121,5 @@ # Setup job parameters and run ${BUILD_CONTAINER} "cd ${WORKSPACE} && bash -x ${WORKSPACE}/tcwg-llvm-testsuite.sh \ --workspace=${WORKSPACE} \ - --toolchain=${toolchain}" + --toolchain=${toolchain} \ + --nt-flags=\"${nt_flags}\"" |