From fa19213fde16d016b69bcaa006b6f468fe06e64a Mon Sep 17 00:00:00 2001 From: yavin06 Date: Tue, 6 Feb 2024 15:02:25 -0500 Subject: [PATCH 1/2] Update go.mod Had issued with older modules while trying to compile for AIX --- go.mod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 666f0ef0..12616edc 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/pkg/errors v0.8.1 github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d github.com/sosodev/duration v1.1.0 - github.com/spf13/viper v1.7.0 + github.com/spf13/viper v1.18.2 github.com/stretchr/testify v1.8.1 github.com/urfave/cli/v2 v2.25.7 github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a @@ -31,7 +31,7 @@ require ( github.com/pelletier/go-toml v1.2.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect - github.com/spf13/afero v1.1.2 // indirect + github.com/spf13/afero v1.11.0 // indirect github.com/spf13/cast v1.3.0 // indirect github.com/spf13/jwalterweatherman v1.0.0 // indirect github.com/spf13/pflag v1.0.5 // indirect From a2d3007f01614f2a5cb07906472db5e24d2adc0f Mon Sep 17 00:00:00 2001 From: yavin06 Date: Tue, 6 Feb 2024 15:04:00 -0500 Subject: [PATCH 2/2] Update Makefile adding AIX support --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index a7dd1015..28b38f08 100644 --- a/Makefile +++ b/Makefile @@ -53,6 +53,7 @@ build: get env GOOS=windows GOARCH=amd64 go build $(GO_LDFLAGS) -o bin/windows/vcert.exe ./cmd/vcert env GOOS=windows GOARCH=386 go build $(GO_LDFLAGS) -o bin/windows/vcert86.exe ./cmd/vcert env GOOS=windows GOARCH=arm64 go build $(GO_LDFLAGS) -o bin/windows/vcert_arm.exe ./cmd/vcert + env GOOS=aix GOARCH=ppc64 go build $(GO_LDFLAGS) -o bin/aix/vcert ./cmd/vcert cucumber_build: $(call cucumber_image_build)