rcee_precompiled 0.6.0-x86_64-linux-gnu → 0.8.0-x86_64-linux-gnu

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a4f65a5d51b2462a96cdb5904ed7a3769866b71d07fe1e3ec442f4d726ceaef
4
- data.tar.gz: 24460df5b2cfb7c1602cac687557ee4193e444224f6175a17d1990272c7598ba
3
+ metadata.gz: c629c446719b6d013693edb18acccf39c0414322aa0dd048da0c6640a2908454
4
+ data.tar.gz: 0c0edb7cf26df82d816234b5727f3cfa95b2bee462487e26582b2b50965d79ab
5
5
  SHA512:
6
- metadata.gz: 3721ff853674cc82b40c1a751dfdecd0a036da4e265760420303b5f2e3bb9c9376abc35d1bc44884a23f57de48a8264dff74bf010a68e89e38c88f6d7ba427e7
7
- data.tar.gz: 1b434557e5a85b1e7942c7d56b0b85370ad7241d74ed9438eef93dee63b699182e40487a3cbf6e6cbbeb0aa5be05a473b490959357441f8909ea6fc515e224f9
6
+ metadata.gz: f0c669e5813280841c02b01f121a582623e10d3d31c944608c75d8ccd20736cbf537fdd5f79b619776b7a44cc841a04943ac2946449f227d201272760e311561
7
+ data.tar.gz: 4ce17d481cd2b1d1cac4817083c62e7bea6b54b7cb83a2f5ede016413043799108b41992c46adee62d7f885939c973486ab53d05fc7e3ff961c97cd782f19682
data/Gemfile CHANGED
@@ -8,6 +8,6 @@ gemspec
8
8
  gem "rake", "~> 13.0"
9
9
 
10
10
  gem "rake-compiler"
11
- gem "rake-compiler-dock", "1.7.0.rc1"
11
+ gem "rake-compiler-dock", "1.11.0"
12
12
 
13
13
  gem "minitest", "~> 5.0"
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
- ENV["RUBY_CC_VERSION"] = cross_rubies.join(":")
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
@@ -39,7 +39,10 @@ module RCEE
39
39
 
40
40
  # use the packaged libyaml
41
41
  recipe.activate
42
- pkg_config(File.join(recipe.path, "lib", "pkgconfig", "yaml-0.1.pc"))
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RCEE
4
4
  module Precompiled
5
- VERSION = "0.6.0"
5
+ VERSION = "0.8.0"
6
6
  end
7
7
  end
@@ -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
- require_relative "precompiled/#{ruby_version}/precompiled"
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