trenni 3.11.0 → 3.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/tmp/x86_64-linux/lib/trenni/trenni.so +0 -0
- data/ext/tmp/{x86_64-darwin16 → x86_64-linux}/trenni/2.4.0/Makefile +24 -25
- data/ext/tmp/x86_64-linux/trenni/2.4.0/escape.o +0 -0
- data/ext/tmp/x86_64-linux/trenni/2.4.0/markup.o +0 -0
- data/ext/tmp/x86_64-linux/trenni/2.4.0/mkmf.log +108 -0
- data/ext/tmp/x86_64-linux/trenni/2.4.0/tag.o +0 -0
- data/ext/tmp/x86_64-linux/trenni/2.4.0/template.o +0 -0
- data/ext/tmp/x86_64-linux/trenni/2.4.0/trenni.o +0 -0
- data/ext/tmp/x86_64-linux/trenni/2.4.0/trenni.so +0 -0
- data/ext/tmp/{x86_64-darwin18/trenni/2.6.2 → x86_64-linux/trenni/2.7.0}/Makefile +32 -32
- data/ext/tmp/x86_64-linux/trenni/2.7.0/escape.o +0 -0
- data/ext/tmp/x86_64-linux/trenni/2.7.0/markup.o +0 -0
- data/ext/tmp/x86_64-linux/trenni/2.7.0/mkmf.log +113 -0
- data/ext/tmp/x86_64-linux/trenni/2.7.0/query.o +0 -0
- data/ext/tmp/x86_64-linux/trenni/2.7.0/tag.o +0 -0
- data/ext/tmp/x86_64-linux/trenni/2.7.0/template.o +0 -0
- data/ext/tmp/x86_64-linux/trenni/2.7.0/trenni.o +0 -0
- data/ext/tmp/x86_64-linux/trenni/2.7.0/trenni.so +0 -0
- data/ext/tmp/{x86_64-darwin19 → x86_64-linux}/trenni/2.7.1/Makefile +27 -28
- data/ext/tmp/x86_64-linux/trenni/2.7.1/escape.o +0 -0
- data/ext/tmp/x86_64-linux/trenni/2.7.1/markup.o +0 -0
- data/ext/tmp/x86_64-linux/trenni/2.7.1/mkmf.log +113 -0
- data/ext/tmp/x86_64-linux/trenni/2.7.1/query.o +0 -0
- data/ext/tmp/x86_64-linux/trenni/2.7.1/tag.o +0 -0
- data/ext/tmp/x86_64-linux/trenni/2.7.1/template.o +0 -0
- data/ext/tmp/x86_64-linux/trenni/2.7.1/trenni.o +0 -0
- data/ext/tmp/x86_64-linux/trenni/2.7.1/trenni.so +0 -0
- data/lib/trenni/builder.rb +46 -10
- data/lib/trenni/fallback/markup.rl.dot +278 -0
- data/lib/trenni/fallback/markup.rl.pdf +0 -0
- data/lib/trenni/fallback/query.rl.dot +54 -0
- data/lib/trenni/fallback/query.rl.pdf +0 -0
- data/lib/trenni/fallback/template.rl.dot +270 -0
- data/lib/trenni/fallback/template.rl.pdf +0 -0
- data/lib/trenni/template.rb +9 -18
- data/lib/trenni/trenni.so +0 -0
- data/lib/trenni/version.rb +1 -1
- data/spec/trenni/builder_spec.rb +1 -1
- data/spec/trenni/template_spec/builder.trenni +2 -2
- metadata +41 -51
- data/ext/.DS_Store +0 -0
- data/ext/tmp/.DS_Store +0 -0
- data/ext/tmp/x86_64-darwin16/lib/trenni/trenni.bundle +0 -0
- data/ext/tmp/x86_64-darwin16/trenni/2.4.0/escape.o +0 -0
- data/ext/tmp/x86_64-darwin16/trenni/2.4.0/markup.o +0 -0
- data/ext/tmp/x86_64-darwin16/trenni/2.4.0/mkmf.log +0 -105
- data/ext/tmp/x86_64-darwin16/trenni/2.4.0/tag.o +0 -0
- data/ext/tmp/x86_64-darwin16/trenni/2.4.0/template.o +0 -0
- data/ext/tmp/x86_64-darwin16/trenni/2.4.0/trenni.bundle +0 -0
- data/ext/tmp/x86_64-darwin16/trenni/2.4.0/trenni.o +0 -0
- data/ext/tmp/x86_64-darwin18/lib/trenni/trenni.bundle +0 -0
- data/ext/tmp/x86_64-darwin18/trenni/2.6.1/Makefile +0 -266
- data/ext/tmp/x86_64-darwin18/trenni/2.6.1/escape.o +0 -0
- data/ext/tmp/x86_64-darwin18/trenni/2.6.1/markup.o +0 -0
- data/ext/tmp/x86_64-darwin18/trenni/2.6.1/mkmf.log +0 -109
- data/ext/tmp/x86_64-darwin18/trenni/2.6.1/tag.o +0 -0
- data/ext/tmp/x86_64-darwin18/trenni/2.6.1/template.o +0 -0
- data/ext/tmp/x86_64-darwin18/trenni/2.6.1/trenni.bundle +0 -0
- data/ext/tmp/x86_64-darwin18/trenni/2.6.1/trenni.o +0 -0
- data/ext/tmp/x86_64-darwin18/trenni/2.6.2/escape.o +0 -0
- data/ext/tmp/x86_64-darwin18/trenni/2.6.2/markup.o +0 -0
- data/ext/tmp/x86_64-darwin18/trenni/2.6.2/mkmf.log +0 -109
- data/ext/tmp/x86_64-darwin18/trenni/2.6.2/tag.o +0 -0
- data/ext/tmp/x86_64-darwin18/trenni/2.6.2/template.o +0 -0
- data/ext/tmp/x86_64-darwin18/trenni/2.6.2/trenni.bundle +0 -0
- data/ext/tmp/x86_64-darwin18/trenni/2.6.2/trenni.o +0 -0
- data/ext/tmp/x86_64-darwin19/lib/trenni/trenni.bundle +0 -0
- data/ext/tmp/x86_64-darwin19/trenni/2.7.1/escape.o +0 -0
- data/ext/tmp/x86_64-darwin19/trenni/2.7.1/markup.o +0 -0
- data/ext/tmp/x86_64-darwin19/trenni/2.7.1/mkmf.log +0 -109
- data/ext/tmp/x86_64-darwin19/trenni/2.7.1/query.o +0 -0
- data/ext/tmp/x86_64-darwin19/trenni/2.7.1/tag.o +0 -0
- data/ext/tmp/x86_64-darwin19/trenni/2.7.1/template.o +0 -0
- data/ext/tmp/x86_64-darwin19/trenni/2.7.1/trenni.bundle +0 -0
- data/ext/tmp/x86_64-darwin19/trenni/2.7.1/trenni.o +0 -0
- data/ext/trenni/.DS_Store +0 -0
- data/lib/.DS_Store +0 -0
- data/lib/trenni/.DS_Store +0 -0
- data/parsers/.DS_Store +0 -0
- data/spec/.DS_Store +0 -0
- data/spec/trenni/template_spec/.DS_Store +0 -0
data/ext/.DS_Store
DELETED
Binary file
|
data/ext/tmp/.DS_Store
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,105 +0,0 @@
|
|
1
|
-
have_func: checking for rb_sym2str()... -------------------- yes
|
2
|
-
|
3
|
-
"gcc -o conftest -I/Users/samuel/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/Users/samuel/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/ruby/backward -I/Users/samuel/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0 -I../../../../trenni -I/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fno-common -pipe -O3 -std=c99 conftest.c -L. -L/Users/samuel/.rvm/rubies/ruby-2.4.0/lib -L/opt/local/lib -L. -fstack-protector -L/opt/local/lib -L/opt/local/lib -lruby.2.4.0 -lpthread -lgmp -ldl -lobjc "
|
4
|
-
checked program was:
|
5
|
-
/* begin */
|
6
|
-
1: #include "ruby.h"
|
7
|
-
2:
|
8
|
-
3: int main(int argc, char **argv)
|
9
|
-
4: {
|
10
|
-
5: return 0;
|
11
|
-
6: }
|
12
|
-
/* end */
|
13
|
-
|
14
|
-
"gcc -o conftest -I/Users/samuel/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/Users/samuel/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/ruby/backward -I/Users/samuel/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0 -I../../../../trenni -I/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fno-common -pipe -O3 -std=c99 conftest.c -L. -L/Users/samuel/.rvm/rubies/ruby-2.4.0/lib -L/opt/local/lib -L. -fstack-protector -L/opt/local/lib -L/opt/local/lib -lruby.2.4.0 -lpthread -lgmp -ldl -lobjc "
|
15
|
-
checked program was:
|
16
|
-
/* begin */
|
17
|
-
1: #include "ruby.h"
|
18
|
-
2:
|
19
|
-
3: /*top*/
|
20
|
-
4: extern int t(void);
|
21
|
-
5: int main(int argc, char **argv)
|
22
|
-
6: {
|
23
|
-
7: if (argc > 1000000) {
|
24
|
-
8: printf("%p", &t);
|
25
|
-
9: }
|
26
|
-
10:
|
27
|
-
11: return 0;
|
28
|
-
12: }
|
29
|
-
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_sym2str; return !p; }
|
30
|
-
/* end */
|
31
|
-
|
32
|
-
--------------------
|
33
|
-
|
34
|
-
have_func: checking for rb_str_cat_cstr()... -------------------- yes
|
35
|
-
|
36
|
-
"gcc -o conftest -I/Users/samuel/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/Users/samuel/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/ruby/backward -I/Users/samuel/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0 -I../../../../trenni -I/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fno-common -pipe -O3 -std=c99 conftest.c -L. -L/Users/samuel/.rvm/rubies/ruby-2.4.0/lib -L/opt/local/lib -L. -fstack-protector -L/opt/local/lib -L/opt/local/lib -lruby.2.4.0 -lpthread -lgmp -ldl -lobjc "
|
37
|
-
checked program was:
|
38
|
-
/* begin */
|
39
|
-
1: #include "ruby.h"
|
40
|
-
2:
|
41
|
-
3: /*top*/
|
42
|
-
4: extern int t(void);
|
43
|
-
5: int main(int argc, char **argv)
|
44
|
-
6: {
|
45
|
-
7: if (argc > 1000000) {
|
46
|
-
8: printf("%p", &t);
|
47
|
-
9: }
|
48
|
-
10:
|
49
|
-
11: return 0;
|
50
|
-
12: }
|
51
|
-
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_str_cat_cstr; return !p; }
|
52
|
-
/* end */
|
53
|
-
|
54
|
-
--------------------
|
55
|
-
|
56
|
-
have_func: checking for rb_str_reserve()... -------------------- no
|
57
|
-
|
58
|
-
"gcc -o conftest -I/Users/samuel/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/Users/samuel/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/ruby/backward -I/Users/samuel/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0 -I../../../../trenni -I/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fno-common -pipe -O3 -std=c99 conftest.c -L. -L/Users/samuel/.rvm/rubies/ruby-2.4.0/lib -L/opt/local/lib -L. -fstack-protector -L/opt/local/lib -L/opt/local/lib -lruby.2.4.0 -lpthread -lgmp -ldl -lobjc "
|
59
|
-
conftest.c:13:57: error: use of undeclared identifier 'rb_str_reserve'
|
60
|
-
int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_str_reserve; return !p; }
|
61
|
-
^
|
62
|
-
1 error generated.
|
63
|
-
checked program was:
|
64
|
-
/* begin */
|
65
|
-
1: #include "ruby.h"
|
66
|
-
2:
|
67
|
-
3: /*top*/
|
68
|
-
4: extern int t(void);
|
69
|
-
5: int main(int argc, char **argv)
|
70
|
-
6: {
|
71
|
-
7: if (argc > 1000000) {
|
72
|
-
8: printf("%p", &t);
|
73
|
-
9: }
|
74
|
-
10:
|
75
|
-
11: return 0;
|
76
|
-
12: }
|
77
|
-
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_str_reserve; return !p; }
|
78
|
-
/* end */
|
79
|
-
|
80
|
-
"gcc -o conftest -I/Users/samuel/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/Users/samuel/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/ruby/backward -I/Users/samuel/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0 -I../../../../trenni -I/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fno-common -pipe -O3 -std=c99 conftest.c -L. -L/Users/samuel/.rvm/rubies/ruby-2.4.0/lib -L/opt/local/lib -L. -fstack-protector -L/opt/local/lib -L/opt/local/lib -lruby.2.4.0 -lpthread -lgmp -ldl -lobjc "
|
81
|
-
Undefined symbols for architecture x86_64:
|
82
|
-
"_rb_str_reserve", referenced from:
|
83
|
-
_t in conftest-2f3728.o
|
84
|
-
ld: symbol(s) not found for architecture x86_64
|
85
|
-
clang: error: linker command failed with exit code 1 (use -v to see invocation)
|
86
|
-
checked program was:
|
87
|
-
/* begin */
|
88
|
-
1: #include "ruby.h"
|
89
|
-
2:
|
90
|
-
3: /*top*/
|
91
|
-
4: extern int t(void);
|
92
|
-
5: int main(int argc, char **argv)
|
93
|
-
6: {
|
94
|
-
7: if (argc > 1000000) {
|
95
|
-
8: printf("%p", &t);
|
96
|
-
9: }
|
97
|
-
10:
|
98
|
-
11: return 0;
|
99
|
-
12: }
|
100
|
-
13: extern void rb_str_reserve();
|
101
|
-
14: int t(void) { rb_str_reserve(); return 0; }
|
102
|
-
/* end */
|
103
|
-
|
104
|
-
--------------------
|
105
|
-
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,266 +0,0 @@
|
|
1
|
-
|
2
|
-
SHELL = /bin/sh
|
3
|
-
|
4
|
-
# V=0 quiet, V=1 verbose. other values don't work.
|
5
|
-
V = 0
|
6
|
-
Q1 = $(V:1=)
|
7
|
-
Q = $(Q1:0=@)
|
8
|
-
ECHO1 = $(V:1=@ :)
|
9
|
-
ECHO = $(ECHO1:0=@ echo)
|
10
|
-
NULLCMD = :
|
11
|
-
|
12
|
-
#### Start of system configuration section. ####
|
13
|
-
|
14
|
-
srcdir = ../../../../trenni
|
15
|
-
topdir = /Users/samuel/.rvm/rubies/ruby-2.6.1/include/ruby-2.6.0
|
16
|
-
hdrdir = $(topdir)
|
17
|
-
arch_hdrdir = /Users/samuel/.rvm/rubies/ruby-2.6.1/include/ruby-2.6.0/x86_64-darwin18
|
18
|
-
PATH_SEPARATOR = :
|
19
|
-
VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
|
20
|
-
prefix = $(DESTDIR)/Users/samuel/.rvm/rubies/ruby-2.6.1
|
21
|
-
rubysitearchprefix = $(rubylibprefix)/$(sitearch)
|
22
|
-
rubyarchprefix = $(rubylibprefix)/$(arch)
|
23
|
-
rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
|
24
|
-
exec_prefix = $(prefix)
|
25
|
-
vendorarchhdrdir = $(vendorhdrdir)/$(sitearch)
|
26
|
-
sitearchhdrdir = $(sitehdrdir)/$(sitearch)
|
27
|
-
rubyarchhdrdir = $(rubyhdrdir)/$(arch)
|
28
|
-
vendorhdrdir = $(rubyhdrdir)/vendor_ruby
|
29
|
-
sitehdrdir = $(rubyhdrdir)/site_ruby
|
30
|
-
rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
|
31
|
-
vendorarchdir = $(vendorlibdir)/$(sitearch)
|
32
|
-
vendorlibdir = $(vendordir)/$(ruby_version)
|
33
|
-
vendordir = $(rubylibprefix)/vendor_ruby
|
34
|
-
sitearchdir = $(sitelibdir)/$(sitearch)
|
35
|
-
sitelibdir = $(sitedir)/$(ruby_version)
|
36
|
-
sitedir = $(rubylibprefix)/site_ruby
|
37
|
-
rubyarchdir = $(rubylibdir)/$(arch)
|
38
|
-
rubylibdir = $(rubylibprefix)/$(ruby_version)
|
39
|
-
sitearchincludedir = $(includedir)/$(sitearch)
|
40
|
-
archincludedir = $(includedir)/$(arch)
|
41
|
-
sitearchlibdir = $(libdir)/$(sitearch)
|
42
|
-
archlibdir = $(libdir)/$(arch)
|
43
|
-
ridir = $(datarootdir)/$(RI_BASE_NAME)
|
44
|
-
mandir = $(datarootdir)/man
|
45
|
-
localedir = $(datarootdir)/locale
|
46
|
-
libdir = $(exec_prefix)/lib
|
47
|
-
psdir = $(docdir)
|
48
|
-
pdfdir = $(docdir)
|
49
|
-
dvidir = $(docdir)
|
50
|
-
htmldir = $(docdir)
|
51
|
-
infodir = $(datarootdir)/info
|
52
|
-
docdir = $(datarootdir)/doc/$(PACKAGE)
|
53
|
-
oldincludedir = $(SDKROOT)/usr/include
|
54
|
-
includedir = $(prefix)/include
|
55
|
-
localstatedir = $(prefix)/var
|
56
|
-
sharedstatedir = $(prefix)/com
|
57
|
-
sysconfdir = $(prefix)/etc
|
58
|
-
datadir = $(datarootdir)
|
59
|
-
datarootdir = $(prefix)/share
|
60
|
-
libexecdir = $(exec_prefix)/libexec
|
61
|
-
sbindir = $(exec_prefix)/sbin
|
62
|
-
bindir = $(exec_prefix)/bin
|
63
|
-
archdir = $(rubyarchdir)
|
64
|
-
|
65
|
-
|
66
|
-
CC_WRAPPER =
|
67
|
-
CC = $(CC_WRAPPER) gcc
|
68
|
-
CXX = g++
|
69
|
-
LIBRUBY = $(LIBRUBY_SO)
|
70
|
-
LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
|
71
|
-
LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
|
72
|
-
LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static -framework Security -framework Foundation $(MAINLIBS)
|
73
|
-
empty =
|
74
|
-
OUTFLAG = -o $(empty)
|
75
|
-
COUTFLAG = -o $(empty)
|
76
|
-
CSRCFLAG = $(empty)
|
77
|
-
|
78
|
-
RUBY_EXTCONF_H =
|
79
|
-
cflags = $(optflags) $(debugflags) $(warnflags)
|
80
|
-
cxxflags = $(optflags) $(debugflags) $(warnflags)
|
81
|
-
optflags = -O3
|
82
|
-
debugflags = -ggdb3
|
83
|
-
warnflags = -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens
|
84
|
-
cppflags =
|
85
|
-
CCDLFLAGS = -fno-common
|
86
|
-
CFLAGS = $(CCDLFLAGS) $(cflags) -fno-common -pipe -O3 -std=c99 $(ARCH_FLAG)
|
87
|
-
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
|
88
|
-
DEFS =
|
89
|
-
CPPFLAGS = -DHAVE_RB_SYM2STR -DHAVE_RB_STR_CAT_CSTR -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT $(DEFS) $(cppflags)
|
90
|
-
CXXFLAGS = $(CCDLFLAGS) $(cxxflags) $(ARCH_FLAG)
|
91
|
-
ldflags = -L. -fstack-protector-strong -L/usr/local/lib -L/opt/local/lib
|
92
|
-
dldflags = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/opt/local/lib
|
93
|
-
ARCH_FLAG =
|
94
|
-
DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)
|
95
|
-
LDSHARED = $(CC) -dynamic -bundle
|
96
|
-
LDSHAREDXX = $(CXX) -dynamic -bundle
|
97
|
-
AR = libtool -static
|
98
|
-
EXEEXT =
|
99
|
-
|
100
|
-
RUBY_INSTALL_NAME = $(RUBY_BASE_NAME)
|
101
|
-
RUBY_SO_NAME = ruby.2.6
|
102
|
-
RUBYW_INSTALL_NAME =
|
103
|
-
RUBY_VERSION_NAME = $(RUBY_BASE_NAME)-$(ruby_version)
|
104
|
-
RUBYW_BASE_NAME = rubyw
|
105
|
-
RUBY_BASE_NAME = ruby
|
106
|
-
|
107
|
-
arch = x86_64-darwin18
|
108
|
-
sitearch = $(arch)
|
109
|
-
ruby_version = 2.6.0
|
110
|
-
ruby = $(bindir)/$(RUBY_BASE_NAME)
|
111
|
-
RUBY = $(ruby)
|
112
|
-
ruby_headers = $(hdrdir)/ruby.h $(hdrdir)/ruby/backward.h $(hdrdir)/ruby/ruby.h $(hdrdir)/ruby/defines.h $(hdrdir)/ruby/missing.h $(hdrdir)/ruby/intern.h $(hdrdir)/ruby/st.h $(hdrdir)/ruby/subst.h $(arch_hdrdir)/ruby/config.h
|
113
|
-
|
114
|
-
RM = rm -f
|
115
|
-
RM_RF = $(RUBY) -run -e rm -- -rf
|
116
|
-
RMDIRS = rmdir -p
|
117
|
-
MAKEDIRS = /opt/local/bin/gmkdir -p
|
118
|
-
INSTALL = /opt/local/bin/ginstall -c
|
119
|
-
INSTALL_PROG = $(INSTALL) -m 0755
|
120
|
-
INSTALL_DATA = $(INSTALL) -m 644
|
121
|
-
COPY = cp
|
122
|
-
TOUCH = exit >
|
123
|
-
|
124
|
-
#### End of system configuration section. ####
|
125
|
-
|
126
|
-
preload =
|
127
|
-
libpath = . $(libdir) /opt/local/lib
|
128
|
-
LIBPATH = -L. -L$(libdir) -L/opt/local/lib
|
129
|
-
DEFFILE =
|
130
|
-
|
131
|
-
CLEANFILES = mkmf.log
|
132
|
-
DISTCLEANFILES =
|
133
|
-
DISTCLEANDIRS =
|
134
|
-
|
135
|
-
extout =
|
136
|
-
extout_prefix =
|
137
|
-
target_prefix = /trenni
|
138
|
-
LOCAL_LIBS =
|
139
|
-
LIBS = $(LIBRUBYARG_SHARED)
|
140
|
-
ORIG_SRCS = escape.c markup.c tag.c template.c trenni.c
|
141
|
-
SRCS = $(ORIG_SRCS)
|
142
|
-
OBJS = escape.o markup.o tag.o template.o trenni.o
|
143
|
-
HDRS = $(srcdir)/tag.h $(srcdir)/markup.h $(srcdir)/escape.h $(srcdir)/trenni.h $(srcdir)/template.h
|
144
|
-
LOCAL_HDRS =
|
145
|
-
TARGET = trenni
|
146
|
-
TARGET_NAME = trenni
|
147
|
-
TARGET_ENTRY = Init_$(TARGET_NAME)
|
148
|
-
DLLIB = $(TARGET).bundle
|
149
|
-
EXTSTATIC =
|
150
|
-
STATIC_LIB =
|
151
|
-
|
152
|
-
TIMESTAMP_DIR = .
|
153
|
-
BINDIR = $(bindir)
|
154
|
-
RUBYCOMMONDIR = $(sitedir)$(target_prefix)
|
155
|
-
RUBYLIBDIR = $(sitelibdir)$(target_prefix)
|
156
|
-
RUBYARCHDIR = $(sitearchdir)$(target_prefix)
|
157
|
-
HDRDIR = $(rubyhdrdir)/ruby$(target_prefix)
|
158
|
-
ARCHHDRDIR = $(rubyhdrdir)/$(arch)/ruby$(target_prefix)
|
159
|
-
TARGET_SO_DIR =
|
160
|
-
TARGET_SO = $(TARGET_SO_DIR)$(DLLIB)
|
161
|
-
CLEANLIBS = $(TARGET_SO)
|
162
|
-
CLEANOBJS = *.o *.bak
|
163
|
-
|
164
|
-
all: $(DLLIB)
|
165
|
-
static: $(STATIC_LIB)
|
166
|
-
.PHONY: all install static install-so install-rb
|
167
|
-
.PHONY: clean clean-so clean-static clean-rb
|
168
|
-
|
169
|
-
clean-static::
|
170
|
-
clean-rb-default::
|
171
|
-
clean-rb::
|
172
|
-
clean-so::
|
173
|
-
clean: clean-so clean-static clean-rb-default clean-rb
|
174
|
-
-$(Q)$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES) .*.time
|
175
|
-
|
176
|
-
distclean-rb-default::
|
177
|
-
distclean-rb::
|
178
|
-
distclean-so::
|
179
|
-
distclean-static::
|
180
|
-
distclean: clean distclean-so distclean-static distclean-rb-default distclean-rb
|
181
|
-
-$(Q)$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
|
182
|
-
-$(Q)$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
|
183
|
-
-$(Q)$(RMDIRS) $(DISTCLEANDIRS) 2> /dev/null || true
|
184
|
-
|
185
|
-
realclean: distclean
|
186
|
-
install: install-so install-rb
|
187
|
-
|
188
|
-
install-so: $(DLLIB) $(TIMESTAMP_DIR)/.sitearchdir.-.trenni.time
|
189
|
-
$(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
|
190
|
-
clean-static::
|
191
|
-
-$(Q)$(RM) $(STATIC_LIB)
|
192
|
-
install-rb: pre-install-rb do-install-rb install-rb-default
|
193
|
-
install-rb-default: pre-install-rb-default do-install-rb-default
|
194
|
-
pre-install-rb: Makefile
|
195
|
-
pre-install-rb-default: Makefile
|
196
|
-
do-install-rb:
|
197
|
-
do-install-rb-default:
|
198
|
-
pre-install-rb-default:
|
199
|
-
@$(NULLCMD)
|
200
|
-
$(TIMESTAMP_DIR)/.sitearchdir.-.trenni.time:
|
201
|
-
$(Q) $(MAKEDIRS) $(@D) $(RUBYARCHDIR)
|
202
|
-
$(Q) $(TOUCH) $@
|
203
|
-
|
204
|
-
site-install: site-install-so site-install-rb
|
205
|
-
site-install-so: install-so
|
206
|
-
site-install-rb: install-rb
|
207
|
-
|
208
|
-
.SUFFIXES: .c .m .cc .mm .cxx .cpp .o .S
|
209
|
-
|
210
|
-
.cc.o:
|
211
|
-
$(ECHO) compiling $(<)
|
212
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
213
|
-
|
214
|
-
.cc.S:
|
215
|
-
$(ECHO) translating $(<)
|
216
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
217
|
-
|
218
|
-
.mm.o:
|
219
|
-
$(ECHO) compiling $(<)
|
220
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
221
|
-
|
222
|
-
.mm.S:
|
223
|
-
$(ECHO) translating $(<)
|
224
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
225
|
-
|
226
|
-
.cxx.o:
|
227
|
-
$(ECHO) compiling $(<)
|
228
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
229
|
-
|
230
|
-
.cxx.S:
|
231
|
-
$(ECHO) translating $(<)
|
232
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
233
|
-
|
234
|
-
.cpp.o:
|
235
|
-
$(ECHO) compiling $(<)
|
236
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
237
|
-
|
238
|
-
.cpp.S:
|
239
|
-
$(ECHO) translating $(<)
|
240
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
241
|
-
|
242
|
-
.c.o:
|
243
|
-
$(ECHO) compiling $(<)
|
244
|
-
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
245
|
-
|
246
|
-
.c.S:
|
247
|
-
$(ECHO) translating $(<)
|
248
|
-
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
249
|
-
|
250
|
-
.m.o:
|
251
|
-
$(ECHO) compiling $(<)
|
252
|
-
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
253
|
-
|
254
|
-
.m.S:
|
255
|
-
$(ECHO) translating $(<)
|
256
|
-
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
257
|
-
|
258
|
-
$(TARGET_SO): $(OBJS) Makefile
|
259
|
-
$(ECHO) linking shared-object trenni/$(DLLIB)
|
260
|
-
-$(Q)$(RM) $(@)
|
261
|
-
$(Q) $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
|
262
|
-
$(Q) $(POSTLINK)
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
$(OBJS): $(HDRS) $(ruby_headers)
|
Binary file
|
Binary file
|
@@ -1,109 +0,0 @@
|
|
1
|
-
have_func: checking for rb_sym2str()... -------------------- yes
|
2
|
-
|
3
|
-
" gcc -o conftest -I/Users/samuel/.rvm/rubies/ruby-2.6.1/include/ruby-2.6.0/x86_64-darwin18 -I/Users/samuel/.rvm/rubies/ruby-2.6.1/include/ruby-2.6.0/ruby/backward -I/Users/samuel/.rvm/rubies/ruby-2.6.1/include/ruby-2.6.0 -I../../../../trenni -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -fno-common -pipe -O3 -std=c99 conftest.c -L. -L/Users/samuel/.rvm/rubies/ruby-2.6.1/lib -L/opt/local/lib -L. -fstack-protector-strong -L/usr/local/lib -L/opt/local/lib -lruby.2.6 "
|
4
|
-
checked program was:
|
5
|
-
/* begin */
|
6
|
-
1: #include "ruby.h"
|
7
|
-
2:
|
8
|
-
3: int main(int argc, char **argv)
|
9
|
-
4: {
|
10
|
-
5: return 0;
|
11
|
-
6: }
|
12
|
-
/* end */
|
13
|
-
|
14
|
-
" gcc -o conftest -I/Users/samuel/.rvm/rubies/ruby-2.6.1/include/ruby-2.6.0/x86_64-darwin18 -I/Users/samuel/.rvm/rubies/ruby-2.6.1/include/ruby-2.6.0/ruby/backward -I/Users/samuel/.rvm/rubies/ruby-2.6.1/include/ruby-2.6.0 -I../../../../trenni -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -fno-common -pipe -O3 -std=c99 conftest.c -L. -L/Users/samuel/.rvm/rubies/ruby-2.6.1/lib -L/opt/local/lib -L. -fstack-protector-strong -L/usr/local/lib -L/opt/local/lib -lruby.2.6 "
|
15
|
-
checked program was:
|
16
|
-
/* begin */
|
17
|
-
1: #include "ruby.h"
|
18
|
-
2:
|
19
|
-
3: /*top*/
|
20
|
-
4: extern int t(void);
|
21
|
-
5: int main(int argc, char **argv)
|
22
|
-
6: {
|
23
|
-
7: if (argc > 1000000) {
|
24
|
-
8: int (* volatile tp)(void)=(int (*)(void))&t;
|
25
|
-
9: printf("%d", (*tp)());
|
26
|
-
10: }
|
27
|
-
11:
|
28
|
-
12: return 0;
|
29
|
-
13: }
|
30
|
-
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_sym2str; return !p; }
|
31
|
-
/* end */
|
32
|
-
|
33
|
-
--------------------
|
34
|
-
|
35
|
-
have_func: checking for rb_str_cat_cstr()... -------------------- yes
|
36
|
-
|
37
|
-
" gcc -o conftest -I/Users/samuel/.rvm/rubies/ruby-2.6.1/include/ruby-2.6.0/x86_64-darwin18 -I/Users/samuel/.rvm/rubies/ruby-2.6.1/include/ruby-2.6.0/ruby/backward -I/Users/samuel/.rvm/rubies/ruby-2.6.1/include/ruby-2.6.0 -I../../../../trenni -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -fno-common -pipe -O3 -std=c99 conftest.c -L. -L/Users/samuel/.rvm/rubies/ruby-2.6.1/lib -L/opt/local/lib -L. -fstack-protector-strong -L/usr/local/lib -L/opt/local/lib -lruby.2.6 "
|
38
|
-
checked program was:
|
39
|
-
/* begin */
|
40
|
-
1: #include "ruby.h"
|
41
|
-
2:
|
42
|
-
3: /*top*/
|
43
|
-
4: extern int t(void);
|
44
|
-
5: int main(int argc, char **argv)
|
45
|
-
6: {
|
46
|
-
7: if (argc > 1000000) {
|
47
|
-
8: int (* volatile tp)(void)=(int (*)(void))&t;
|
48
|
-
9: printf("%d", (*tp)());
|
49
|
-
10: }
|
50
|
-
11:
|
51
|
-
12: return 0;
|
52
|
-
13: }
|
53
|
-
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_str_cat_cstr; return !p; }
|
54
|
-
/* end */
|
55
|
-
|
56
|
-
--------------------
|
57
|
-
|
58
|
-
have_func: checking for rb_str_reserve()... -------------------- no
|
59
|
-
|
60
|
-
" gcc -o conftest -I/Users/samuel/.rvm/rubies/ruby-2.6.1/include/ruby-2.6.0/x86_64-darwin18 -I/Users/samuel/.rvm/rubies/ruby-2.6.1/include/ruby-2.6.0/ruby/backward -I/Users/samuel/.rvm/rubies/ruby-2.6.1/include/ruby-2.6.0 -I../../../../trenni -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -fno-common -pipe -O3 -std=c99 conftest.c -L. -L/Users/samuel/.rvm/rubies/ruby-2.6.1/lib -L/opt/local/lib -L. -fstack-protector-strong -L/usr/local/lib -L/opt/local/lib -lruby.2.6 "
|
61
|
-
conftest.c:14:57: error: use of undeclared identifier 'rb_str_reserve'
|
62
|
-
int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_str_reserve; return !p; }
|
63
|
-
^
|
64
|
-
1 error generated.
|
65
|
-
checked program was:
|
66
|
-
/* begin */
|
67
|
-
1: #include "ruby.h"
|
68
|
-
2:
|
69
|
-
3: /*top*/
|
70
|
-
4: extern int t(void);
|
71
|
-
5: int main(int argc, char **argv)
|
72
|
-
6: {
|
73
|
-
7: if (argc > 1000000) {
|
74
|
-
8: int (* volatile tp)(void)=(int (*)(void))&t;
|
75
|
-
9: printf("%d", (*tp)());
|
76
|
-
10: }
|
77
|
-
11:
|
78
|
-
12: return 0;
|
79
|
-
13: }
|
80
|
-
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_str_reserve; return !p; }
|
81
|
-
/* end */
|
82
|
-
|
83
|
-
" gcc -o conftest -I/Users/samuel/.rvm/rubies/ruby-2.6.1/include/ruby-2.6.0/x86_64-darwin18 -I/Users/samuel/.rvm/rubies/ruby-2.6.1/include/ruby-2.6.0/ruby/backward -I/Users/samuel/.rvm/rubies/ruby-2.6.1/include/ruby-2.6.0 -I../../../../trenni -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -fno-common -pipe -O3 -std=c99 conftest.c -L. -L/Users/samuel/.rvm/rubies/ruby-2.6.1/lib -L/opt/local/lib -L. -fstack-protector-strong -L/usr/local/lib -L/opt/local/lib -lruby.2.6 "
|
84
|
-
Undefined symbols for architecture x86_64:
|
85
|
-
"_rb_str_reserve", referenced from:
|
86
|
-
_t in conftest-8d3e70.o
|
87
|
-
ld: symbol(s) not found for architecture x86_64
|
88
|
-
clang: error: linker command failed with exit code 1 (use -v to see invocation)
|
89
|
-
checked program was:
|
90
|
-
/* begin */
|
91
|
-
1: #include "ruby.h"
|
92
|
-
2:
|
93
|
-
3: /*top*/
|
94
|
-
4: extern int t(void);
|
95
|
-
5: int main(int argc, char **argv)
|
96
|
-
6: {
|
97
|
-
7: if (argc > 1000000) {
|
98
|
-
8: int (* volatile tp)(void)=(int (*)(void))&t;
|
99
|
-
9: printf("%d", (*tp)());
|
100
|
-
10: }
|
101
|
-
11:
|
102
|
-
12: return 0;
|
103
|
-
13: }
|
104
|
-
14: extern void rb_str_reserve();
|
105
|
-
15: int t(void) { rb_str_reserve(); return 0; }
|
106
|
-
/* end */
|
107
|
-
|
108
|
-
--------------------
|
109
|
-
|