1
0
Fork 0
Commit graph

1107 commits

Author SHA1 Message Date
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
4f5a16bbdb update test deployment 2022-01-19 17:46:01 +01:00
Christian Kühnel
6394ae39b4 Adding an emptyDir to kubernetes deployment
This should resolve the out-of-disk problems reported in #379
2022-01-19 17:44:42 +01:00
Mikhail Goncharov
25e8a5807f
Update README.md
add a link to Louis presentation
2022-01-10 11:39:14 +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
dependabot[bot]
6fb9dc6e1b Bump lxml from 4.6.3 to 4.6.5
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:39:55 +01:00
dependabot[bot]
431d15b9ca Bump lxml from 4.6.3 to 4.6.5 in /containers/stats
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:39:43 +01:00
Mikhail Goncharov
cec188edc4 Add openmp deps and update toolchain to 13 2021-12-14 11:39:17 +01:00
Mikhail Goncharov
4df2c2116c enable flang on windows 2021-11-24 15:36:54 +01:00
AlphaHot
f5594e8c6d Update README.md 2021-11-24 14:58:07 +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
Martin Storsjö
972d727767 Fix building the agent-windows-vs2019 image
The current version of Python fails to build some dependencies, but
pinning the previous version works.

ActivePerl is no longer installable via Chocolatey (neither current
nor older versions) as ActiveState don't provide the downloads
without registration any longer (and even if registered, only
provide the latest, continuously updated version for free users, which
can't match the package manager checksums), see http://disq.us/p/2ipditb
for further discussion.

Replace ActivePerl with StrawberryPerl. StrawberryPerl has other
drawbacks, as it installs a whole C/C++ toolchain as part of it,
and copies of pkg-config tools that can cause package misdetections.
Remove these after installing it, see
https://github.com/StrawberryPerl/Perl-Dist-Strawberry/issues/11
for discussion on the inconveniences of installing it.
2021-10-20 10:21:22 +02:00
Martin Storsjö
26153acfee Install llvm-mingw in the windows agent docker image
This bundles clang/lld and associated tools, configured for a mingw
target, with corresponding mingw sysroots.

As we already install the 'llvm' chocolatey package, which also
provides clang (defaulting to a MSVC target), add this one last in the
path. This lets 'clang' refer to the default MSVC-targeting tool, while
one can use a GCC style triple prefixed driver name, like
x86_64-w64-mingw32-clang, to use this tool.

This allows setting up a much-needed mingw configuration for the libcxx
CI.
2021-10-20 10:21:08 +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
018510ccef
note about disabled tests 2021-10-04 12:43:42 +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
Mikhail Goncharov
6d3e0a965d examples of refspec 2021-09-21 14:29: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
dependabot[bot]
8745fb51d3 Bump urllib3 from 1.26.4 to 1.26.5 in /containers/stats
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: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-21 13:13:24 +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
Mikhail Goncharov
49be688a27 script to sync fork llvm-premerge-tests/llvm-project
- uniformly append env variables

- resolve current HEAD and pass it as BUILDKITE_COMMIT to script
generators. Add it as ph_commit_sha.
2021-08-11 16:25:29 +02:00
Geoffrey Martin-Noble
8bc6bb7d5d Switch Bazel premerge checks to use llvm-bazel-premerge queue
I created a new queue for the pre-merge checks so that they won't compete for resources
with the post-merge build already running. Obviously that creates some inefficiency, but is
a simple way to make sure neither build gets starved (in particular, we know that the
current setup of 4 agents running on a single 32-core VM is enough to handle the commit
traffic on the main branch whereas pre-merge testing volume is likely to be more
unpredictable.
2021-07-29 17:57:11 +02:00
Geoffrey Martin-Noble
c47e555d0f Correctly skip project classification for utils/
`project` is a list here, not a string.
2021-07-29 10:42:12 +02:00