mirror of
https://github.com/containers/podman.git
synced 2025-12-02 11:08:36 +08:00
vendor c/psgo@v1.3.2
Now supports cgroupsv2. Fixes: #4192 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
9
vendor/github.com/containers/psgo/Makefile
generated
vendored
9
vendor/github.com/containers/psgo/Makefile
generated
vendored
@@ -1,4 +1,5 @@
|
||||
export GO111MODULE=off
|
||||
export GOPROXY=https://proxy.golang.org
|
||||
|
||||
SHELL= /bin/bash
|
||||
GO ?= go
|
||||
@@ -9,11 +10,17 @@ PROJECT := github.com/containers/psgo
|
||||
BATS_TESTS := *.bats
|
||||
GO_SRC=$(shell find . -name \*.go)
|
||||
|
||||
GO_BUILD=$(GO) build
|
||||
# Go module support: set `-mod=vendor` to use the vendored sources
|
||||
ifeq ($(shell go help mod >/dev/null 2>&1 && echo true), true)
|
||||
GO_BUILD=GO111MODULE=on $(GO) build -mod=vendor
|
||||
endif
|
||||
|
||||
all: validate build
|
||||
|
||||
.PHONY: build
|
||||
build: $(GO_SRC)
|
||||
$(GO) build -buildmode=pie -o $(BUILD_DIR)/$(NAME) $(PROJECT)/sample
|
||||
$(GO_BUILD) -buildmode=pie -o $(BUILD_DIR)/$(NAME) $(PROJECT)/sample
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
||||
Reference in New Issue
Block a user