Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmaports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
pmaports
Merge requests
!5722
cross/gcc-*: upgrade to 14.2.0-r4
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
cross/gcc-*: upgrade to 14.2.0-r4
craftyguy/gcc-upgrade
into
master
Overview
17
Commits
1
Pipelines
12
Changes
16
Merged
Clayton Craft
requested to merge
craftyguy/gcc-upgrade
into
master
5 months ago
Overview
17
Commits
1
Pipelines
12
Changes
4
Expand
please merge when CI passes
0
0
Merge request reports
Compare
version 1
version 11
29f3f1c8
5 months ago
version 10
35233b8a
5 months ago
version 9
4ea744fd
5 months ago
version 8
4251981e
5 months ago
version 7
b97f8f72
5 months ago
version 6
48e9dde2
5 months ago
version 5
31f9f8e6
5 months ago
version 4
f2034dde
5 months ago
version 3
9c1932fd
5 months ago
version 2
057dcd35
5 months ago
version 1
ec9713dc
5 months ago
master (base)
and
version 2
latest version
ad9a7874
1 commit,
5 months ago
version 11
29f3f1c8
1 commit,
5 months ago
version 10
35233b8a
1 commit,
5 months ago
version 9
4ea744fd
2 commits,
5 months ago
version 8
4251981e
1 commit,
5 months ago
version 7
b97f8f72
5 commits,
5 months ago
version 6
48e9dde2
4 commits,
5 months ago
version 5
31f9f8e6
2 commits,
5 months ago
version 4
f2034dde
2 commits,
5 months ago
version 3
9c1932fd
2 commits,
5 months ago
version 2
057dcd35
2 commits,
5 months ago
version 1
ec9713dc
1 commit,
5 months ago
Show latest version
4 files
+
150
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
temp/abuild/APKBUILD
0 → 100644
+
125
−
0
Options
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
abuild
pkgver
=
3.14.0
_ver
=
${
pkgver
%_git*
}
pkgrel
=
1
pkgdesc
=
"Script to build Alpine Packages"
url
=
"https://git.alpinelinux.org/cgit/abuild/"
arch
=
"all"
license
=
"GPL-2.0-only"
depends
=
"
apk-tools>=2.0.7-r1
cmd:getcap
fakeroot
musl-utils
lzip
openssl>3
patch
pkgconf
scanelf
tar
"
makedepends_build
=
"pkgconfig scdoc"
makedepends_host
=
"openssl-dev>3 zlib-dev"
makedepends
=
"
$makedepends_host
$makedepends_build
"
checkdepends
=
"cmd:setcap kyua git"
install
=
"
$pkgname
.pre-install
$pkgname
.pre-upgrade"
subpackages
=
"
apkbuild-cpan:cpan:noarch
apkbuild-gem-resolver:gems:noarch
apkbuild-pypi:pypi:noarch
abuild-rootbld:_rootbld:noarch
abuild-sudo:_sudo
$pkgname
-doc
"
options
=
"suid"
pkggroups
=
"abuild"
source
=
"https://gitlab.alpinelinux.org/alpine/abuild/-/archive/
$pkgver
/abuild-
$pkgver
.tar.gz
temp.patch
"
builddir
=
"
$srcdir
"
/abuild-
$pkgver
build
()
{
make
VERSION
=
"
$pkgver
-r
$pkgrel
"
}
check
()
{
make check
}
package
()
{
make
install
VERSION
=
"
$pkgver
-r
$pkgrel
"
DESTDIR
=
"
$pkgdir
"
install
-m
644 abuild.conf
"
$pkgdir
"
/etc/abuild.conf
case
"
$CARCH
"
in
aarch64|x86
*
|
ppc64le
)
# binutils only supports it here
cat
>>
"
$pkgdir
"
/usr/share/abuild/default.conf
<<-
EOF
# binutils ld.bfd supports this on this architecture; default to it
export RUSTFLAGS="
\$
{RUSTFLAGS-} -Clink-arg=-Wl,-z,pack-relative-relocs"
export LDFLAGS="
\$
LDFLAGS -Wl,-z,pack-relative-relocs"
EOF
esac
case
"
$CARCH
"
in
x86_64
)
# https://lists.alpinelinux.org/~alpine/devel/%3C1628515011.zujvcn248v.none%40localhost%3E
# note that this is x86-exclusive. on other architectures, this is pretty much always bad
# https://github.com/rust-lang/rust/pull/106380
cat
>>
"
$pkgdir
"
/usr/share/abuild/default.conf
<<-
EOF
# -fno-plt has very slight improvements to general code size and speed on x86-only,
# for the common system dynamic linking case
export CFLAGS="
\$
CFLAGS -fno-plt"
export CXXFLAGS="
\$
CXXFLAGS -fno-plt"
EOF
;;
esac
install
-d
-m
775
-g
abuild
"
$pkgdir
"
/var/cache/distfiles
}
cpan
()
{
pkgdesc
=
"Script to generate perl APKBUILD from CPAN"
depends
=
"perl perl-libwww perl-json perl-module-build perl-module-build-tiny
perl-lwp-protocol-https"
amove usr/bin/apkbuild-cpan
}
gems
()
{
pkgdesc
=
"APKBUILD dependency resolver for RubyGems"
depends
=
"ruby ruby-augeas"
amove usr/bin/apkbuild-gem-resolver
}
pypi
()
{
pkgdesc
=
"Script to generate python3 APKBUILD from PYPI"
depends
=
"perl perl-libwww perl-json perl-module-build-tiny perl-lwp-protocol-https
perl-ipc-system-simple"
amove usr/bin/apkbuild-pypi
}
_rootbld
()
{
pkgdesc
=
"Build packages in chroot"
depends
=
"abuild bubblewrap cmd:envsubst git"
mkdir
-p
"
$subpkgdir
"
}
_sudo
()
{
pkgdesc
=
"Simple privilege elevation tools for building packages"
depends
=
""
install_if
=
"
$pkgname
=
$pkgver
-r
$pkgrel
"
amove usr/bin/abuild-sudo usr/bin/abuild-apk usr/bin/abuild-adduser
\
usr/bin/abuild-addgroup
}
sha512sums
=
"
997c9c2dadd5ba886477af099f0f500539fe7f276aa5fffc34dac5f43f33b19fa21dd4e015aa20e85f01792d18f2f7417fc1c911cd446022d99239bf4571dea4 abuild-3.14.0.tar.gz
2cde9e990c4cac864261bb52cdc1fbe53a00888ad5db5b75b9eea2209ec6bbf38c5435d4b0243e014f24700c1cff8403c8d38e53cf8a0e1b2e6fe7d2c2b8f625 temp.patch
"
Loading