WIP: improve Makefile #187
No reviewers
Labels
No Label
kind/breaking
kind/bug
kind/build
kind/dependency
kind/deployment
kind/docs
kind
enhancement
kind
feature
kind/proposal
kind
question
kind
refactor
kind/security
kind/testing
kind/translation
priority/critical
priority/high
priority/low
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/has-backport
status/has-pull
status/needs-backport
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
upstream/sdk
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/tea#187
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "noerw/tea:static-build"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
rework the makefile so that tags and build flags are consistently applied & injected across the
build
install
andrelease
targetsmake install
now creates a static without debug infomake release
already did via xgo. Considering that tea binaries are rather large, we should also go the extra mile and create static binaries..adds comments on some quirks that I needed to research first
adds build instructions for the "proper" way using
make
to READMETODO:
can we force a CI build with
make release
on this branch somehow?@6543 you're working with alpine linux right? could you check if
make install
works for you here? Somewhere I read something about musl libc being not properly covered by go static builds..@ -30,3 +16,3 @@
Distribution packages exist for: **alpinelinux ([tea](https://pkgs.alpinelinux.org/packages?name=tea&branch=edge))** and **archlinux ([gitea-tea](https://aur.archlinux.org/packages/gitea-tea))**
To install from source, go 1.12 or newer is required.
go >= 1.13 (sdk dependency)
@norwin alpine should be fine as it builds packages themselves, so it will be sure to work with musl.
CI
make release
fails with-buildmode=pie not supported on linux/mips64le
other platforms work. what do? ?
tbh I think we can remove the mips targets.
bevore 17M
avter 19M
closing this, as there are some tradeoffs that tend to make the situation worse:
Pull request closed