aboutsummaryrefslogtreecommitdiff
path: root/bionic-amd64-tf-m-build/Dockerfile
AgeCommit message (Collapse)Author
2024-02-21bionic-amd64-tf-m-build: Remove unused ArmClang variablesPaul Sokolovsky
Related for older ArmClang versions (pre-UBL) which were removed and no longer supported. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org> Change-Id: I300282231ffa521e6674675eaf35aefb6e1da071
2023-11-30bionic-amd64-tf-m-build: Remove outdated ArmClang 6.13Paul Sokolovsky
We switched to 6.18 for the last release, then to 6.21 after it. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org> Change-Id: I893be445beca389d632efb5620e712f910b6e873
2023-11-08bionic-amd64-tf-m-build: Install ArmClang 6.20Paul Sokolovsky
It was found that 6.21 may trigger warning-as-error which really looks like false positive (more info: https://linaro.atlassian.net/browse/TFC-540). That warning doesn't happend with 6.18, so now going to try intermediate versions. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org> Change-Id: Ie37fc95620fff51a49ee2ca5cd46d6696d264721
2023-11-03bionic-amd64-tf-m-build: Install ArmClang 6.21Paul Sokolovsky
Primary motivation at this time is to test is there's an improvement re: discovered issues with ArmClang 6.18 UBL (produces binaries which fail LAVA tests). Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org> Change-Id: I52fe9d03b18b45d63ed09ebc66bf3431e38ccd62
2023-10-23bionic-amd64-tf-m-build: Install ArmClang 6.18Paul Sokolovsky
Required to support UBL licensing. Related to https://linaro.atlassian.net/browse/TFC-198 Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org> Change-Id: I77638fe2bcda1867636bab18d3ab3b82b23ad57f
2023-03-02bionic-amd64-tf-m-build: Install gdisk & uuid-runtime in DockerXinyu Zhang
Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com> Change-Id: Ief770230c0f759236005053f6ff1fd480a4b5a03
2022-12-14various: Consistently switch Java to v11Paul Sokolovsky
The latest Jenkins releases support only Java 11 (on the server side, and thus on the build agent side, as the versions should match). Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org> Change-Id: I29fb695171e96dff5dc61d94bdebc0588a2bf577
2022-11-21bionic-amd64-tf-m-build: Switch to use armclang's from S3 bucketPaul Sokolovsky
Arm Clang toolchains are no longer accessible via straight HTTP requests. Instead, they are mirrored to an S3 bucket, files from which are made available to build.sh, which in turn makes them available to Dockerfile. This is similar to changes previously made to TF-A images. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org> Change-Id: Iebf0b1089d1963bac8aa8b49621540741762183f
2022-11-15bionic-amd64-tf-m-build: Use set -x for better failure diagnosticsPaul Sokolovsky
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org> Change-Id: I24ee08da5c42caf903ceae0ffa2cb6f9fb777fda
2022-04-02bionic-amd64-tf-m-build: Install GCC v11.2Xinyu Zhang
Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com> Change-Id: If3bd9dbfbb1d9baef9f984022494a4e5c92cd5b4
2022-01-19bionic-amd64-tf-m-build: install NinjaXinyu Zhang
Ninja based build can improve TF-M build job performance. Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com> Change-Id: Iaabdc549968484dc4d98008899a1a435929a71cf
2022-01-17bionic-amd64-tf-m-build: Download multi versions of compilersXinyu Zhang
TF-M Open CI needs to support multi versions of compilers. Download all compilers to COMPILER_DIR, and set specific paths for different compiler versions. So that the compiler versions can be selected in every single build-config job. Currently following compilers are installed for TF-M Open CI: - GCC v7.3.1 - GCC v10.3 - ARMClang v6.13 Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com> Change-Id: I31cc55181704319d5194c336c5bd6f14fccd921e
2021-09-30rebuild images to fix oudated ca-certificatesRiku Voipio
Rebuild with latest software to get ca-certificates upto date Change-Id: Ie99f097076970136fa2163efdc5a7f8779f547c1
2021-08-30bionic-amd64-tf-m-build: Add cysecuretools to requirements_python3.txtArthur She
The cysecuretools is the tool to sign the binaries for Cypress PSoC6 [1] psutil will be installed as a dependency package by pip3, so remove python3-psutil from the PKG_DEPS Some python3 packages version are adjusted, due to the requirement of cysecurtools [1] https://tf-m-user-guide.trustedfirmware.org/platform/ext/target/cypress/psoc64/cypress_psoc64_spec.html#prerequisites Signed-off-by: Arthur She <arthur.she@linaro.org> Change-Id: Ib95d1be727be66efb3934bfdccd4ad64ec6b4d06
2021-08-24bionic-amd64-tf-m-build: switch license serverRiku Voipio
On the speculation that the random license issues are due to jenkins server overloading from license requests, try using another server for flexnet. Change-Id: I2105da9a9bedaad02b32260f0b12d8ce228fb6e8
2021-06-24bionic-amd64-tf-m-build: install librsvg2-bin packageSummer Qin
librsvg2-bin package is needed for sphinxcontrib-svg2pdfconverter. Signed-off-by: Summer Qin <summer.qin@arm.com> Change-Id: Idfe17936eb23a6d3ca58944c58e9a714a4938dd7
2021-03-12Update the URL of script 'get-pip.py'Arthur She
The URL of script 'get-pip.py' has changed.[1] [1] https://ci.trustedfirmware.org/job/ci-dockerfiles-sanity-check/label=build-amd64/lastBuild/console Signed-off-by: Arthur She <arthur.she@linaro.org> Change-Id: I9a958719895243e9845308dbc57777790b8f6cb3
2021-03-04tf-m: hafnium: set an explicit pip versionFathi Boudra
fixes the following error: File "/tmp/get-pip.py", line 199, in main bootstrap(tmpdir=tmpdir) File "/tmp/get-pip.py", line 82, in bootstrap from pip._internal.cli.main import main as pip_entry_point File "/tmp/tmpcP1hEo/pip.zip/pip/_internal/cli/main.py", line 60 sys.stderr.write(f"ERROR: {exc}") ^ SyntaxError: invalid syntax Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: I4895c8db072a8878325b022d8f9cb5e4d50d00ee
2021-01-21TF-M: add locales, set to UTF-8Fathi Boudra
Fix https://projects.linaro.org/browse/LSS-2002 Files are truncated when writing on the filesystem using unicode strings. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: Id16c742f77a6b41c2ba4f3fb56f8c816fff72b43
2020-12-17TF-M: set git default configFathi Boudra
cppcheck test requires to build mbedcrypto, which fails with a cmake fatal error: fatal: unable to auto-detect email address Set a git default config to avoid this error. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: Ice1337777ea294e0b93c573137fa9780c544a864
2020-11-20TF: preserve environment variables on ssh loginFathi Boudra
We're using docker with sshd. ENV aren't preserved. In addition, it keeps the environment variables settings in a single place, within the docker image itself. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: I06005c608c2e6c6a22c0ed1acf4b84addcee22fc
2020-11-19TF-M: add ARMLMD_LICENSE_FILE environment variableFathi Boudra
ARMLMD_LICENSE_FILE is used by Arm Clang. It looks like a duplicate of the existing LICENSE_VARIABLE but the latter is used to substitute a string in the FVP jinija2 template used for LAVA. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: I85bcc0afc4afca4e0ff64e64535ef00650aa051d
2020-11-11TF-M: add environment variables used by the CI scriptsFathi Boudra
They can be overriden (per instance) in: -> Jenkins configure system -> global properties -> environment variables Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: I4d76103ec2bdbcf895d0b48ae95dbdb8d56452fb
2020-11-10TF-M: revert to use semicolon separator in the RUN commandFathi Boudra
revert https://review.trustedfirmware.org/c/ci/dockerfiles/+/6672 It was working as expected, as long as we keep "set -e" in the RUN command. Split toolchains and binaries install into a shell script. it's easier to read and maintain a shell script than bundle it into a Dockerfile. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: Ib0d0dfd26c7ef3602547113a5172c1021c9e3ac2
2020-11-10Remove Jenkins remoting supportFathi Boudra
As we don't use ECS anymore, remove jenkins remoting support deprecated in favor of sshd approach. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: Ifc6dc9449be3290a766c3773b20fcd571408b4f4
2020-11-10TF-M: we don't use Arm platforms binariesFathi Boudra
remove binaries pulled from https://releases.linaro.org/members/arm/platforms as TF-M CI isn't using them. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: I5d70de79974e6d85c38df75b6e5986f778ab9969
2020-11-10remove jenkins-slave filesLeonardo Sandoval
There is no need to use jenkins slaves because now the communication is with through ssh daemon (sshd) Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: If77cbb629748660104e5675311d8bc40c57492c5
2020-10-30use bash AND (&&) instead of command-separator (;) on docker imagesLeonardo Sandoval
Otherwise, image build phases yield images even though there may be erros in the build process. For example, the following image is built however there is a command that fails (false command) echo -e 'FROM ubuntu:bionic\nRUN false; true' | docker build - Sending build context to Docker daemon 2.048kB Step 1/2 : FROM ubuntu:bionic ---> 56def654ec22 Step 2/2 : RUN false; true ---> Running in 85759437ee6b Removing intermediate container 85759437ee6b ---> 44ee5447fd5d Successfully built 44ee5447fd5d versus this image that fails (correctly) due to errors echo -e 'FROM ubuntu:bionic\nRUN false && true' | docker build - Sending build context to Docker daemon 2.048kB Step 1/2 : FROM ubuntu:bionic ---> 56def654ec22 Step 2/2 : RUN false && true ---> Running in f4b9ac94bf12 The command '/bin/sh -c false && true' returned a non-zero code: 1 Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: Iea48194869c884fc6d3d6c64a1fd6ea7be41ec84
2020-10-19Revert "Fetch and install Coverity on-line tool"Riku Voipio
This reverts commit ade88fcb5f50b8d47d930cb6b7d8aa0d7f6a81c8. Reason for revert: we can't embed the token here Change-Id: I56db900a411a813680dd016e09ad399c81829e97
2020-10-16Fetch and install Coverity on-line toolLeonardo Sandoval
Coverity is a static code analysis tool that is used in both TF core projects. Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: I0a9f50d4badfce7270731ab432c3e9087b6a6492
2020-10-15Fetch and unzip Linaro's platform filesLeonardo Sandoval
Currently, the builders.sh [1] script fetches Linaro's platform files everytime a job runs but this can be avoided if the latter are already present on the image. [1] https://git.trustedfirmware.org/ci/tf-a-job-configs.git/tree/tf-a-builder/builders.sh Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: I8736a73231111ae3304965268723b431013ab69d
2020-10-15Install clang-tools-6.0 packageLeonardo Sandoval
The clang-tools contains 'scan-build' binary, used for static analysis checks at TF-A project [1]. [1] https://git.trustedfirmware.org/ci/tf-a-ci-scripts.git/tree/script/scan_build_wrapper.sh Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: I909b264f880821f61a1e49bafb11737f77c863f5
2020-10-15Include libxml-libxml-perl packageLeonardo Sandoval
The libxml package is required to build TF-A tests as indicated in [1] otherwise build failures are encountered when building tftf related test configs. [1] https://trustedfirmware-a-tests.readthedocs.io/en/latest/getting_started/requirements.html#build-host Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: I0c22a219f27a5164037764604cbf23d7790c1e88
2020-09-24Include GNU-GCC aarch64 (9.2-2019.12) and armclang (6.13) toolchainsLeonardo Sandoval
With these new toolchains, besides the already installed GNU-GCC arm-none-eabi- (7.3.1), TF projects (A and M) can compile with GNU and Arm toolchains for both architectures, arm and aarch64. Change-Id: Ied143296faa4ab2228c7e2415272ef564561d2ad Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org>
2020-09-15TF-M: Add tools for code coverageKarl Zhang
lcov ctags Change-Id: Ie6d47a9a4d43281c387165fe1034d03bc2e35082 Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-09-08TF-M: Update Cmake to 3.15Karl Zhang
The new build system for TF-M going to merge, it requires Cmake later than 3.15.0. Change-Id: I56efdb309cdfa4bac2d337047fd3f0b2cbfb439f Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-08-10TF-M: Add bison and flex to bionic tf-m-buildMate Toth-Pal
Add bison and flex packages for building TF-Fuzz tool in bionic-amd64-tf-m-build. Change-Id: I4c9adebb1cc8e41b7e0da557e89580f038daf06a Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
2020-08-10TF-M: Add setup-ssh and fix permissionsBenjamin Copeland
setup-ssh is required for YADP, also the jar file has never been readable by the buildslave user. Lets fix this. Signed-off-by: Benjamin Copeland <ben.copeland@linaro.org> Change-Id: I2076bb62eefc9c0a09612a0d3e62bfdbc9ef8c37
2020-07-30TF-M: Changes for YADPBenjamin Copeland
These changes are needed for the temp solution to move away from ECS Change-Id: I4fd3a08b3f3c842e443a86da202176d5922f132d
2020-06-30TF-M: Update docker image to include missing depsBenjamin Copeland
TF-M currently failing on fatal error: bits/libc-header-start.h: No such file or directory this should fix that. Signed-off-by: Benjamin Copeland <ben.copeland@linaro.org> Change-Id: Ia396b88761a1e1f3fa7c6656482ec52e1769b9a5
2020-06-30TF-M: Re-trigger jobsBenjamin Copeland
Signed-off-by: Benjamin Copeland <ben.copeland@linaro.org> Change-Id: I8b8d64cd6779b4bb71469fa20a78d990a30e2925
2020-06-29TF-M: Update cmake versionBenjamin Copeland
"CMake 3.10 or higher is required. You are running version 3.7.2", with a list of 3.10 -> 3.14 supported. Lets move to 3.14 as its the current TF-M support make version. Signed-off-by: Benjamin Copeland <ben.copeland@linaro.org> Change-Id: Ia4cf658d74611e1f2924748be5039b26e6c61924
2020-06-25TF-M: Set Python3 as the default instead of Python2Benjamin Copeland
Signed-off-by: Benjamin Copeland <ben.copeland@linaro.org> Change-Id: Ia399392297bf67a135c865cc72dfe36408ef092e
2020-06-17TF-M: Add Bionic imageBenjamin Copeland
Based of the xenial image this builds a Bionic image for the TF-M project. Change-Id: Ie620de26f0c27098aee2f5ebb0b74867669c8aa4 Signed-off-by: Benjamin Copeland <ben.copeland@linaro.org>