Update cross toolchain for GCC 15.1
This commit is contained in:
1
Gemfile
1
Gemfile
@ -3,3 +3,4 @@
|
|||||||
source "https://rubygems.org"
|
source "https://rubygems.org"
|
||||||
|
|
||||||
gem 'rubyzip', '~> 2.4'
|
gem 'rubyzip', '~> 2.4'
|
||||||
|
gem "term-ansicolor", "~> 1.11"
|
||||||
|
10
Gemfile.lock
10
Gemfile.lock
@ -1,7 +1,14 @@
|
|||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
|
bigdecimal (3.2.2)
|
||||||
rubyzip (2.4.1)
|
rubyzip (2.4.1)
|
||||||
|
sync (0.5.0)
|
||||||
|
term-ansicolor (1.11.2)
|
||||||
|
tins (~> 1.0)
|
||||||
|
tins (1.38.0)
|
||||||
|
bigdecimal
|
||||||
|
sync
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
ruby
|
ruby
|
||||||
@ -9,6 +16,7 @@ PLATFORMS
|
|||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
rubyzip (~> 2.4)
|
rubyzip (~> 2.4)
|
||||||
|
term-ansicolor (~> 1.11)
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
2.6.2
|
2.6.7
|
||||||
|
@ -11,11 +11,12 @@ require 'open3'
|
|||||||
require 'etc'
|
require 'etc'
|
||||||
require 'fileutils'
|
require 'fileutils'
|
||||||
require 'pathname'
|
require 'pathname'
|
||||||
|
require 'term/ansicolor'
|
||||||
|
|
||||||
BINUTILS_VERSION = '2.43.1'
|
BINUTILS_VERSION = '2.44'
|
||||||
GLIBC_VERSION = '2.40'
|
GLIBC_VERSION = '2.41'
|
||||||
KERNEL_VERSION = '5.15.178'
|
KERNEL_VERSION = '5.15.185'
|
||||||
GCC_VERSION = "14.2.0"
|
GCC_VERSION = "15.1.0"
|
||||||
|
|
||||||
TMP = Pathname.new('./tmp')
|
TMP = Pathname.new('./tmp')
|
||||||
|
|
||||||
@ -85,6 +86,8 @@ def find_build_target(gcc_version, target)
|
|||||||
end
|
end
|
||||||
|
|
||||||
def download_and_unarchive(url, target)
|
def download_and_unarchive(url, target)
|
||||||
|
puts Term::ANSIColor.green "Downloading #{url}."
|
||||||
|
|
||||||
case File.extname url.path
|
case File.extname url.path
|
||||||
when '.bz2'
|
when '.bz2'
|
||||||
archive_type = '-j'
|
archive_type = '-j'
|
||||||
|
Reference in New Issue
Block a user