libdatadog 0.7.0.1.0-aarch64-linux → 0.8.0.1.0-aarch64-linux

Sign up to get free protection for your applications and to get access to all the features.
Files changed (22) hide show
  1. checksums.yaml +4 -4
  2. data/lib/libdatadog/version.rb +1 -1
  3. data/lib/libdatadog.rb +18 -1
  4. data/vendor/{libdatadog-0.7.0 → libdatadog-0.8.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/LICENSE +0 -0
  5. data/vendor/{libdatadog-0.7.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl → libdatadog-0.8.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu}/LICENSE-3rdparty.yml +7 -143
  6. data/vendor/{libdatadog-0.7.0 → libdatadog-0.8.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/NOTICE +0 -0
  7. data/vendor/libdatadog-0.8.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/common.h +430 -0
  8. data/vendor/libdatadog-0.8.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/profiling.h +212 -0
  9. data/vendor/libdatadog-0.8.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so +0 -0
  10. data/vendor/{libdatadog-0.7.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/lib/pkgconfig/ddprof_ffi_with_rpath.pc → libdatadog-0.8.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/lib/pkgconfig/datadog_profiling_with_rpath.pc} +3 -3
  11. data/vendor/{libdatadog-0.7.0 → libdatadog-0.8.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/LICENSE +0 -0
  12. data/vendor/{libdatadog-0.7.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu → libdatadog-0.8.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl}/LICENSE-3rdparty.yml +7 -143
  13. data/vendor/{libdatadog-0.7.0 → libdatadog-0.8.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/NOTICE +0 -0
  14. data/vendor/libdatadog-0.8.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/common.h +430 -0
  15. data/vendor/libdatadog-0.8.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/profiling.h +212 -0
  16. data/vendor/libdatadog-0.8.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/lib/libdatadog_profiling.so +0 -0
  17. data/vendor/{libdatadog-0.7.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/lib/pkgconfig/ddprof_ffi_with_rpath.pc → libdatadog-0.8.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/lib/pkgconfig/datadog_profiling_with_rpath.pc} +3 -3
  18. metadata +16 -14
  19. data/vendor/libdatadog-0.7.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/ddprof/ffi.h +0 -591
  20. data/vendor/libdatadog-0.7.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/lib/libddprof_ffi.so +0 -0
  21. data/vendor/libdatadog-0.7.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/ddprof/ffi.h +0 -591
  22. data/vendor/libdatadog-0.7.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/lib/libddprof_ffi.so +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18cd650f8f6b37823d909b43ef3f15fb4de9ee739becff54005e13b3f3dd4973
4
- data.tar.gz: da35267f0f5239ee74fc1a54bfae276dd3b6ed346323a12de0d7e57c32ad42b4
3
+ metadata.gz: 0e5d6a857bd4783854bff714f07b8636ef08139361df2777a95c2ebc5a084844
4
+ data.tar.gz: 90fad4e92e2b6ee6930762e2d3f8aa8979b2198fe26bc41ebe10db48fc814f38
5
5
  SHA512:
6
- metadata.gz: e008bbb50de309054606f8bbd456d9276b24be95ea0f4ffb0485e11303b788820c73c6186d7144c2e83ba7d2c87c595c9eccc7d5606c32c74cc2c8a569f0af0e
7
- data.tar.gz: 571ac42fdef04726e9699ebb99c58d81c9926f42a30e246802113df8c89b22b5b1f7732484f8866ba77a011f9ff8500efbfef97988f9f71f77db6bbdb37a99d8
6
+ metadata.gz: 550d7b9ed80dfb8fa9454e1bfeaf231de56575ded72159d3c775a108b1b035e7385915de50f986b4c31f5da05b761bb727e910ad98dd0634bf6a6e3249e97958
7
+ data.tar.gz: ad931129098f15e3c2b4845955d1f09e4cb13bb3e1a9fcbb7d9f4081d5ffe19947834f6b80ed78e376502d640e7c6ed4eb51d87ba76b72e3735b710a2ba382dc
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Libdatadog
4
4
  # Current libdatadog version
5
- LIB_VERSION = "0.7.0"
5
+ LIB_VERSION = "0.8.0"
6
6
 
7
7
  GEM_MAJOR_VERSION = "1"
8
8
  GEM_MINOR_VERSION = "0"
data/lib/libdatadog.rb CHANGED
@@ -8,9 +8,26 @@ module Libdatadog
8
8
  File.directory?(vendor_directory) ? (Dir.entries(vendor_directory) - [".", ".."]) : []
9
9
  end
10
10
 
11
- def self.pkgconfig_folder(pkgconfig_file_name = "ddprof_ffi_with_rpath.pc")
11
+ def self.pkgconfig_folder(pkgconfig_file_name = "datadog_profiling_with_rpath.pc")
12
12
  current_platform = Gem::Platform.local.to_s
13
13
 
14
+ if RbConfig::CONFIG["arch"].include?("-musl") && !current_platform.include?("-musl")
15
+ # Fix/workaround for https://github.com/DataDog/dd-trace-rb/issues/2222
16
+ #
17
+ # Old versions of rubygems (for instance 3.0.3) don't properly detect alternative libc implementations on Linux;
18
+ # in particular for our case, they don't detect musl. (For reference, Rubies older than 2.7 may have shipped with
19
+ # an affected version of rubygems).
20
+ # In such cases, we fall back to use RbConfig::CONFIG['arch'] instead.
21
+ #
22
+ # Why not use RbConfig::CONFIG['arch'] always? Because Gem::Platform.local.to_s does some normalization we want
23
+ # in other situations -- for instance, it turns `x86_64-linux-gnu` to `x86_64-linux`. So for now we only add this
24
+ # workaround in a specific situation where we actually know it is wrong.
25
+ #
26
+ # See also https://github.com/rubygems/rubygems/pull/2922 and https://github.com/rubygems/rubygems/pull/4082
27
+
28
+ current_platform = RbConfig::CONFIG["arch"]
29
+ end
30
+
14
31
  return unless available_binaries.include?(current_platform)
15
32
 
16
33
  pkgconfig_file = Dir.glob("#{vendor_directory}/#{current_platform}/**/#{pkgconfig_file_name}").first