Update RHEL10 go.env to use power9 ISA on PPC64LE

The previous patch was not right.

Resolves: RHEL-32658
This commit is contained in:
Alejandro Sáez 2024-06-05 13:55:51 +02:00
parent 0a2871b104
commit 94916d7b59

View File

@ -1,20 +1,20 @@
From d6e201910aa29262851c9274a4cd3645022d3539 Mon Sep 17 00:00:00 2001
From fbcfe983cdeb723420d67364022fc91ac8c6be3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alejandro=20S=C3=A1ez?= <asm@redhat.com>
Date: Tue, 9 Apr 2024 10:05:46 +0200
Date: Wed, 5 Jun 2024 12:30:46 +0200
Subject: [PATCH] Modify environment variables defaults
- Set GOTOOLCHAIN to local
- Set GOAMD64 to v3
- Set GOPPC64 to power9
---
go.env | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
go.env | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/go.env b/go.env
index 6ff2b921d4..aadcda023b 100644
index 6ff2b921d4..0bff84446c 100644
--- a/go.env
+++ b/go.env
@@ -9,4 +9,7 @@ GOSUMDB=sum.golang.org
@@ -9,4 +9,10 @@ GOSUMDB=sum.golang.org
# Automatically download newer toolchains as directed by go.mod files.
# See https://go.dev/doc/toolchain for details.
@ -25,6 +25,7 @@ index 6ff2b921d4..aadcda023b 100644
+GOAMD64=v3
+# The PPC64LE baseline for RHEL10 is power9
+GOPPC64=power9
+
--
2.44.0
2.45.1