natalie_parser 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Rakefile +7 -1
- data/lib/natalie_parser/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a06594f8ef75760689083616aefd09c426554ac59e07e37958102ef7bcf514b4
|
4
|
+
data.tar.gz: 2bc38fd3e4dd891b1b5251ed9ba6853d9cc5aa1ca3afa8ffe1af614cb5aa318f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05515d488cd67f0bbe50c24724248b73cb026b2fc73580419fd1fc017146706ac877fe8a103b14005649695732ca10f293aba8b48d6aee0eb9cd72087e44d339
|
7
|
+
data.tar.gz: 7d55f78cd2e539b4d28951fd50bc3f278df631c63c7aba82d1af6af6b6e085790ecdacc426747f097fb6047f13f178d66c4a751c882f99a115004e39ce45cd70
|
data/CHANGELOG.md
CHANGED
data/Rakefile
CHANGED
@@ -177,7 +177,13 @@ file "ext/natalie_parser/natalie_parser.#{so_ext}" => [
|
|
177
177
|
Rake::FileList['ext/natalie_parser/*.o'].each { |path| rm path }
|
178
178
|
rm_rf 'ext/natalie_parser/natalie_parser.so'
|
179
179
|
sh "cd #{build_dir} && ruby extconf.rb"
|
180
|
-
|
180
|
+
if `#{cxx} -v 2>&1` =~ /clang/
|
181
|
+
# workaround for clang bug: https://bugs.ruby-lang.org/issues/18616
|
182
|
+
cxx_hacky = "#{cxx} -fdeclspec"
|
183
|
+
else
|
184
|
+
cxx_hacky = cxx
|
185
|
+
end
|
186
|
+
sh "CC=#{cc.inspect} CXX=#{cxx_hacky.inspect} make -C #{build_dir} -j -e V=1 2>&1 | tee #{log_file}"
|
181
187
|
end
|
182
188
|
|
183
189
|
file 'build/fragments.hpp' => ['test/parser_test.rb', 'test/support/extract_parser_test_fragments.rb'] do
|