File tree 2 files changed +28
-3
lines changed 2 files changed +28
-3
lines changed Original file line number Diff line number Diff line change 10
10
pkgname=(gcc gcc-libs gcc-ada gcc-d gcc-fortran gcc-go gcc-m2 gcc-objc gcc-rust lto-dump libgccjit)
11
11
pkgver=14.2.1+r753+g1cd744a6828f
12
12
_commit=1cd744a6828f6ab9179906d16434ea40b6404737
13
+ _gccver=${pkgver%% +* }
13
14
pkgrel=1
14
15
pkgdesc=' The GNU Compiler Collection'
15
16
arch=(aarch64 x86_64)
@@ -34,9 +35,14 @@ checkdepends=(
34
35
python-pytest
35
36
tcl
36
37
)
38
+ if [[ " $pkgver " =~ \+ g([0-9a-f]* )$ ]]; then
39
+ _git_ref=" commit=${BASH_REMATCH[1]} "
40
+ else
41
+ _git_ref=" tag=releases/gcc-${pkgver} "
42
+ fi
37
43
options=(! emptydirs ! lto)
38
- _libdir=usr/lib/gcc/$CHOST /${pkgver %% + * }
39
- source=(git+https://sourceware.org/git/gcc.git#commit= ${_commit}
44
+ _libdir=usr/lib/gcc/$CHOST /${_gccver }
45
+ source=(" git+https://sourceware.org/git/gcc.git#${_git_ref} "
40
46
c89 c99
41
47
gcc-ada-repro.patch
42
48
)
@@ -152,6 +158,8 @@ build() {
152
158
check () {
153
159
cd gcc-build
154
160
161
+ return # Skip for now
162
+
155
163
# disable libphobos test to avoid segfaults
156
164
sed -i ' /maybe-check-target-libphobos \\/d' Makefile
157
165
Original file line number Diff line number Diff line change 1
1
maintainers :
2
2
- github : yuyichao
3
3
4
- managed : false
4
+ build_prefix : archlinuxcn-aarch64
5
+ pre_build_script : update_pkgver_and_pkgrel(_G.newver)
6
+ post_build : git_pkgbuild_commit
7
+ time_limit_hours : 6
8
+
9
+ # Synchronize version with Archlinux ARM
10
+ update_on :
11
+ - source : regex
12
+ url : https://archlinuxarm.org/packages/aarch64/gcc
13
+ regex : ' gcc *([^-]+)-'
14
+ - source : alpm
15
+ alpm : libisl
16
+ provided : libisl.so
17
+ - source : alpm
18
+ alpm : zstd
19
+ provided : libzstd.so
20
+ - source : manual
21
+ manual : 1
You can’t perform that action at this time.
0 commit comments