polycrystal 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/polycrystal/compiler.rb +6 -9
- data/lib/polycrystal/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46441f58bfab74d37c13333f222535918c57664bbb25e41078e722a95a3be082
|
4
|
+
data.tar.gz: 453ce9f790daa4fec95da21809e99b5b5c459b51b6ff0d2e005b8d8eab9d9224
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 127245a07887867cdb4de1902965cb2523b3a57fd1a065d1a9edcad18f687f034377c1824fd92e7b38fe37f4c19dbae92ba4c78848077c118c567601dd8a4673
|
7
|
+
data.tar.gz: c269b0e48439cd52ae938f3fbdf85ba6b4c21c73b59839be93017971126ad03cb3394e97bdfcc81a3f9e799a3fc863001ad16e17b86a1597bf304d25b5de0e22
|
data/lib/polycrystal/compiler.rb
CHANGED
@@ -82,7 +82,7 @@ module Polycrystal
|
|
82
82
|
end
|
83
83
|
|
84
84
|
def command
|
85
|
-
"#{include_paths} #{
|
85
|
+
"#{include_paths} #{compiler_cmd} build #{in_file.path} --link-flags \"#{crystal_link_flags} #{anyolite_glue}\" -o #{outfile} --release " \
|
86
86
|
'-Danyolite_implementation_ruby_3 -Duse_general_object_format_chars -Dexternal_ruby'
|
87
87
|
end
|
88
88
|
|
@@ -132,14 +132,11 @@ module Polycrystal
|
|
132
132
|
end
|
133
133
|
|
134
134
|
def anyolite_glue
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
"#{File.expand_path("#{__dir__}/../../ext/polycrystal/script_helper.o")} "
|
141
|
-
|
142
|
-
"ANYOLITE_LINK_GLUE=\"#{env}\""
|
135
|
+
"-L#{RbConfig::CONFIG['libdir']} #{RbConfig::CONFIG['LIBRUBYARG_SHARED']} " \
|
136
|
+
"#{File.expand_path("#{__dir__}/../../ext/polycrystal/data_helper.o")} " \
|
137
|
+
"#{File.expand_path("#{__dir__}/../../ext/polycrystal/error_helper.o")} " \
|
138
|
+
"#{File.expand_path("#{__dir__}/../../ext/polycrystal/return_functions.o")} " \
|
139
|
+
"#{File.expand_path("#{__dir__}/../../ext/polycrystal/script_helper.o")} "
|
143
140
|
end
|
144
141
|
|
145
142
|
def compiler_cmd
|
data/lib/polycrystal/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polycrystal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrii Hrushetskyi
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -109,7 +109,7 @@ metadata:
|
|
109
109
|
source_code_uri: https://github.com/ahrushetskyi/polycrystal
|
110
110
|
changelog_uri: https://github.com/ahrushetskyi/polycrystal/CHANGELOG.md
|
111
111
|
rubygems_mfa_required: 'true'
|
112
|
-
post_install_message:
|
112
|
+
post_install_message:
|
113
113
|
rdoc_options: []
|
114
114
|
require_paths:
|
115
115
|
- lib
|
@@ -125,8 +125,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
125
|
- !ruby/object:Gem::Version
|
126
126
|
version: '0'
|
127
127
|
requirements: []
|
128
|
-
rubygems_version: 3.
|
129
|
-
signing_key:
|
128
|
+
rubygems_version: 3.0.3.1
|
129
|
+
signing_key:
|
130
130
|
specification_version: 4
|
131
131
|
summary: Integrate Crystal into ruby
|
132
132
|
test_files: []
|