Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
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
Model registry
Monitor
Service Desk
Analyze
Model experiments
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
alpine
aports
Commits
ddb28cce
Commit
ddb28cce
authored
10 months ago
by
znley
Committed by
Patrycja Rosa
10 months ago
Browse files
Options
Downloads
Patches
Plain Diff
community/goimapnotify: upgrade golang.org/x/sys for loongarch64
parent
699aa4a9
No related branches found
No related tags found
1 merge request
!65472
community/goimapnotify: upgrade golang.org/x/sys for loongarch64
Pipeline
#232419
canceled
10 months ago
Stage: verify
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/goimapnotify/APKBUILD
+7
-5
7 additions, 5 deletions
community/goimapnotify/APKBUILD
with
7 additions
and
5 deletions
community/goimapnotify/APKBUILD
+
7
−
5
View file @
ddb28cce
...
...
@@ -16,6 +16,13 @@ export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export
GOTMPDIR
=
"
${
GOTMPDIR
:-
"
$srcdir
"
}
"
export
GOMODCACHE
=
"
${
GOMODCACHE
:-
"
$srcdir
/go"
}
"
prepare
()
{
default_prepare
go get
-u
golang.org/x/sys@v0.6.0
go get
-u
golang.org/x/net@v0.6.0
go mod tidy
}
build
()
{
export
CGO_CPPFLAGS
=
"
$CPPFLAGS
"
export
CGO_CFLAGS
=
"
$CFLAGS
"
...
...
@@ -23,11 +30,6 @@ build() {
export
CGO_LDFLAGS
=
"
$LDFLAGS
"
export
GOFLAGS
=
"
$GOFLAGS
-trimpath -mod=readonly -modcacherw"
# Fix build on riscv64
go mod edit
-replace
\
golang.org/x/sys
=
golang.org/x/sys@v0.0.0-20210630005230-0f9fa26af87c
go mod download golang.org/x/sys
go build
-ldflags
"-linkmode=external
\"
-extldflags=
$LDFLAGS
\"
"
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment