summaryrefslogtreecommitdiff
path: root/llvm/utils/docker/scripts
AgeCommit message (Collapse)Author
2025-01-22[Tools][Docker] Update Dockerfiles and Docker guide (#123841)Marc Auberer
Fixes #123669 - Update Dockerfiles to work with the LLVM trunk - Adapt Documentation accordingly - Fix duplicate `-c` flag
2023-05-17[NFC][Py Reformat] Reformat python files in llvmTobias Hieta
This is the first commit in a series that will reformat all the python files in the LLVM repository. Reformatting is done with `black`. See more information here: https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style Reviewed By: jhenderson, JDevlieghere, MatzeB Differential Revision: https://reviews.llvm.org/D150545
2023-03-31[utils] Give git a dummy email address when cherry picking.Roy Sundahl
Git wants an email address these days. (Also a nit typo.) Reviewed By: XiaodongLoong Differential Revision: https://reviews.llvm.org/D146728
2022-04-15[utils] Use git to checkout code instead of svn in building docker imageXiaodong Liu
Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D123795
2021-10-21Remove unused parallel-libs projectDavid Blaikie
Differential Revision: https://reviews.llvm.org/D112265
2020-07-16Harmonize Python shebangserge-sans-paille
Differential Revision: https://reviews.llvm.org/D83857
2020-02-10Continue removing llgo.Eric Christopher
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth
to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
2019-01-03Python compat - iteritems() vs. items()Serge Guelton
Always use `items()` and introduce extra `list(...)` call when needed. Differential Revision: https://reviews.llvm.org/D56257 llvm-svn: 350312
2018-04-20[Dockerfiles] Split checkout and build scripts into separate files.Ilya Biryukov
Summary: This is a small refactoring to extract the svn checkout code from the build script used inside the docker image. This would give more flexibility if more than a single invocation of cmake is needed inside the docker image. User-facing interface (build_docker_image.sh) hasn't changed, only the internal scripts running inside the build container are affected. Reviewers: ioeric Reviewed By: ioeric Subscribers: mehdi_amini, llvm-commits Differential Revision: https://reviews.llvm.org/D45868 llvm-svn: 330412
2018-03-26Migrate dockerfiles to use multi-stage builds.Ilya Biryukov
Summary: We previously emulated multi-staged builds using two dockerfiles, native support from Docker allows us to merge them into one, simplifying our scripts. For more details about multi-stage builds, see: https://docs.docker.com/develop/develop-images/multistage-build/ Reviewers: mehdi_amini, klimek, sammccall Reviewed By: sammccall Subscribers: llvm-commits, ioeric, cfe-commits Differential Revision: https://reviews.llvm.org/D44787 llvm-svn: 328503
2018-01-24Fix typos of occurred and occurrenceMalcolm Parsons
llvm-svn: 323318
2017-12-20Allow to apply cherry-picks when building Docker images.Ilya Biryukov
Reviewers: mehdi_amini, ioeric, klimek Reviewed By: ioeric Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D41393 llvm-svn: 321175
2017-09-15Added optional validation of svn sources to Dockerfiles.Ilya Biryukov
Summary: This commit also adds a script to compute sha256 hashes of llvm checkouts. Reviewers: klimek, mehdi_amini Reviewed By: klimek Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D37099 llvm-svn: 313359
2017-08-23Fixed invalid variable name in Dockerfile scripts.Ilya Biryukov
LLVM_SVN_REVISION was used instead of LLVM_SVN_REV. This caused a revision option to be ignored in Dockerfiles. llvm-svn: 311564
2017-08-18Addressed some security issues in Dockerfiles.Ilya Biryukov
Summary: - Removed --trust-server-cert from `svn checkout` invocations. Installing 'ca-certificates' package on ubuntu adds required CAs to the system and svn can do proper checkout using https. - Added checksum verification when installing cmake from cmake.org. Reviewers: mehdi_amini, klimek Reviewed By: mehdi_amini Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D36673 llvm-svn: 311152
2017-07-31[docker] Fix unmatched quote problem in here-document on older versions of bashDon Hinton
Summary: When outputing usage, emit here-document directly instead of saving in a variable first -- avoids problem with bash 3.2.57 where an unmatched ' in the here-document results in the following error: ./build_docker_image.sh: line 135: unexpected EOF while looking for matching `'' bash --version GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16) Differential Revision: https://reviews.llvm.org/D36064 llvm-svn: 309568
2017-07-20Handle clang-tools-extra project in docker scripts.Ilya Biryukov
Reviewers: klimek, mehdi_amini Reviewed By: mehdi_amini Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D35418 llvm-svn: 308594
2017-07-06Fixes to Dockerfile scripts.Ilya Biryukov
- Put buildfiles into /tmp/clang-build/build, instead of /tmp/clang-build. We checkout the sources to /tmp/clang-build/src and running cmake in /tmp/clang-build was done by mistake. - Don't add an extra ';' at the start of enabled projects list. It worked either way, but looked strange. - Minor comment update. llvm-svn: 307258
2017-07-03Fixed argument parsing in docker scripts.Ilya Biryukov
llvm-svn: 307031
2017-06-30Added Dockerfiles to build clang from sources.Ilya Biryukov
Reviewers: klimek, chandlerc, mehdi_amini Reviewed By: klimek, mehdi_amini Subscribers: mehdi_amini, jlebar, llvm-commits Differential Revision: https://reviews.llvm.org/D34197 llvm-svn: 306810