Mikhail Goncharov
ac3cdef23d
Add clang-tidy and clang-format command to "reproduce locally"
2020-07-23 09:50:06 +02:00
Mikhail Goncharov
00a2c76d0b
Merge pull request #219 from google/ignore-tests-format
...
ignore **/test for clang-format
2020-07-22 19:34:34 +02:00
Mikhail Goncharov
3d1d7af150
Merge pull request #218 from google/notify
...
Notify
2020-07-22 19:22:52 +02:00
Mikhail Goncharov
5362bc52a3
ignore **/test for clang-format
2020-07-22 18:59:47 +02:00
Mikhail Goncharov
82d0ae033b
fix script branch commit message
2020-07-22 17:04:02 +02:00
Mikhail Goncharov
3ababb3b88
notify-email
2020-07-22 16:08:52 +02:00
Mikhail Goncharov
605f18bad1
Add link to ninja log instead of XML #216
...
XML tooks too long to load and not that helpful
+ link tell how many tests have failed
+ link is added only if something is off
2020-07-22 15:45:53 +02:00
Mikhail Goncharov
fa11647670
retry build step if agent is gone or shut down
2020-07-21 10:42:46 +02:00
Mikhail Goncharov
d4e5126090
Update docs on ssd disk initialization
...
+ change number of linux agents
+ removed outputs in job analysis
+ updated windows image
2020-07-21 10:40:26 +02:00
Mikhail Goncharov
42d7237491
Add step to schedule agent restart on windows
2020-07-17 18:37:29 +02:00
Mikhail Goncharov
95cdccb68f
ipython notebook to analyze build speed per agent
...
+ add ssd as an option to windows agent bootstrap
2020-07-16 18:04:09 +02:00
Mikhail Goncharov
304f2e88d5
Additional logging for project selection
...
+ option to skip win / linux build from diff checks
2020-07-14 18:26:53 +02:00
Mikhail Goncharov
89d294ef42
return exit status of ninja command
...
- Fix for #207 . Previously grep was exiting with 1 and fail build if all
lines from ninja are filtered. Also piping might hide exit code of the
initial command. Now "tee" and "grep" is implemented on python level
and we get exit code of the original command.
- Fixed default value of "scripts_branch", print scripts commit;
- Added option to filter ninja output (on by default as before).
- Copied cache usege reporting and error handling from "master" branch
build to diff checks (useful for debugging).
2020-07-10 19:35:29 +02:00
Mikhail Goncharov
6bf3c85cc6
Print commands to reproduce build locally
...
- additional arguments to set enabled projects, log level and reset
cache.
2020-07-09 15:31:34 +02:00
Mikhail Goncharov
7667fc8004
Allow "building" in ninja all log
...
That is a temporary workaround for #207 that caused by grep exiting with
1 as whole `ninja all` output is filtered out.
2020-07-09 15:09:58 +02:00
Mikhail Goncharov
0e36e0cf7c
Disable openmp build on Windows until it fixed
2020-07-09 11:00:47 +02:00
Mikhail Goncharov
3f52fb7969
Show stats on linux / windows
2020-07-08 14:32:59 +02:00
Mikhail Goncharov
f125728908
remove compiler-rt and flang temporarily
2020-07-08 12:01:17 +02:00
Mikhail Goncharov
1fa24a55ec
Add option to disable cache
2020-07-08 09:45:22 +02:00
Mikhail Goncharov
1421dc1184
Merge pull request #199 from joker-eph/build_examples
...
Enable -DLLVM_BUILD_EXAMPLES=ON during pre-merge testing
2020-07-08 09:09:53 +02:00
Mikhail Goncharov
517f0309dd
Merge pull request #202 from fooishbar/clang-tidy-ignore-libclc
...
clang-tidy: Ignore all of libclc source
2020-07-07 15:48:34 +02:00
Mikhail Goncharov
efaa8b73e6
fix build command on windows
2020-07-07 15:13:43 +02:00
Mikhail Goncharov
23fecd6765
additional projects for master branch builds
2020-07-01 09:31:13 +02:00
Mikhail Goncharov
ffa1882445
Specify timeout for every step
2020-06-29 12:17:03 +02:00
Mikhail Goncharov
af7204418f
error handling
2020-06-29 11:41:48 +02:00
Mikhail Goncharov
9a2a236dd0
log text updates
2020-06-29 11:14:47 +02:00
Mikhail Goncharov
6fb2c53be8
cleanup script logging and failure count fix
2020-06-29 11:07:05 +02:00
Mikhail Goncharov
ac3c287766
chmod +x cleanup_branches
2020-06-29 10:56:21 +02:00
Mikhail Goncharov
4241d6b53e
Doc update
2020-06-29 10:56:21 +02:00
Mikhail Goncharov
5205b53fbf
add directory
2020-06-18 11:54:28 +02:00
Mikhail Goncharov
fb830daebe
Update clang version
...
apt.llvm.org signature has changed, we also should use debian:stable
(=buster) as a base image to correctly install packages.
Removed jdk from the base image as it was used only by Jenkins.
Log packages version for every build.
Related issues: #112
2020-06-18 10:55:15 +02:00
Mikhail Goncharov
89e3f73689
check out fork into different directory
2020-06-17 16:09:10 +02:00
Mikhail Goncharov
24da609a10
Flush stdout to fix log update
...
for #201
2020-06-17 15:07:19 +02:00
Mikhail Goncharov
9e3995bbe0
get queue prefix from URL params
2020-06-17 13:52:33 +02:00
Daniel Stone
d26f5ef00e
clang-tidy: Ignore all of libclc source
...
libclc implements OpenCL C, which is not actual C/C++, and implements an
external API with different naming conventions.
As clang-tidy cannot parse the source[0], just blacklist all of libclc's
sources for now.
[0]: https://buildkite.com/llvm-project/premerge-checks/builds/695
2020-06-17 12:00:26 +01:00
Mikhail Goncharov
ffaba986c1
Deployment changes
...
do not restart win docker as it makes it impossible to stop agent from
buildkite UI for maintenance
2020-06-17 09:46:42 +02:00
Mikhail Goncharov
af7bd86875
disable clang format / tidy for master and release builds
2020-06-16 17:29:04 +02:00
Mikhail Goncharov
4c3cd1b6f5
Use os in queue name
...
That is useful for metrics collection as buildkite metrics only reports
per queue metrics
2020-06-16 10:30:24 +02:00
Mehdi Amini
655f87d98c
Enable -DLLVM_BUILD_EXAMPLES=ON during pre-merge testing
2020-06-15 19:16:39 +00:00
Mikhail Goncharov
6812950908
Report build error if failed to apply patch
2020-06-05 12:32:09 +02:00
Mikhail Goncharov
de0d5afd78
Move agents to default queue
...
- fix windows defender exclusion path
2020-06-05 10:50:42 +02:00
Mikhail Goncharov
82daa321a2
Don't use all projects for master / release builds
2020-06-04 14:10:08 +02:00
Mikhail Goncharov
e08efbcf2a
Script updates:
...
- option not to shut down sccache after 10 minutes
- zero sccache stats before running the build
- decrease number of jenkins agents
2020-06-04 12:36:46 +02:00
Mikhail Goncharov
3170572590
don't report back to pahabricator in master build
2020-06-04 08:47:46 +02:00
Mikhail Goncharov
770f6726bc
Add new pipeline to build a master branch
2020-06-04 08:40:04 +02:00
Mikhail Goncharov
ac3e35d965
fix string format
2020-06-03 17:21:49 +02:00
Mikhail Goncharov
017ca44a75
Add windows build
...
- configured sccache on buildkite windows machines
- final result is sent to phabricator from "summary.py" that waits for both builds to complete
- extracted "add_url_artifact" to a runnable script
- reorganized code and fixed some of TODOs
2020-06-03 13:40:22 +02:00
Christian Kühnel
654b6e5da8
ignoring mlir/examples/standalone in clang-tidy
2020-05-29 08:00:23 +02:00
Mikhail Goncharov
afed3a7898
Update docs and script for installing win machines
...
I have tried to install new windows machine for buildkite and updated
some scrips and docs on along the way.
- Updated base image for k8s agent installation as it gave a warning that
previous version was old.
- Now buildkite secret is configured in a powershell script along with
tags (and possible other parameters).
- Split "windows_agent_start.ps1" to "..jenkins" and "..buildkite" as
some parameters are different.
- Created a "windows-development" machine in GCP stat can be resumed
to build docker images / expriment.
2020-05-27 15:41:49 +02:00
Mikhail Goncharov
d796cfec6d
fix typo
2020-05-26 12:54:31 +02:00