-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update go1.13 to version 1.13.15 / rev 15 via SR 1168528
https://build.opensuse.org/request/show/1168528 by user jfkw + dimstar_suse Add reproducible.patch to avoid build-time race (boo#1102408) (forwarded request 1168496 from bmwiedemann)
- Loading branch information
1 parent
4a8cf80
commit cc30586
Showing
5 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
------------------------------------------------------------------- | ||
Mon Apr 15 18:00:45 UTC 2024 - Bernhard Wiedemann <[email protected]> | ||
|
||
- Add reproducible.patch to avoid build-time race (boo#1102408) | ||
|
||
------------------------------------------------------------------- | ||
Tue Feb 27 11:31:09 UTC 2024 - Dominique Leuenberger <[email protected]> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Date: 2024-04-15 | ||
Author: Bernhard M. Wiedemann <bmwiedemann suse de> | ||
|
||
Workaround variations in build results between -j1 and -j4 builds. | ||
|
||
Compilation time on 4-core VM increases from 211 to 322 seconds, | ||
while 1-core VM remains at 519 s. | ||
|
||
This patch applies to go1.15, go1.14 and go1.13 packages. | ||
|
||
Index: go/src/make.bash | ||
=================================================================== | ||
--- go.orig/src/make.bash | ||
+++ go/src/make.bash | ||
@@ -209,7 +209,7 @@ fi | ||
# Run dist bootstrap to complete make.bash. | ||
# Bootstrap installs a proper cmd/dist, built with the new toolchain. | ||
# Throw ours, built with Go 1.4, away after bootstrap. | ||
-./cmd/dist/dist bootstrap $buildall $vflag $GO_DISTFLAGS "$@" | ||
+taskset 1 ./cmd/dist/dist bootstrap $buildall $vflag $GO_DISTFLAGS "$@" | ||
rm -f ./cmd/dist/dist | ||
|
||
# DO NOT ADD ANY NEW CODE HERE. |