diff options
| author | Eugen Wissner <belka@caraus.de> | 2025-06-14 19:14:26 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2025-06-14 19:14:26 +0200 |
| commit | 0a575a9731979b546dd74bda0976d230ddb686da (patch) | |
| tree | 1edbcae20e9c74335c2276b4875e50709da6987b | |
| parent | 20f3d98d637c5992c53f19590c15fa923f4eedcd (diff) | |
| download | kazbek-0a575a9731979b546dd74bda0976d230ddb686da.tar.gz | |
Update cross toolchain for GCC 15.1
| -rw-r--r-- | Gemfile | 1 | ||||
| -rw-r--r-- | Gemfile.lock | 10 | ||||
| -rwxr-xr-x | bin/cross_toolchain.rb | 11 |
3 files changed, 17 insertions, 5 deletions
@@ -3,3 +3,4 @@ source "https://rubygems.org" gem 'rubyzip', '~> 2.4' +gem "term-ansicolor", "~> 1.11" diff --git a/Gemfile.lock b/Gemfile.lock index 16af94a..3663415 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,14 @@ GEM remote: https://rubygems.org/ specs: + bigdecimal (3.2.2) rubyzip (2.4.1) + sync (0.5.0) + term-ansicolor (1.11.2) + tins (~> 1.0) + tins (1.38.0) + bigdecimal + sync PLATFORMS ruby @@ -9,6 +16,7 @@ PLATFORMS DEPENDENCIES rubyzip (~> 2.4) + term-ansicolor (~> 1.11) BUNDLED WITH - 2.6.2 + 2.6.7 diff --git a/bin/cross_toolchain.rb b/bin/cross_toolchain.rb index c419b76..cae2d7d 100755 --- a/bin/cross_toolchain.rb +++ b/bin/cross_toolchain.rb @@ -11,11 +11,12 @@ require 'open3' require 'etc' require 'fileutils' require 'pathname' +require 'term/ansicolor' -BINUTILS_VERSION = '2.43.1' -GLIBC_VERSION = '2.40' -KERNEL_VERSION = '5.15.178' -GCC_VERSION = "14.2.0" +BINUTILS_VERSION = '2.44' +GLIBC_VERSION = '2.41' +KERNEL_VERSION = '5.15.185' +GCC_VERSION = "15.1.0" TMP = Pathname.new('./tmp') @@ -85,6 +86,8 @@ def find_build_target(gcc_version, target) end def download_and_unarchive(url, target) + puts Term::ANSIColor.green "Downloading #{url}." + case File.extname url.path when '.bz2' archive_type = '-j' |
