summaryrefslogtreecommitdiff
path: root/init-and-build.sh
AgeCommit message (Collapse)Author
2017-09-07FIXME: Use fixed version of oe-core for ilp32 buildVishal Bhoj
Build fails on oe-core master branch. Lets change to the version that works for us for now until the issues are fixed on master branch Change-Id: I0d1940a3a038a5ffabd38f98a560c8ba57727e79 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2017-02-02init-and-build: switch to gcc-linaro 6.2 by defaultKoen Kooi
This matches the OE RBP setup. Change-Id: I0fcf0ac41a6def938691f5a8d0ddf411eb9509c0 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2016-03-29init-and-build: propagate bitbake error codes back to callerKoen Kooi
This should make the CI fail when the build fails instead keep on going. Change-Id: I7a350a7cfdbcdf4e4d4d6b2f9297c26eb39cc5ef Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-11-30init-and-build: move to gcc 5.2release-15.12Koen Kooi
Change-Id: I3738a3697b3745a24d47104f0d1ba3a8429e9681
2015-05-12init-and-build.sh: add flag to enable ptestStuart Haslam
Enable ptest (pacakge test) packages to be built for all packages which support it. To avoid image bloat this does not cause all ptest packages to be installed, they need to be individually selected via IMAGE_INSTALL. Change-Id: Iac06ce3af4f412f0c472b20033c2643aaf149b4e Signed-off-by: Stuart Haslam <stuart.haslam@linaro.org>
2015-04-22Use base_dir variable instead of hardcoded path for base directory.Rob Savoye
Use basename instead of cut for external toolchain path parsing to be more flexible. Change-Id: Ia427b88cc5e97cc147591bfcb03df666990f7f6d Signed-off-by: Robert Savoye <rob.savoye@linaro.org>
2015-04-02functions.sh: add fallback for yet another abe toolchain URI layoutKoen Kooi
E.g. http://abe.tcwglab.linaro.org/binaries/2015.99/gcc-linaro-4.9-2015.99-x86_64_aarch64-linux-gnu.tar.xz Change-Id: I1c2ba85e30767584efcdbcf6a19affcf05bd7724 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-08-05init-and-build: default to gcc 4.9Koen Kooi
Change-Id: I806accb03a321ce5fa3b246f921f40cbd5ddabf1 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-06-17Clarify jenkins-setup licensingrelease-14.07release-14.06Fathi Boudra
Change-Id: I9c433b1b839d451b3cdb8032dd5a1e39cc1436cd Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-04-10init-and-build.sh: comment out gcc-cross race workaroundKoen Kooi
Change-Id: I88e52bfe813d28ce6a34ff22d5d29222be29867a Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2013-12-16functions.sh init-and-build.sh: add support for custom sstate dir folderNicolas Dechesne
When doing builds for several OE versions (e.g. dylan, dora, master) it is better to use a different sstate folder for each release, otherwise the sstate-cache-management will delete older release packages which is not a behavior that we need. This commit adds an option to specify a 'subfolder' to use in the main sstate_dir area for Linaro CI loop. Change-Id: I49662c0ec6ebf577992a12240626ada999918c5a Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2013-12-16set Linaro CI site.conf specific options in a standalone functionNicolas Dechesne
This commit splits the Linaro CI (Jenkins) options into a specific function, so that these settings can be done even when using a custom workspace init function. e.g. after the build specific 'init env' script/function is done. It is important to note that init_env_linaro_ci() will be called for every build, so this function must only configured global configuration, not build-specific attributes. Build specific options need to be configured in init_env or in the custom init function. Change-Id: Ifd3b04bfa60b6def780ea41f4b935ac186bbafe0 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2013-12-16init-and-build.sh: add some comments about the init_env vs custom init_envNicolas Dechesne
Change-Id: If8d9fcd30d4cb9fb9b5ccb9d21f05f8fa6d02b15 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2013-12-14tweak BB_NUMBER_THREADS/PARALLEL_MAKE based on the number of processors onlineFathi Boudra
Change-Id: I3140febf1e3754014e8e1a1c8d312e989425a2e1 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2013-10-12init-and-build.sh: restore gcc-cross race work aroundFathi Boudra
Even after syncing with oe-core patches, we still observe random build failures. Change-Id: Ice53793bf9b2facdf7aabac2c1efbf40246cc46e Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2013-10-10init-and-build.sh: get rid of gcc-cross race work aroundKoen Kooi
Change-Id: Idf1a0bfbb49dc9bb91600bc6b1de4ddd3ea6b3c5 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2013-10-10add support for parameterized init_env functionNicolas Dechesne
We need to be able to reuse the jenkins-setup scripts for several different Linaro OE builds. This commit lets us replace the default init_env function with a build-specific function. The build-specific command will typically be another script/program outside of jenkins-setup, e.g: ./init-and-build.sh -i "MACHINE=${machines} source setup-environment build" Change-Id: I136715fe685db12ad7f7244a86fa981ada5ce174 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2013-10-09create a dedicated function to initialize the 'build' folderNicolas Dechesne
The main idea here is to start using jenkins-setup scripts as generic tools that facilitates the setup, configuration and builds for Linaro OE builds, and to remove any configuration which is specific to a particular build. When Linaro OE CI started there was only one build, we now want to reuse the setup tools for every Linaro OE builds. So only settings which are related to Linaro CI should persist eventually. So this commit isolates the 'build environemnt initiliazation' in its own function, so that it can later be replaced and parameterized. Change-Id: If347103654339d42a027580eed2f5e592b8286f1 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2013-10-07init-and-build.sh: use './' in source statement to make it work on FedoraKoen Kooi
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2013-10-01test workaround for gcc build raceRiku Voipio
2013-09-30pigz-native issue should be fixed nowRiku Voipio
2013-09-10try workaround zlib/pigz racerelease-13.09Riku Voipio
2013-09-06Add option to specify manifest repositoryFathi Boudra
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2013-09-06Add support for manifest groups optionsNicolas Dechesne
Advanced manifest can use 'groups' to tie projects together, such that only a subset of the project are fetched/sync'd when running repo sync. The 'groups' is provided to repo init command. For repo manifest documentation: = Attribute `groups`: List of groups to which this project belongs, whitespace or comma separated. All projects belong to the group "all", and each project automatically belongs to a group of its name:`name` and path:`path`. E.g. for <project name="monkeys" path="barrel-of"/>, that project definition is implicitly in the following manifest groups: default, name:monkeys, and path:barrel-of. If you place a project in the group "notdefault", it will not be automatically downloaded by repo. If the project has a parent element, the `name` and `path` here are the prefixed ones. = Since '-g' option to init-and-build.sh was used already, '-m' is used... Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2013-08-05Revert "force sstate cache cleanup"Riku Voipio
This reverts commit f0aff2c4a1b28c7d0793c445e061f8ca8fe267f7.
2013-08-05force sstate cache cleanupRiku Voipio
2013-08-05revert gcc cleanup callRiku Voipio
2013-08-05init-and-build: clean gcc for tmpdir moveRiku Voipio
quick fix to allow builddir to moved (for fixing jdk8 build)
2013-08-01init-and-build: add -v (verbose) optionAndrew McDermott
The '-v' verbose option is passed to bitbake and is useful for debugging build failures. Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
2013-07-17skip cleanups if more than 50% is freeRiku Voipio
2013-07-02add path for repoRiku Voipio
2013-06-28Remove jenkins variable and rely on WORSPACE environment variableFathi Boudra
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2013-06-19Use repo in the same way Android builds are doing:Fathi Boudra
- use our own repo mirror - pass --repo-url - prepend manifest_ to manifest related variables Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2013-06-18init-and-build: invoke script from anywareAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2013-06-18init-and-build: use repo to clone.Anders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2013-06-13Switch to gcc 4.8 as defaultRiku Voipio
2013-06-12remove workaround. libunwind fix is inRiku Voipio
2013-06-06cleanup pre-buildRiku Voipio
2013-06-05init-and-build: better commentRiku Voipio
2013-05-28init-and-build.sh: fixed workaroundMarcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
2013-05-28init-and-build.sh: add better workaround for LP: #1183087Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
2013-05-28hack: force libunwind cleand to allow gcc buildRiku Voipio
2013-05-17fix accidental commitRiku Voipio
2013-05-15bump icedtea versionRiku Voipio
2013-04-30init-and-build.sh: External toolchain support and other changesMarcin Juszkiewicz
Script takes arguments and all CI builds need to be changed. usage: $0 options This script initialize and run OpenEmbedded builds with Linaro settings. OPTIONS: -h Show this message -a Target architecture (armv7a or armv8) -g GCC version (4.7 or 4.8) -u External Linaro toolchain URL To do build with external Linaro toolchain -u have to be used. Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
2013-04-24init-and-build.sh: use proper meta-java GIT repoMarcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
2013-04-24init-and-build.sh: added meta-java for Andy's work on OpenJDK/AArch64Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
2013-04-24Unlock revisions after 13.04 freeze.Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
2013-04-24init-and-build.sh: 13.04 freezerelease-13.04Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
2013-04-08Revert "init-and-build.sh: due to lack of space on i-3e9a014d instance clean ↵Marcin Juszkiewicz
today" This reverts commit d4e395e326121dd64c8b346081f78e7d8f3c6982. Cleaning build was started so we can switch back to Saturdays.