rcee_precompiled 0.6.0-arm-linux-musl → 0.8.0-arm-linux-musl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Rakefile +1 -2
- data/ext/precompiled/extconf.rb +5 -1
- data/lib/rcee/precompiled/3.2/precompiled.so +0 -0
- data/lib/rcee/precompiled/3.3/precompiled.so +0 -0
- data/lib/rcee/precompiled/3.4/precompiled.so +0 -0
- data/lib/rcee/precompiled/{3.1 → 4.0}/precompiled.so +0 -0
- data/lib/rcee/precompiled/version.rb +1 -1
- data/lib/rcee/precompiled.rb +1 -1
- data/patches/libyaml/0001-Update-config.guess-and-config.sub-to-the-versions-p.patch +5919 -0
- data/rcee_precompiled.gemspec +1 -0
- metadata +7 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f382a817359469db60bb278b5f83e98d46fccea7cc7859063c29f62f06f109bc
|
|
4
|
+
data.tar.gz: 8addd19e4f3b07e94c625ca9cbb44899f1283c03a46ea2b56c22c91f78a21983
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b92b9d87a8fe9793e39cb2aa932cb77f08b1c4366304e2bd4becfe7ab998f511e3b59bcfecc3745240f5548698cbe948ed8a0dde7bab9858687c476c283f6267
|
|
7
|
+
data.tar.gz: 8fd2c7331ed582d699219f49e8ac9baf9a23d14abe096b76405d30f38c140013097ac6b0cfccad73707cfa36234068fd0ce4cdc7c1bbc4394cc4e038e75615d5
|
data/Gemfile
CHANGED
data/Rakefile
CHANGED
|
@@ -6,7 +6,6 @@ require "rake/testtask"
|
|
|
6
6
|
require "rake/extensiontask"
|
|
7
7
|
require "rake_compiler_dock"
|
|
8
8
|
|
|
9
|
-
cross_rubies = ["3.4.0", "3.3.5", "3.2.0", "3.1.0"]
|
|
10
9
|
cross_platforms = [
|
|
11
10
|
"aarch64-linux-gnu",
|
|
12
11
|
"aarch64-linux-musl",
|
|
@@ -20,7 +19,7 @@ cross_platforms = [
|
|
|
20
19
|
"x86_64-darwin",
|
|
21
20
|
"x64-mingw-ucrt",
|
|
22
21
|
]
|
|
23
|
-
|
|
22
|
+
RakeCompilerDock.set_ruby_cc_version(">= 3.2")
|
|
24
23
|
|
|
25
24
|
rcee_precompiled_spec = Bundler.load_gemspec("rcee_precompiled.gemspec")
|
|
26
25
|
Gem::PackageTask.new(rcee_precompiled_spec).define #packaged_tarball version of the gem for platform=ruby
|
data/ext/precompiled/extconf.rb
CHANGED
|
@@ -39,7 +39,10 @@ module RCEE
|
|
|
39
39
|
|
|
40
40
|
# use the packaged libyaml
|
|
41
41
|
recipe.activate
|
|
42
|
-
|
|
42
|
+
|
|
43
|
+
# explicitly add include/lib paths (pkg_config may not extract them correctly on all platforms)
|
|
44
|
+
$INCFLAGS << " -I#{File.join(recipe.path, "include")}"
|
|
45
|
+
$LIBPATH << File.join(recipe.path, "lib")
|
|
43
46
|
|
|
44
47
|
# assert that we can build against the packaged libyaml
|
|
45
48
|
unless have_library("yaml", "yaml_get_version", "yaml.h")
|
|
@@ -62,6 +65,7 @@ module RCEE
|
|
|
62
65
|
sha256: "c642ae9b75fee120b2d96c712538bd2cf283228d2337df2cf2988e3c02678ef4"
|
|
63
66
|
}]
|
|
64
67
|
recipe.target = File.join(PACKAGE_ROOT_DIR, "ports")
|
|
68
|
+
recipe.patch_files = Dir[File.join(PACKAGE_ROOT_DIR, "patches", "libyaml", "*.patch")].sort
|
|
65
69
|
end
|
|
66
70
|
end
|
|
67
71
|
end
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/lib/rcee/precompiled.rb
CHANGED
|
@@ -5,7 +5,7 @@ require_relative "precompiled/version"
|
|
|
5
5
|
begin
|
|
6
6
|
# load the precompiled extension file
|
|
7
7
|
ruby_version = /(\d+\.\d+)/.match(::RUBY_VERSION)
|
|
8
|
-
|
|
8
|
+
require "rcee/precompiled/#{ruby_version}/precompiled"
|
|
9
9
|
rescue LoadError
|
|
10
10
|
# fall back to the extension compiled upon installation.
|
|
11
11
|
# use "require" instead of "require_relative" because non-native gems will place C extension files
|