rb_sys 0.9.107 → 0.9.109
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/exe/rb-sys-dock +6 -7
- data/lib/rb_sys/toolchain_info/data.rb +1 -1
- data/lib/rb_sys/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +17 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b5a3b123149c8e2938231793c8ce182f05e38194a286c950ea4c035efe9fcfb
|
4
|
+
data.tar.gz: 44c47f769ca1259fb6b365dbb543f376a2e8b71fece514c93c7adb9af248b08e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4c1c4d6518d3807a6b8ad90313c38631b4b6c09132c0198340634e63f66a71b745da6aa76f89e90e8d852b02cd173b279c3c2786f7a39c6f99f3b99df93ce30
|
7
|
+
data.tar.gz: ad437b89994ab5b9c6078b92421f70dfc1b98d205b599d87827baec0a1576597c4667a7ce99045a55daef1e2ebfd2605bd987996112664f88643199f15f90f42
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/exe/rb-sys-dock
CHANGED
@@ -4,6 +4,7 @@ $LOAD_PATH.unshift File.expand_path("../lib", __dir__)
|
|
4
4
|
|
5
5
|
require "optparse"
|
6
6
|
require "open3"
|
7
|
+
require "rake_compiler_dock"
|
7
8
|
require "rb_sys/version"
|
8
9
|
require "rb_sys/toolchain_info"
|
9
10
|
require "rb_sys/cargo/metadata"
|
@@ -17,10 +18,6 @@ OPTIONS = {
|
|
17
18
|
directory: Dir.pwd
|
18
19
|
}
|
19
20
|
|
20
|
-
PATCH_RELEASE_OVERRIDES = {
|
21
|
-
"3.3" => "3.3.5"
|
22
|
-
}
|
23
|
-
|
24
21
|
def cargo_metadata
|
25
22
|
return @cargo_metadata if defined?(@cargo_metadata)
|
26
23
|
|
@@ -104,7 +101,7 @@ OptionParser.new do |opts|
|
|
104
101
|
|
105
102
|
opts.on("-r", "--ruby-versions LIST", "List all supported Ruby versions") do |arg|
|
106
103
|
vers = arg.split(/[^0-9.]+/).map do |v|
|
107
|
-
override =
|
104
|
+
override = RakeCompilerDock.cross_rubies[v]
|
108
105
|
|
109
106
|
next override if override
|
110
107
|
|
@@ -367,9 +364,11 @@ def rcd(input_args)
|
|
367
364
|
wrapper_command << "sigfw" unless interactive?(input_args)
|
368
365
|
wrapper_command << "runas"
|
369
366
|
|
370
|
-
docker_options = []
|
367
|
+
docker_options = ["--pid=host"]
|
371
368
|
docker_options << "--tty" if interactive?(input_args)
|
372
369
|
|
370
|
+
ruby_versions = ENV["RUBY_CC_VERSION"] || RakeCompilerDock.cross_rubies.values.join(":")
|
371
|
+
|
373
372
|
cmd = <<~SH
|
374
373
|
#{default_docker_command} run \
|
375
374
|
--platform #{OPTIONS.fetch(:docker_platform)} \
|
@@ -391,7 +390,7 @@ def rcd(input_args)
|
|
391
390
|
-e RCD_IMAGE \
|
392
391
|
-e RB_SYS_DOCK_TMPDIR="/tmp/rb-sys-dock" \
|
393
392
|
-e RB_SYS_CARGO_TARGET_DIR=#{tmp_target_dir.inspect} \
|
394
|
-
|
393
|
+
-e RUBY_CC_VERSION="#{ruby_versions}" \
|
395
394
|
-e RAKEOPT \
|
396
395
|
-e TERM \
|
397
396
|
-w #{working_directory} \
|
@@ -5,6 +5,6 @@
|
|
5
5
|
module RbSys
|
6
6
|
class ToolchainInfo
|
7
7
|
# @private
|
8
|
-
DATA = {"arm-linux" => {"rust-target" => "arm-unknown-linux-gnueabihf", "rake-compiler-dock" => {"cc" => "arm-linux-gnueabihf-gcc"}, "docker-platform" => "linux/arm/v7", "supported" => true}, "aarch64-linux" => {"rust-target" => "aarch64-unknown-linux-gnu", "rake-compiler-dock" => {"cc" => "aarch64-linux-gnu-gcc"}, "docker-platform" => "linux/arm64/v8", "supported" => true}, "aarch64-linux-musl" => {"rust-target" => "aarch64-unknown-linux-musl", "rake-compiler-dock" => {"cc" => "aarch64-linux-musl-gcc"}, "docker-platform" => "linux/arm64/v8", "supported" => true}, "arm64-darwin" => {"rust-target" => "aarch64-apple-darwin", "rake-compiler-dock" => {"cc" => "aarch64-apple-darwin-clang"}, "docker-platform" => "linux/arm64/v8", "supported" => true}, "x64-mingw-ucrt" => {"rust-target" => "x86_64-pc-windows-gnu", "rake-compiler-dock" => {"cc" => "x86_64-windows-gnu-gcc"}, "docker-platform" => "linux/amd64", "supported" => true}, "x64-mingw32" => {"rust-target" => "x86_64-pc-windows-gnu", "rake-compiler-dock" => {"cc" => "x86_64-windows-gnu-gcc"}, "docker-platform" => "linux/amd64", "supported" => true}, "x86-linux" => {"rust-target" => "i686-unknown-linux-gnu", "rake-compiler-dock" => {"cc" => "i686-redhat-linux-gcc"}, "docker-platform" => "linux/i386", "supported" => false}, "x86-mingw32" => {"rust-target" => "i686-pc-windows-gnu", "rake-compiler-dock" => {"cc" => "i686-w64-mingw32-gcc"}, "docker-platform" => "linux/i386", "supported" => false}, "x86_64-darwin" => {"rust-target" => "x86_64-apple-darwin", "rake-compiler-dock" => {"cc" => "x86_64-apple-darwin-clang"}, "docker-platform" => "linux/amd64", "supported" => true}, "x86_64-linux" => {"rust-target" => "x86_64-unknown-linux-gnu", "rake-compiler-dock" => {"cc" => "x86_64-redhat-linux-gcc"}, "docker-platform" => "linux/amd64", "supported" => true}, "x86_64-linux-musl" => {"rust-target" => "x86_64-unknown-linux-musl", "rake-compiler-dock" => {"cc" => "x86_64-unknown-linux-musl-gcc"}, "docker-platform" => "linux/amd64", "supported" => true}}
|
8
|
+
DATA = {"arm-linux" => {"rust-target" => "arm-unknown-linux-gnueabihf", "rake-compiler-dock" => {"cc" => "arm-linux-gnueabihf-gcc"}, "docker-platform" => "linux/arm/v7", "supported" => true}, "aarch64-linux" => {"aliases" => ["aarch64-linux-gnu", "aarch64-unknown-linux-gnu"], "rust-target" => "aarch64-unknown-linux-gnu", "rake-compiler-dock" => {"cc" => "aarch64-linux-gnu-gcc"}, "docker-platform" => "linux/arm64/v8", "supported" => true}, "aarch64-linux-musl" => {"rust-target" => "aarch64-unknown-linux-musl", "rake-compiler-dock" => {"cc" => "aarch64-linux-musl-gcc"}, "docker-platform" => "linux/arm64/v8", "supported" => true}, "arm64-darwin" => {"rust-target" => "aarch64-apple-darwin", "rake-compiler-dock" => {"cc" => "aarch64-apple-darwin-clang"}, "docker-platform" => "linux/arm64/v8", "supported" => true}, "x64-mingw-ucrt" => {"rust-target" => "x86_64-pc-windows-gnu", "rake-compiler-dock" => {"cc" => "x86_64-windows-gnu-gcc"}, "docker-platform" => "linux/amd64", "supported" => true}, "x64-mingw32" => {"rust-target" => "x86_64-pc-windows-gnu", "rake-compiler-dock" => {"cc" => "x86_64-windows-gnu-gcc"}, "docker-platform" => "linux/amd64", "supported" => true}, "x86-linux" => {"rust-target" => "i686-unknown-linux-gnu", "rake-compiler-dock" => {"cc" => "i686-redhat-linux-gcc"}, "docker-platform" => "linux/i386", "supported" => false}, "x86-mingw32" => {"rust-target" => "i686-pc-windows-gnu", "rake-compiler-dock" => {"cc" => "i686-w64-mingw32-gcc"}, "docker-platform" => "linux/i386", "supported" => false}, "x86_64-darwin" => {"rust-target" => "x86_64-apple-darwin", "rake-compiler-dock" => {"cc" => "x86_64-apple-darwin-clang"}, "docker-platform" => "linux/amd64", "supported" => true}, "x86_64-linux" => {"aliases" => ["x86_64-linux-gnu", "x86_64-unknown-linux-gnu"], "rust-target" => "x86_64-unknown-linux-gnu", "rake-compiler-dock" => {"cc" => "x86_64-redhat-linux-gcc"}, "docker-platform" => "linux/amd64", "supported" => true}, "x86_64-linux-musl" => {"rust-target" => "x86_64-unknown-linux-musl", "rake-compiler-dock" => {"cc" => "x86_64-unknown-linux-musl-gcc"}, "docker-platform" => "linux/amd64", "supported" => true}}
|
9
9
|
end
|
10
10
|
end
|
data/lib/rb_sys/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rb_sys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.109
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ian Ker-Seymer
|
@@ -29,8 +29,22 @@ cert_chain:
|
|
29
29
|
Lvd35BNvZkhFzs9xfykhurpkT2TiP2F3ZFn9dwLXMFe41pwrtEYLIWhYi8mUG4Ek
|
30
30
|
6aR8M/tqIpChVV39
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date: 2025-01-
|
33
|
-
dependencies:
|
32
|
+
date: 2025-01-30 00:00:00.000000000 Z
|
33
|
+
dependencies:
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: rake-compiler-dock
|
36
|
+
requirement: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.9.1
|
41
|
+
type: :runtime
|
42
|
+
prerelease: false
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.9.1
|
34
48
|
description:
|
35
49
|
email:
|
36
50
|
- i.kerseymer@gmail.com
|
metadata.gz.sig
CHANGED
Binary file
|