Skip to content

Commit

Permalink
Merge pull request ruby#377 from ruby/katei/savannah-down
Browse files Browse the repository at this point in the history
Use jsDelivr instead of git.savannah.gnu.org
  • Loading branch information
kateinoigakukun committed Jan 30, 2024
2 parents d13d659 + 9f634fa commit 6124b81
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/ruby_wasm/build/product/libyaml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ def build(executor)
executor.system "curl",
"-o",
"#{product_build_dir}/config/config.guess",
"https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD"
"https://cdn.jsdelivr.net/gh/gcc-mirror/gcc@master/config.guess"
executor.system "curl",
"-o",
"#{product_build_dir}/config/config.sub",
"https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD"
"https://cdn.jsdelivr.net/gh/gcc-mirror/gcc@master/config.sub"

executor.system "./configure", *configure_args, chdir: product_build_dir
executor.system "make",
Expand Down
1 change: 1 addition & 0 deletions lib/ruby_wasm/packager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def root

# Retrieves the alias definitions for the Ruby sources.
def self.build_source_aliases(root)
# @type var sources: Hash[string, RubyWasm::Packager::build_source]
sources = {
"head" => {
type: "github",
Expand Down
2 changes: 1 addition & 1 deletion sig/ruby_wasm/packager.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class RubyWasm::Packager

def root: () -> string

type build_source = Hash[Symbol, (String | Array[String])]
type build_source = Hash[Symbol, (string | Array[String])]
def self.build_source_aliases: (string root) -> Hash[string, build_source]

ALL_DEFAULT_EXTS: string
Expand Down

0 comments on commit 6124b81

Please sign in to comment.