1
0
Fork 0
Commit graph

522 commits

Author SHA1 Message Date
Mikhail Goncharov
3bc8b9edd4 fix status name usage 2022-11-02 18:42:17 +01:00
Matheus Izvekov
a88324d943 patch_diff: Skip closed dependent revisions
When scanning dependencies, instead of trying to
skip them based on them being landed, skip them
based on the status of the revision.

Detecting landed revisions is fraught with problems,
as there is no good general way to handle reverts.

Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>
2022-11-02 18:42:17 +01:00
Mikhail Goncharov
922434d262 Revert "patch_diff: Stop trying to skip landed revisions"
This reverts commit 2a4f65cf9b.
2022-10-20 18:11:53 +02:00
Matheus Izvekov
2a4f65cf9b patch_diff: Stop trying to skip landed revisions
We remove this functionality since it does not take
into account reverted revisions.

Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>
2022-09-13 15:20:02 +02:00
Arthur Eubanks
33b26e751e Use --config=ci on bazel premerge bots
This fixes the broken premerge bots.

--config=ci implicitly implies all of the removed flags via .bazelrc, except --config=rbe which was removed.
2022-08-31 23:27:05 +02:00
Mikhail Goncharov
1b58075c54 install MLIR python requirements before building 2022-08-23 15:10:05 +02:00
Mikhail Goncharov
b52b321f8f Temporary disable openmp build.
Will try to reproduce locally and report back
2022-07-28 14:33:20 +02:00
dependabot[bot]
517994c41c Bump lxml from 4.6.5 to 4.9.1 in /scripts/metrics
Bumps [lxml](https://github.com/lxml/lxml) from 4.6.5 to 4.9.1.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.5...lxml-4.9.1)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-26 10:46:50 +02:00
Mikhail Goncharov
47a8401ffa
remove BOLT_LLD option
as we want to use project's linker for #401
2022-06-09 13:50:48 +02:00
Mikhail Goncharov
d8647c815d Add LLD as dependency for BOLT
For #401. I am not sure though if that will make bolt build using trunk
lld.
2022-06-02 10:37:57 +02:00
Geoffrey Martin-Noble
fbffc10faf [Bazel] Explicitly build with -Werror
In https://reviews.llvm.org/D123481 we're removing this from the
default builds, but we still want it in CI builds where we know the
platform and compiler configuration.
2022-05-13 10:33:26 +02:00
Mikhail Goncharov
3bd6e6e862 fix xunit_utils import 2022-03-06 09:43:54 +01:00
Mikhail Goncharov
b88d7a8dba always set buildkite branch and commit env 2022-03-05 17:35:41 +01:00
Mikhail Goncharov
5a16fb7b9a sync all branches for llvm-project fork
There are multiple scenarios when script expects to see same branches
and commits. E.g. when upstream commits to release branch trigger
the build.

Reported by Louis Dionne.
2022-03-05 17:35:41 +01:00
Mikhail Goncharov
dae1793781 add monitoring agent to windows init script 2022-02-11 12:38:12 +01:00
Mikhail Goncharov
c41ee66634 use ld.lld for bolt 2022-02-03 10:16:13 +01:00
Mikhail Goncharov
f3ac1b41dd enable bolt premerge checks 2022-02-01 18:37:17 +01:00
Mikhail Goncharov
36d951c46e Trigger git gc on windows only for ~5% of builds.
It takes almost 5 minutes on windows and we don't need to run it that
often.

Fixes #375
2021-12-23 10:47:18 +01:00
Christian Kühnel
8d10520ca3 Revert "Updated configuration for BOLT"
This reverts commit 823df07a07.
2021-12-16 15:52:05 +00:00
Christian Kühnel
823df07a07 Updated configuration for BOLT 2021-12-16 09:29:41 +01:00
Christian Kühnel
54fa9b1556 added more queries 2021-12-14 11:40:34 +01:00
Christian Kühnel
4ae48e963d added buildbot daily success rates 2021-12-14 11:40:34 +01:00
Christian Kühnel
c2526bc84c moved queries to subfolder 2021-12-14 11:40:34 +01:00
Christian Kühnel
0beb4a43ff added sql statemet for bulidbot view
This statement adds a VIEW "buildbot_overview" containing all relevant
 information for a build. I plan to extend this file with additional
 views when needed.
2021-12-14 11:40:34 +01:00
dependabot[bot]
96653261f3 Bump lxml from 4.6.3 to 4.6.5 in /scripts/metrics
Bumps [lxml](https://github.com/lxml/lxml) from 4.6.3 to 4.6.5.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.3...lxml-4.6.5)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-14 11:40:06 +01:00
Mikhail Goncharov
4df2c2116c enable flang on windows 2021-11-24 15:36:54 +01:00
Danila Malyutin
c608b6cb91 Don't attempt to build parallel-libs project as it was removed from LLVM
db0486c46f
2021-10-23 08:48:11 +02:00
Mikhail Goncharov
bd2fd477b4 cleanup deps 2021-10-04 19:19:38 +02:00
Mikhail Goncharov
77cbb15b64 fix excessive environment copying 2021-10-04 16:58:52 +02:00
Mikhail Goncharov
b69eb6f364 don't check clang-tidy
it seems quite unreliable
2021-10-04 16:44:40 +02:00
Mikhail Goncharov
fea73f5174 fix environment assignment and update check- definitions 2021-10-04 16:36:02 +02:00
Mikhail Goncharov
7907aeb6a0 fix usage of get_all_enabled_projects 2021-10-04 16:15:16 +02:00
Mikhail Goncharov
df318ccf4f fix project resolutions
and some of the typing issues found by mypy
2021-10-04 16:07:06 +02:00
Mikhail Goncharov
3b7d720763 add post checkout to run git gc 2021-09-30 12:46:36 +02:00
Mikhail Goncharov
fc8bf86cbb disable libcxx on windows 2021-09-29 17:06:15 +02:00
Mehdi Amini
30be93ac21 Fix fallback more in choose_projects
When a path can't be mapped, we fallback to a "all" project.
This was broken by the recent changes to be more selective on the
testing.
2021-09-29 15:58:56 +02:00
Mehdi Amini
4ec28b0bf7 Mark libc as unsupported on Windows 2021-09-29 15:58:56 +02:00
Mikhail Goncharov
53a2c6835b remove libc for win
there is no such target for clang "check-libc"
2021-09-29 14:43:48 +02:00
Mikhail Goncharov
6e2f418a2a remove libcxxabi from win builds 2021-09-29 13:41:42 +02:00
Mikhail Goncharov
1cc122d5f9 disable check-libc and check-cxxabi 2021-09-29 11:15:54 +02:00
Mikhail Goncharov
25f12dacbd disable libunwind on windows 2021-09-21 14:30:29 +02:00
Mehdi Amini
6e624c30f9 Change the premerge checks to only check the affected projects
The current setup is configuring the "affected projects" as well
as their dependencies, and run `ninja all` followed by
`ninja check-all`.

This is quite a pessimization for leaf project which don't need to
build and run the tests for their dependencies.
For example a patch affecting only MLIR shouldn't need to build
and run LLVM and clang tests.
This patch changes this by running checks only for the affected
project. For example a patch touching `mlir` is affecting `mlir`
and `flang`. However `flang` depends on `clang`. So the list of
projects to configure is `mlir;flang;clang;llvm;`, but we want
to test only mlir and flang ; we'll run only `ninja check-mlir
check-flang`.

In practice in this example running `ninja all` builds 5658 targets
and `ninja check-all` after that adds 716 more targets. On the other
hands `ninja check-flang check-mlir` results in 3997 targets total.

Concretely the contract with premerge_checks.py is changed so that
the expected argument for the --projects flag is only the list of
affected project, dependencies are automatically added.
2021-09-21 14:28:38 +02:00
dependabot[bot]
eb5f0871c9 Bump urllib3 from 1.26.4 to 1.26.5 in /scripts/metrics
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.4 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.4...1.26.5)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-21 13:13:48 +02:00
Mehdi Amini
4cb0b28fb1 Remove llgo from the list of projects
It has been deleted from the LLVM repo a while ago:
372bfc65de
2021-09-21 13:13:07 +02:00
Mehdi Amini
65ab98ea2f Fix llvm-dependencies.yaml: the debuginfo-tests has been renamed into cross-project-tests 2021-09-17 15:51:13 +02:00
Mikhail Goncharov
3329564f50 Run bazel build on mainline 2021-09-03 15:54:53 +02:00
Mikhail Goncharov
307a6e71ee Only override 'head' alias
For branch runs buildkite assigns a correct commit hash.
For #344.
2021-08-30 18:26:46 +02:00
Kostya Serebryany
587255bfb4 Update clang-tidy.ignore
Extend the wildcard to match more .inc files in sanitizer_common.
2021-08-23 14:11:36 +02:00
Anders Waldenborg
1d9dbf5568 make clang_tidy_report handle diffs text files with invalid utf-8
"git diff" handles text files encoded that is not valid UTF-8 (e.g
using ISO-8859-1) as text files and produces a diff of those (rather
saying "Binary files a/x and b/x differ").

This means that the diff output may contain such characters. Files
that did would cause clang_tidy_report.py do hit an UnicodeDecodeError
when reading the diff, including if it was on removed lines and
regardless if it was in the ignore file.

By specifying errors mode "replace" for decode() method the bytes
that are not a valid utf-8 encoding are replaced with the unicode
replacement question mark (U+FFFD). When parsing the diff
clang-tidy-diff is only looking at filenames and line numbers of the
diff, so this shouldn't be a problem if it doesn't get the exact same
byte sequence inside the actual change.
2021-08-17 14:18:39 +02:00
Anders Waldenborg
d41a6769fc fix "clang-format/tidy" mixup in doc comment [NFC] 2021-08-17 14:18:39 +02:00