Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pcp: build with go1.22 #181541

Merged
merged 1 commit into from
Aug 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Formula/p/pcp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ class Pcp < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "be128448d96fd7005c9cbda1c1ba2c71e7f7a58468c1c5bb3ec7a1f75c5109c5"
end

depends_on "go" => :build
# use "go" again after https://github.com/dennis-tra/pcp/issues/30 is fixed and released
depends_on "[email protected]" => :build

def install
ldflags = "-X main.RawVersion=#{version} -X main.ShortCommit=#{Utils.git_short_head(length: 7)}"
Expand Down
Loading