You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Linux-CI.md
+5-7Lines changed: 5 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
last_review_date: "1970-01-01"
2
+
last_review_date: "2025-03-28"
3
3
---
4
4
5
5
# Linux CI in `homebrew/core`
@@ -20,25 +20,23 @@ We have moved our CI to Ubuntu 22.04
20
20
21
21
Moving from Ubuntu 16.04 to Ubuntu 22.04 (and thus skipping version 18.04 and 20.04) took longer than expected.
22
22
23
-
We plan to proceed with regular updates from 2022 onwards. We aim to use the latest Ubuntu LTS version for our CI.
24
-
25
-
We will start using the latest Ubuntu LTS version for our CI no earlier than 3 months after its release and, ideally, no more than 12 months after its release.
23
+
We plan to proceed with regular updates from 2022 onwards. We aim to use the oldest supported Ubuntu LTS version for our CI that provides the GCC version we need.
26
24
27
25
| Distribution | Glibc | GCC | LTS standard security maintenance |
28
26
|---|---|---|---|
29
27
| Ubuntu 14.04 | 2.19 | 4 | From 2014 to 2017 |
30
28
| Ubuntu 16.04 | 2.23 | 5 | From 2017 to 2022 |
31
29
| Ubuntu 20.04 | 2.31 | 5 | From 2020 to 2025 |
32
-
| Ubuntu 22.04 | 2.35 | 11 | From 2022 to 2027 |
30
+
| Ubuntu 22.04 | 2.35 | 11 (provides 12) | From 2022 to 2027 |
33
31
| Ubuntu 24.04 | 2.39 | 13 | From 2024 to 2029 |
34
32
| Ubuntu 26.04 | ? | ? | ? |
35
33
36
34
[Source](https://ubuntu.com/about/release-cycle)
37
35
38
-
## Why always use the latest version?
36
+
## Why upgrade to a newer version?
39
37
40
38
Homebrew is a rolling-release package manager. We try to ship the newest things as quickly as possible, on macOS and Linux.
41
39
42
40
When a formula needs a newer GCC because our host GCC in CI is too old, we needed to make that formula depend on a newer Homebrew GCC. All C++ dependents of that formula immediately acquire a dependency on Homebrew GCC as well. While we have taken the steps to make sure this no longer holds up GCC updates, it still creates a maintenance burden. This problem is more likely for formula which are very actively maintained and try to use newer features of C++. We decided that we shouldn't have a maintenance burden for formulae which are doing the right thing by staying up to date. It makes a lot of sense for Homebrew maintainers to submit upstream fixes when formulae are not working with newer compilers. It makes a lot less sense for Homebrew maintainers to submit fixes because our host compiler is too old.
43
41
44
-
Note that `glibc` will need to be installed for more users as their `glibc` version will often be too old: disk space is cheap and we have can handle this situation for our users. This situation will often arise when update to a new LTS version and adoption of the new Ubuntu is still low during the first months. For the same reasons as above: we prefer to stay on the bleeding edge and give our users a gentle nudge to think about updating their OS.
42
+
Note that `glibc` will need to be installed for more users as their `glibc` version will often be too old. This is not as smooth as using a newer GCC as we don't test this configuration in CI. This is why we want to balance the newest GCC with a more conservative `glibc`.
0 commit comments