golang/0001-Modify-go.env.patch

33 lines
854 B
Diff
Raw Normal View History

From f02acf07aabbe16a7c312915e17f9d17cfc475cf Mon Sep 17 00:00:00 2001
From: Archana Ravindar <aravinda@redhat.com>
Date: Mon, 25 Mar 2024 22:18:07 +0530
Subject: [PATCH] set v3 as default ISA for AMD64 in go.env patch file
---
go.env | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/go.env b/go.env
index 6ff2b921d4..17d4053cdc 100644
--- a/go.env
+++ b/go.env
@@ -4,9 +4,12 @@
# Use the Go module mirror and checksum database by default.
# See https://proxy.golang.org for details.
-GOPROXY=https://proxy.golang.org,direct
-GOSUMDB=sum.golang.org
+GOPROXY=direct
+GOSUMDB=off
# Automatically download newer toolchains as directed by go.mod files.
# See https://go.dev/doc/toolchain for details.
-GOTOOLCHAIN=auto
+GOTOOLCHAIN=local
+
+# Set baseline amd64 ISA to v3 as distribution default
+GOAMD64=v3
--
2.44.0