Repository navigation
Commit 1eebb97
committed
pgrx: use clang from nixpkgs-oldstable for old pgrx builds
Old pgrx versions (before 0.11.3) need an older clang to build on
aarch64-linux. We got it by downloading the whole nixos-22.11 tarball
during eval. That download was slow, could not come from our binary
cache, and ran on every platform.
Take clang 12 from nixpkgs-oldstable instead and only apply it on
aarch64-linux like the comment implies.
nixpkgs-oldstable's oldest clang is 12 while 22.11 defaulted to 11, but
the build succeeds where a newer clang would fail.
Assisted-by: Claude <noreply@anthropic.com>1 parent 6246261 commit 1eebb97
2 files changed
Lines changed: 7 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 45 | + | |
52 | 46 | | |
53 | | - | |
54 | | - | |
| 47 | + | |
| 48 | + | |
55 | 49 | | |
56 | 50 | | |
57 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
0 commit comments