ffi-clang 0.11.0 → 0.12.0
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/lib/ffi/clang/lib.rb +18 -17
- data/lib/ffi/clang/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- 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: 37f934d60fbdb3b3595b30bce1e3aa64606bb6a98a7e096e4d26f9deec4bdbf0
|
4
|
+
data.tar.gz: 5e82c4739b554e83fbb1753a4a7ccaa976d7e271b9ddde53d68f389e03d21f22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09dfa50b6c4e1ba906d0a6114ab54d3f3e7b32af7ed23a1d5d149c879ff01a6131bf48280e2bc4b4002e04522c5665123383b9f6a786c390908c8a4202c9e6e9'
|
7
|
+
data.tar.gz: 92ab385b15e7ba6d548b796c175032c693fd467f2e308bdd76f5ba2edd10736ec184f7af7db8e7b2a9f03d3000d5aab6fd84737b212775edf8aa093859310fcb
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/ffi/clang/lib.rb
CHANGED
@@ -27,26 +27,10 @@ module FFI
|
|
27
27
|
|
28
28
|
# If we aren't building for a specific version (e.g. travis) try to find llvm-config
|
29
29
|
unless ENV['LLVM_VERSION']
|
30
|
-
|
30
|
+
llvm_config ||= MakeMakefile.find_executable("llvm-config")
|
31
31
|
end
|
32
32
|
|
33
33
|
libs = []
|
34
|
-
begin
|
35
|
-
xcode_dir = `xcode-select -p`.chomp
|
36
|
-
%W[
|
37
|
-
#{xcode_dir}/Toolchains/XcodeDefault.xctoolchain/usr/lib/libclang.dylib
|
38
|
-
#{xcode_dir}/usr/lib/libclang.dylib
|
39
|
-
].each do |f|
|
40
|
-
if File.exist? f
|
41
|
-
libs << f
|
42
|
-
break
|
43
|
-
end
|
44
|
-
end
|
45
|
-
rescue Errno::ENOENT
|
46
|
-
# Ignore
|
47
|
-
end
|
48
|
-
|
49
|
-
libs << "clang"
|
50
34
|
|
51
35
|
if ENV['LIBCLANG']
|
52
36
|
libs << ENV['LIBCLANG']
|
@@ -65,6 +49,23 @@ module FFI
|
|
65
49
|
end
|
66
50
|
end
|
67
51
|
|
52
|
+
begin
|
53
|
+
xcode_dir = `xcode-select -p`.chomp
|
54
|
+
%W[
|
55
|
+
#{xcode_dir}/Toolchains/XcodeDefault.xctoolchain/usr/lib/libclang.dylib
|
56
|
+
#{xcode_dir}/usr/lib/libclang.dylib
|
57
|
+
].each do |f|
|
58
|
+
if File.exist? f
|
59
|
+
libs << f
|
60
|
+
break
|
61
|
+
end
|
62
|
+
end
|
63
|
+
rescue Errno::ENOENT
|
64
|
+
# Ignore
|
65
|
+
end
|
66
|
+
|
67
|
+
libs << "clang"
|
68
|
+
|
68
69
|
ffi_lib libs
|
69
70
|
|
70
71
|
def self.bitmask_from(enum, opts)
|
data/lib/ffi/clang/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: ffi-clang
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -55,7 +55,7 @@ cert_chain:
|
|
55
55
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
56
56
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
57
57
|
-----END CERTIFICATE-----
|
58
|
-
date: 2024-11-
|
58
|
+
date: 2024-11-27 00:00:00.000000000 Z
|
59
59
|
dependencies:
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: ffi
|
metadata.gz.sig
CHANGED
Binary file
|