rebuild gcc to proper version to match arch
This commit is contained in:
parent
caa2205cfd
commit
4ab0ef3a4f
2 changed files with 29 additions and 25 deletions
48
gcc/PKGBUILD
48
gcc/PKGBUILD
|
@ -9,10 +9,10 @@
|
|||
# NOTE: libtool requires rebuilt with each new gcc version
|
||||
|
||||
pkgname=(gcc gcc-libs lib32-gcc-libs gcc-ada gcc-d gcc-fortran gcc-go gcc-m2 gcc-objc lto-dump libgccjit)
|
||||
pkgver=14.2.1+r134+gab884fffe3f
|
||||
pkgver=14.2.1+r134+gab884fffe3fc
|
||||
_commit=ab884fffe3fc82a710bea66ad651720d71c938b8
|
||||
# damn pkgver function switched our pkgrel to 1 during the 9.5hr build
|
||||
pkgrel=01
|
||||
pkgrel=02
|
||||
pkgdesc='The GNU Compiler Collection'
|
||||
url='https://gcc.gnu.org'
|
||||
makedepends=(
|
||||
|
@ -142,17 +142,16 @@ build() {
|
|||
cp -a gcc/libgccjit.so* ../gcc-build/gcc/
|
||||
}
|
||||
|
||||
#check() {
|
||||
# cd gcc-build
|
||||
#
|
||||
# # disable libphobos test to avoid segfaults
|
||||
# sed -i '/maybe-check-target-libphobos \\/d' Makefile
|
||||
##
|
||||
# # do not abort on error as some are "expected"
|
||||
# make -O -k check || true
|
||||
# "$srcdir/gcc/contrib/test_summary"
|
||||
#}
|
||||
########
|
||||
check() {
|
||||
cd gcc-build
|
||||
|
||||
# disable libphobos test to avoid segfaults
|
||||
sed -i '/maybe-check-target-libphobos \\/d' Makefile
|
||||
|
||||
# do not abort on error as some are "expected"
|
||||
make -O -k check || true
|
||||
"$srcdir/gcc/contrib/test_summary"
|
||||
}
|
||||
|
||||
package_gcc-libs() {
|
||||
pkgdesc='Runtime libraries shipped by GCC'
|
||||
|
@ -527,15 +526,14 @@ sha256sums=(82b674a17bbac14acbf16b10e9d61e928e5630cd56635eb97acfeda849d4ebbf #
|
|||
2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a # c99
|
||||
1773f5137f08ac1f48f0f7297e324d5d868d55201c03068670ee4602babdef2f) # gcc-ada-repro.patch
|
||||
|
||||
#06bbbf6f80dd077f892ce684fb843a1dc98e3f950afcbf067ed2a6d1cac4e8b9 gcc-14.2.1+r134+gab884fffe3f-1-x86_64.pkg.tar.lz
|
||||
#f5f2bf1130406501cdafb78a7379d914637a59fc704d4e73e35a92b45e2736e2 gcc-ada-14.2.1+r134+gab884fffe3f-1-x86_64.pkg.tar.lz
|
||||
#6943c57f8017caba4d7ab6feb1e6d22f2bda0245f66b4a4acde8b682157c47ce gcc-d-14.2.1+r134+gab884fffe3f-1-x86_64.pkg.tar.lz
|
||||
#5e9e23f8590c09b83e91e7499ef9504ad3075f98fd6810c3598bc541a0b100bb gcc-fortran-14.2.1+r134+gab884fffe3f-1-x86_64.pkg.tar.lz
|
||||
#68357d066c0511829445120adec3deeef5cf158dd184eca8a53306a3aba259ea gcc-go-14.2.1+r134+gab884fffe3f-1-x86_64.pkg.tar.lz
|
||||
#14d723bac80d815c4d6ba6937b3508730bc19d241ec1e10875a0ee526c1985ac gcc-libs-14.2.1+r134+gab884fffe3f-1-x86_64.pkg.tar.lz
|
||||
#68500ec1a0cf0a3a55ddee83382bea2d09ca5dba488ccd13329787bb664d2417 gcc-m2-14.2.1+r134+gab884fffe3f-1-x86_64.pkg.tar.lz
|
||||
#5539c0cd9bd39ee6d2ca32d8237c6c6ee8c7a0473397099fc9aef90a88bf27c4 gcc-objc-14.2.1+r134+gab884fffe3f-1-x86_64.pkg.tar.lz
|
||||
#13e10606829095d9fcd8bde9b49b79166b5aeaf69f46ae31583843cb1ff8cbe0 lib32-gcc-libs-14.2.1+r134+gab884fffe3f-1-x86_64.pkg.tar.lz
|
||||
#2a1a7c94ffc3da462e8f9128795cced467082f2cc02fad29ad11a0c706c8f25d libgccjit-14.2.1+r134+gab884fffe3f-1-x86_64.pkg.tar.lz
|
||||
#cb6efdb752859ae37d6ef5113b90a0f7207dfe726b4cc7f30098d6ba0d5b1cad lto-dump-14.2.1+r134+gab884fffe3f-1-x86_64.pkg.tar.lz
|
||||
|
||||
## 05675a82c0816158f7d638fe8a1215ba72d3e65d4bdff728b14b6c86a63201f4 gcc-14.2.1+r134+gab884fffe3fc-02-x86_64.pkg.tar.lz
|
||||
#cc523a264fce6d45c825e82737ea428a099c755c68a38111def1cbf7d28a7e94 gcc-ada-14.2.1+r134+gab884fffe3fc-02-x86_64.pkg.tar.lz
|
||||
#2c70485a635bb498379257316e33590a4f651f5ee54d7d82a0a51faf038fa1d5 gcc-d-14.2.1+r134+gab884fffe3fc-02-x86_64.pkg.tar.lz
|
||||
#03b664976e75a5e2c55f96677c942b70316fcbb9446d98d73e4ba5e9c54a3c44 gcc-fortran-14.2.1+r134+gab884fffe3fc-02-x86_64.pkg.tar.lz
|
||||
#0109b5dff992454ebe4a6bcdb26ab49d33593aed691e418cf836f1df9f5a7ece gcc-go-14.2.1+r134+gab884fffe3fc-02-x86_64.pkg.tar.lz
|
||||
#3be75be4d0edd9e3685648c2d11c3afa3a144b1ec000cbe47f04a18243bc0583 gcc-libs-14.2.1+r134+gab884fffe3fc-02-x86_64.pkg.tar.lz
|
||||
#0a196fb6069db5686a440aa6a1bf18f70422857e7f21f979feab7061c9ccd4c0 gcc-m2-14.2.1+r134+gab884fffe3fc-02-x86_64.pkg.tar.lz
|
||||
#068c215b549063952da4d653a3cb7bd74213ccc89e2715c5f3f0fc862ca68511 gcc-objc-14.2.1+r134+gab884fffe3fc-02-x86_64.pkg.tar.lz
|
||||
#c2a6170fce08fa709802a7d880f5cf758e62bd4726ecd5617568de5732a29ae3 lib32-gcc-libs-14.2.1+r134+gab884fffe3fc-02-x86_64.pkg.tar.lz
|
||||
#56a1195686b318d77c9f503aa85a50cb929fe49ea24fe7bc86d26b25bd7d62bb libgccjit-14.2.1+r134+gab884fffe3fc-02-x86_64.pkg.tar.lz
|
||||
#bdf10b9daabb1887fd0723f2f9c51c4f1c576b55453d49cad0af9df377765d08 lto-dump-14.2.1+r134+gab884fffe3fc-02-x86_64.pkg.tar.lz
|
||||
|
|
6
gcc/time
6
gcc/time
|
@ -81,3 +81,9 @@ real 477m47.968s
|
|||
user 987m5.212s
|
||||
sys 23m57.238s
|
||||
|
||||
14.2.1+r134 w/tests
|
||||
|
||||
real 986m5.944s
|
||||
user 1504m27.565s
|
||||
sys 91m12.572s
|
||||
|
||||
|
|
Loading…
Reference in a new issue