amoskeag-rb 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5017194e4c300b6e147b029385f6d44148e9e64171c35ae9c50c78077c3928c2
4
- data.tar.gz: 1f8561b60fe2a24d0299f7d80cf359efcf824efd15280e37e3a9f4ed19b76c56
3
+ metadata.gz: 4274f130e0f670e6dea75c271b810f7e0b91c9090d891095a43bc87568975d81
4
+ data.tar.gz: 1f455f4b37be106924552350d84833d005134a4901ea09b68df57343b1982af2
5
5
  SHA512:
6
- metadata.gz: a1971d8ceef114ed79792a2fec087fbe5c452e0cf8231e9ae17c7ec3213ff3913710729c9246cadcc110c3f56f413f1af5bbd8cca907ae3d93227db85f378206
7
- data.tar.gz: c87e52d6a38367d0541e25fa541404f0e180f980c8c7c3a156f76efb5b97be9baca9134e8803da5766c167973ab92837b904b5da879a61e4e8cc6782affc0967
6
+ metadata.gz: 1e9a9b2741b041d1c4566398e7d748d6321e27b164570ef20a3abb3fd09b944912062d5be92aa047e63daf4eee3fc7823054030015e798d7a00c63448da52b4d
7
+ data.tar.gz: f9d8010c823db56f8ff86aeeb6f31efd063012f8ec4a28a9379a899ea309c8858248cf6eae376b54659b27c4bbe75082379c34729a05bdab81c92843edab8b6f
@@ -0,0 +1,432 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "aho-corasick"
7
+ version = "1.1.4"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
10
+ dependencies = [
11
+ "memchr",
12
+ ]
13
+
14
+ [[package]]
15
+ name = "amoskeag"
16
+ version = "0.1.0"
17
+ source = "git+https://github.com/durable-oss/amoskeag#0099868980265f214d6fe1048eb87a8aa7593af3"
18
+ dependencies = [
19
+ "amoskeag-lexer",
20
+ "amoskeag-parser",
21
+ "amoskeag-stdlib-functions",
22
+ "amoskeag-stdlib-operators",
23
+ "anyhow",
24
+ "thiserror",
25
+ ]
26
+
27
+ [[package]]
28
+ name = "amoskeag-lexer"
29
+ version = "0.1.0"
30
+ source = "git+https://github.com/durable-oss/amoskeag#0099868980265f214d6fe1048eb87a8aa7593af3"
31
+ dependencies = [
32
+ "thiserror",
33
+ ]
34
+
35
+ [[package]]
36
+ name = "amoskeag-parser"
37
+ version = "0.1.0"
38
+ source = "git+https://github.com/durable-oss/amoskeag#0099868980265f214d6fe1048eb87a8aa7593af3"
39
+ dependencies = [
40
+ "amoskeag-lexer",
41
+ "nom",
42
+ "thiserror",
43
+ ]
44
+
45
+ [[package]]
46
+ name = "amoskeag-stdlib-functions"
47
+ version = "0.1.0"
48
+ source = "git+https://github.com/durable-oss/amoskeag#0099868980265f214d6fe1048eb87a8aa7593af3"
49
+ dependencies = [
50
+ "amoskeag-stdlib-operators",
51
+ "inventory",
52
+ ]
53
+
54
+ [[package]]
55
+ name = "amoskeag-stdlib-operators"
56
+ version = "0.1.0"
57
+ source = "git+https://github.com/durable-oss/amoskeag#0099868980265f214d6fe1048eb87a8aa7593af3"
58
+
59
+ [[package]]
60
+ name = "amoskeag_native"
61
+ version = "0.1.0"
62
+ dependencies = [
63
+ "amoskeag",
64
+ "amoskeag-stdlib-operators",
65
+ "magnus",
66
+ "serde_json",
67
+ ]
68
+
69
+ [[package]]
70
+ name = "anyhow"
71
+ version = "1.0.100"
72
+ source = "registry+https://github.com/rust-lang/crates.io-index"
73
+ checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61"
74
+
75
+ [[package]]
76
+ name = "bindgen"
77
+ version = "0.69.5"
78
+ source = "registry+https://github.com/rust-lang/crates.io-index"
79
+ checksum = "271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088"
80
+ dependencies = [
81
+ "bitflags",
82
+ "cexpr",
83
+ "clang-sys",
84
+ "itertools",
85
+ "lazy_static",
86
+ "lazycell",
87
+ "proc-macro2",
88
+ "quote",
89
+ "regex",
90
+ "rustc-hash",
91
+ "shlex",
92
+ "syn",
93
+ ]
94
+
95
+ [[package]]
96
+ name = "bitflags"
97
+ version = "2.10.0"
98
+ source = "registry+https://github.com/rust-lang/crates.io-index"
99
+ checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
100
+
101
+ [[package]]
102
+ name = "cexpr"
103
+ version = "0.6.0"
104
+ source = "registry+https://github.com/rust-lang/crates.io-index"
105
+ checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
106
+ dependencies = [
107
+ "nom",
108
+ ]
109
+
110
+ [[package]]
111
+ name = "cfg-if"
112
+ version = "1.0.4"
113
+ source = "registry+https://github.com/rust-lang/crates.io-index"
114
+ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
115
+
116
+ [[package]]
117
+ name = "clang-sys"
118
+ version = "1.8.1"
119
+ source = "registry+https://github.com/rust-lang/crates.io-index"
120
+ checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
121
+ dependencies = [
122
+ "glob",
123
+ "libc",
124
+ "libloading",
125
+ ]
126
+
127
+ [[package]]
128
+ name = "either"
129
+ version = "1.15.0"
130
+ source = "registry+https://github.com/rust-lang/crates.io-index"
131
+ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
132
+
133
+ [[package]]
134
+ name = "glob"
135
+ version = "0.3.3"
136
+ source = "registry+https://github.com/rust-lang/crates.io-index"
137
+ checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
138
+
139
+ [[package]]
140
+ name = "inventory"
141
+ version = "0.3.21"
142
+ source = "registry+https://github.com/rust-lang/crates.io-index"
143
+ checksum = "bc61209c082fbeb19919bee74b176221b27223e27b65d781eb91af24eb1fb46e"
144
+ dependencies = [
145
+ "rustversion",
146
+ ]
147
+
148
+ [[package]]
149
+ name = "itertools"
150
+ version = "0.12.1"
151
+ source = "registry+https://github.com/rust-lang/crates.io-index"
152
+ checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
153
+ dependencies = [
154
+ "either",
155
+ ]
156
+
157
+ [[package]]
158
+ name = "itoa"
159
+ version = "1.0.15"
160
+ source = "registry+https://github.com/rust-lang/crates.io-index"
161
+ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
162
+
163
+ [[package]]
164
+ name = "lazy_static"
165
+ version = "1.5.0"
166
+ source = "registry+https://github.com/rust-lang/crates.io-index"
167
+ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
168
+
169
+ [[package]]
170
+ name = "lazycell"
171
+ version = "1.3.0"
172
+ source = "registry+https://github.com/rust-lang/crates.io-index"
173
+ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
174
+
175
+ [[package]]
176
+ name = "libc"
177
+ version = "0.2.177"
178
+ source = "registry+https://github.com/rust-lang/crates.io-index"
179
+ checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976"
180
+
181
+ [[package]]
182
+ name = "libloading"
183
+ version = "0.8.9"
184
+ source = "registry+https://github.com/rust-lang/crates.io-index"
185
+ checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
186
+ dependencies = [
187
+ "cfg-if",
188
+ "windows-link",
189
+ ]
190
+
191
+ [[package]]
192
+ name = "magnus"
193
+ version = "0.7.1"
194
+ source = "registry+https://github.com/rust-lang/crates.io-index"
195
+ checksum = "3d87ae53030f3a22e83879e666cb94e58a7bdf31706878a0ba48752994146dab"
196
+ dependencies = [
197
+ "magnus-macros",
198
+ "rb-sys",
199
+ "rb-sys-env",
200
+ "seq-macro",
201
+ ]
202
+
203
+ [[package]]
204
+ name = "magnus-macros"
205
+ version = "0.6.0"
206
+ source = "registry+https://github.com/rust-lang/crates.io-index"
207
+ checksum = "5968c820e2960565f647819f5928a42d6e874551cab9d88d75e3e0660d7f71e3"
208
+ dependencies = [
209
+ "proc-macro2",
210
+ "quote",
211
+ "syn",
212
+ ]
213
+
214
+ [[package]]
215
+ name = "memchr"
216
+ version = "2.7.6"
217
+ source = "registry+https://github.com/rust-lang/crates.io-index"
218
+ checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
219
+
220
+ [[package]]
221
+ name = "minimal-lexical"
222
+ version = "0.2.1"
223
+ source = "registry+https://github.com/rust-lang/crates.io-index"
224
+ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
225
+
226
+ [[package]]
227
+ name = "nom"
228
+ version = "7.1.3"
229
+ source = "registry+https://github.com/rust-lang/crates.io-index"
230
+ checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
231
+ dependencies = [
232
+ "memchr",
233
+ "minimal-lexical",
234
+ ]
235
+
236
+ [[package]]
237
+ name = "proc-macro2"
238
+ version = "1.0.103"
239
+ source = "registry+https://github.com/rust-lang/crates.io-index"
240
+ checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8"
241
+ dependencies = [
242
+ "unicode-ident",
243
+ ]
244
+
245
+ [[package]]
246
+ name = "quote"
247
+ version = "1.0.42"
248
+ source = "registry+https://github.com/rust-lang/crates.io-index"
249
+ checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f"
250
+ dependencies = [
251
+ "proc-macro2",
252
+ ]
253
+
254
+ [[package]]
255
+ name = "rb-sys"
256
+ version = "0.9.117"
257
+ source = "registry+https://github.com/rust-lang/crates.io-index"
258
+ checksum = "f900d1ce4629a2ebffaf5de74bd8f9c1188d4c5ed406df02f97e22f77a006f44"
259
+ dependencies = [
260
+ "rb-sys-build",
261
+ ]
262
+
263
+ [[package]]
264
+ name = "rb-sys-build"
265
+ version = "0.9.117"
266
+ source = "registry+https://github.com/rust-lang/crates.io-index"
267
+ checksum = "ef1e9c857028f631056bcd6d88cec390c751e343ce2223ddb26d23eb4a151d59"
268
+ dependencies = [
269
+ "bindgen",
270
+ "lazy_static",
271
+ "proc-macro2",
272
+ "quote",
273
+ "regex",
274
+ "shell-words",
275
+ "syn",
276
+ ]
277
+
278
+ [[package]]
279
+ name = "rb-sys-env"
280
+ version = "0.1.2"
281
+ source = "registry+https://github.com/rust-lang/crates.io-index"
282
+ checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
283
+
284
+ [[package]]
285
+ name = "regex"
286
+ version = "1.12.2"
287
+ source = "registry+https://github.com/rust-lang/crates.io-index"
288
+ checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4"
289
+ dependencies = [
290
+ "aho-corasick",
291
+ "memchr",
292
+ "regex-automata",
293
+ "regex-syntax",
294
+ ]
295
+
296
+ [[package]]
297
+ name = "regex-automata"
298
+ version = "0.4.13"
299
+ source = "registry+https://github.com/rust-lang/crates.io-index"
300
+ checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c"
301
+ dependencies = [
302
+ "aho-corasick",
303
+ "memchr",
304
+ "regex-syntax",
305
+ ]
306
+
307
+ [[package]]
308
+ name = "regex-syntax"
309
+ version = "0.8.8"
310
+ source = "registry+https://github.com/rust-lang/crates.io-index"
311
+ checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58"
312
+
313
+ [[package]]
314
+ name = "rustc-hash"
315
+ version = "1.1.0"
316
+ source = "registry+https://github.com/rust-lang/crates.io-index"
317
+ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
318
+
319
+ [[package]]
320
+ name = "rustversion"
321
+ version = "1.0.22"
322
+ source = "registry+https://github.com/rust-lang/crates.io-index"
323
+ checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
324
+
325
+ [[package]]
326
+ name = "ryu"
327
+ version = "1.0.20"
328
+ source = "registry+https://github.com/rust-lang/crates.io-index"
329
+ checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
330
+
331
+ [[package]]
332
+ name = "seq-macro"
333
+ version = "0.3.6"
334
+ source = "registry+https://github.com/rust-lang/crates.io-index"
335
+ checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
336
+
337
+ [[package]]
338
+ name = "serde"
339
+ version = "1.0.228"
340
+ source = "registry+https://github.com/rust-lang/crates.io-index"
341
+ checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
342
+ dependencies = [
343
+ "serde_core",
344
+ ]
345
+
346
+ [[package]]
347
+ name = "serde_core"
348
+ version = "1.0.228"
349
+ source = "registry+https://github.com/rust-lang/crates.io-index"
350
+ checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
351
+ dependencies = [
352
+ "serde_derive",
353
+ ]
354
+
355
+ [[package]]
356
+ name = "serde_derive"
357
+ version = "1.0.228"
358
+ source = "registry+https://github.com/rust-lang/crates.io-index"
359
+ checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
360
+ dependencies = [
361
+ "proc-macro2",
362
+ "quote",
363
+ "syn",
364
+ ]
365
+
366
+ [[package]]
367
+ name = "serde_json"
368
+ version = "1.0.145"
369
+ source = "registry+https://github.com/rust-lang/crates.io-index"
370
+ checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c"
371
+ dependencies = [
372
+ "itoa",
373
+ "memchr",
374
+ "ryu",
375
+ "serde",
376
+ "serde_core",
377
+ ]
378
+
379
+ [[package]]
380
+ name = "shell-words"
381
+ version = "1.1.0"
382
+ source = "registry+https://github.com/rust-lang/crates.io-index"
383
+ checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"
384
+
385
+ [[package]]
386
+ name = "shlex"
387
+ version = "1.3.0"
388
+ source = "registry+https://github.com/rust-lang/crates.io-index"
389
+ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
390
+
391
+ [[package]]
392
+ name = "syn"
393
+ version = "2.0.110"
394
+ source = "registry+https://github.com/rust-lang/crates.io-index"
395
+ checksum = "a99801b5bd34ede4cf3fc688c5919368fea4e4814a4664359503e6015b280aea"
396
+ dependencies = [
397
+ "proc-macro2",
398
+ "quote",
399
+ "unicode-ident",
400
+ ]
401
+
402
+ [[package]]
403
+ name = "thiserror"
404
+ version = "1.0.69"
405
+ source = "registry+https://github.com/rust-lang/crates.io-index"
406
+ checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
407
+ dependencies = [
408
+ "thiserror-impl",
409
+ ]
410
+
411
+ [[package]]
412
+ name = "thiserror-impl"
413
+ version = "1.0.69"
414
+ source = "registry+https://github.com/rust-lang/crates.io-index"
415
+ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
416
+ dependencies = [
417
+ "proc-macro2",
418
+ "quote",
419
+ "syn",
420
+ ]
421
+
422
+ [[package]]
423
+ name = "unicode-ident"
424
+ version = "1.0.22"
425
+ source = "registry+https://github.com/rust-lang/crates.io-index"
426
+ checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
427
+
428
+ [[package]]
429
+ name = "windows-link"
430
+ version = "0.2.1"
431
+ source = "registry+https://github.com/rust-lang/crates.io-index"
432
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
@@ -0,0 +1,584 @@
1
+ RB_SYS_BUILD_DIR ?= /mnt/storage/projects/durable_oss/amoskeag-rb/ext/amoskeag/.rb-sys
2
+ CARGO ?= cargo
3
+ CARGO_BUILD_TARGET ?=
4
+ SOEXT ?= so
5
+
6
+
7
+ # Determine the prefix Cargo uses for the lib.
8
+ ifneq ($(SOEXT),dll)
9
+ SOEXT_PREFIX ?= lib
10
+ endif
11
+
12
+ RB_SYS_CARGO_PROFILE ?= release
13
+ RB_SYS_CARGO_FEATURES ?=
14
+ RB_SYS_GLOBAL_RUSTFLAGS ?=
15
+ RB_SYS_EXTRA_RUSTFLAGS ?=
16
+ RB_SYS_EXTRA_CARGO_ARGS ?=
17
+ RB_SYS_CARGO_MANIFEST_DIR ?= .
18
+
19
+ # Set dirname for the profile, since the profiles do not directly map to target dir (i.e. dev -> debug)
20
+ ifeq ($(RB_SYS_CARGO_PROFILE),dev)
21
+ RB_SYS_CARGO_PROFILE_DIR ?= debug
22
+ else
23
+ RB_SYS_CARGO_PROFILE_DIR ?= $(RB_SYS_CARGO_PROFILE)
24
+ endif
25
+
26
+ # Set the build profile (dev, release, etc.).
27
+ RB_SYS_CARGO_PROFILE_FLAG = --profile $(RB_SYS_CARGO_PROFILE)
28
+
29
+ # Account for sub-directories when using `--target` argument with Cargo
30
+ RB_SYS_CARGO_TARGET_DIR ?= target
31
+ ifneq ($(CARGO_BUILD_TARGET),)
32
+ RB_SYS_FULL_TARGET_DIR = $(RB_SYS_CARGO_TARGET_DIR)/$(CARGO_BUILD_TARGET)
33
+ else
34
+ RB_SYS_FULL_TARGET_DIR = $(RB_SYS_CARGO_TARGET_DIR)
35
+ endif
36
+
37
+ target_prefix =
38
+ TARGET_NAME = amoskeag_native
39
+ TARGET_ENTRY = Init_$(TARGET_NAME)
40
+ RUBYARCHDIR = $(sitearchdir)$(target_prefix)
41
+ TARGET = amoskeag_native
42
+ DLLIB = $(TARGET).so
43
+ RUSTLIBDIR = $(RB_SYS_FULL_TARGET_DIR)/$(RB_SYS_CARGO_PROFILE_DIR)
44
+ RUSTLIB = $(RUSTLIBDIR)/$(SOEXT_PREFIX)$(TARGET_NAME).$(SOEXT)
45
+ TIMESTAMP_DIR = .
46
+ POSTLINK = :
47
+
48
+ CLEANOBJS = $(RUSTLIBDIR) $(RB_SYS_BUILD_DIR)
49
+ CLEANLIBS = $(DLLIB) $(RUSTLIB)
50
+ RUBYGEMS_CLEAN_DIRS = $(CLEANOBJS) $(CLEANFILES) ./cargo-vendor
51
+
52
+
53
+ SHELL = /bin/sh
54
+
55
+ # V=0 quiet, V=1 verbose. other values don't work.
56
+ V = 0
57
+ V0 = $(V:0=)
58
+ Q1 = $(V:1=)
59
+ Q = $(Q1:0=@)
60
+ ECHO1 = $(V:1=@ :)
61
+ ECHO = $(ECHO1:0=@ echo)
62
+ NULLCMD = :
63
+
64
+ #### Start of system configuration section. ####
65
+
66
+ srcdir = .
67
+ topdir = /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/include/ruby-3.4.0
68
+ hdrdir = $(topdir)
69
+ arch_hdrdir = /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/include/ruby-3.4.0/x86_64-linux
70
+ PATH_SEPARATOR = :
71
+ VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
72
+
73
+ prefix = $(DESTDIR)/nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7
74
+
75
+ rubysitearchprefix = $(rubylibprefix)/$(sitearch)
76
+
77
+ rubyarchprefix = $(rubylibprefix)/$(arch)
78
+
79
+ rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
80
+
81
+ exec_prefix = $(prefix)
82
+
83
+ vendorarchhdrdir = $(vendorhdrdir)/$(sitearch)
84
+
85
+ sitearchhdrdir = $(sitehdrdir)/$(sitearch)
86
+
87
+ rubyarchhdrdir = $(rubyhdrdir)/$(arch)
88
+
89
+ vendorhdrdir = $(rubyhdrdir)/vendor_ruby
90
+
91
+ sitehdrdir = $(rubyhdrdir)/site_ruby
92
+
93
+ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
94
+
95
+ vendorarchdir = $(vendorlibdir)/$(sitearch)
96
+
97
+ vendorlibdir = $(vendordir)/$(ruby_version)
98
+
99
+ vendordir = $(rubylibprefix)/vendor_ruby
100
+
101
+ sitearchdir = $(sitelibdir)/$(sitearch)
102
+
103
+ sitelibdir = $(sitedir)/$(ruby_version)
104
+
105
+ sitedir = $(rubylibprefix)/site_ruby
106
+
107
+ rubyarchdir = $(rubylibdir)/$(arch)
108
+
109
+ rubylibdir = $(rubylibprefix)/$(ruby_version)
110
+
111
+ sitearchincludedir = $(includedir)/$(sitearch)
112
+
113
+ archincludedir = $(includedir)/$(arch)
114
+
115
+ sitearchlibdir = $(libdir)/$(sitearch)
116
+
117
+ archlibdir = $(libdir)/$(arch)
118
+
119
+ ridir = $(datarootdir)/$(RI_BASE_NAME)
120
+
121
+ modular_gc_dir = $(DESTDIR)
122
+
123
+ mandir = $(datarootdir)/man
124
+
125
+ localedir = $(datarootdir)/locale
126
+
127
+ libdir = $(exec_prefix)/lib
128
+
129
+ psdir = $(docdir)
130
+
131
+ pdfdir = $(docdir)
132
+
133
+ dvidir = $(docdir)
134
+
135
+ htmldir = $(docdir)
136
+
137
+ infodir = $(datarootdir)/info
138
+
139
+ docdir = $(datarootdir)/doc/$(PACKAGE)
140
+
141
+ oldincludedir = $(DESTDIR)/usr/include
142
+
143
+ includedir = $(prefix)/include
144
+
145
+ runstatedir = $(localstatedir)/run
146
+
147
+ localstatedir = $(prefix)/var
148
+
149
+ sharedstatedir = $(prefix)/com
150
+
151
+ sysconfdir = $(prefix)/etc
152
+
153
+ datadir = $(datarootdir)
154
+
155
+ datarootdir = $(prefix)/share
156
+
157
+ libexecdir = $(exec_prefix)/libexec
158
+
159
+ sbindir = $(exec_prefix)/sbin
160
+
161
+ bindir = $(exec_prefix)/bin
162
+
163
+ archdir = $(rubyarchdir)
164
+
165
+
166
+
167
+ CC_WRAPPER =
168
+ CC = gcc
169
+ CXX = g++
170
+ LIBRUBY = $(LIBRUBY_SO)
171
+ LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
172
+ LIBRUBYARG_SHARED = -Wl,-rpath,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)
173
+ LIBRUBYARG_STATIC = -Wl,-rpath,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static $(MAINLIBS)
174
+ empty =
175
+ OUTFLAG = -o $(empty)
176
+ COUTFLAG = -o $(empty)
177
+ CSRCFLAG = $(empty)
178
+
179
+ RUBY_EXTCONF_H =
180
+ cflags = $(hardenflags) $(optflags) $(debugflags) $(warnflags)
181
+ cxxflags =
182
+ optflags = -O3 -fno-fast-math
183
+ debugflags = -ggdb3
184
+ warnflags = -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef
185
+ cppflags =
186
+ CCDLFLAGS = -fPIC
187
+ CFLAGS = $(CCDLFLAGS) $(cflags) -fPIC $(ARCH_FLAG)
188
+ INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
189
+ DEFS =
190
+ CPPFLAGS = $(DEFS) $(cppflags)
191
+ CXXFLAGS = $(CCDLFLAGS) $(ARCH_FLAG)
192
+ ldflags = -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed
193
+ dldflags = -Wl,--compress-debug-sections=zlib
194
+ ARCH_FLAG =
195
+ DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)
196
+ LDSHARED = $(CC) -shared
197
+ LDSHAREDXX = $(CXX) -shared
198
+ POSTLINK = :
199
+ AR = ar
200
+ LD = ld
201
+ EXEEXT =
202
+
203
+
204
+ RUBY_INSTALL_NAME = $(RUBY_BASE_NAME)
205
+
206
+ RUBY_SO_NAME = ruby
207
+
208
+ RUBYW_INSTALL_NAME =
209
+
210
+ RUBY_VERSION_NAME = $(RUBY_BASE_NAME)-$(ruby_version)
211
+
212
+ RUBYW_BASE_NAME = rubyw
213
+
214
+ RUBY_BASE_NAME = ruby
215
+
216
+
217
+ arch = x86_64-linux
218
+ sitearch = $(arch)
219
+ ruby_version = 3.4.0
220
+ ruby = $(bindir)/$(RUBY_BASE_NAME)
221
+ RUBY = $(ruby)
222
+ BUILTRUBY = $(bindir)/$(RUBY_BASE_NAME)
223
+ 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
224
+
225
+ RM = rm -f
226
+ RM_RF = rm -fr
227
+ RMDIRS = rmdir --ignore-fail-on-non-empty -p
228
+ MAKEDIRS = @$(RUBY) -run -e mkdir -- -p
229
+ INSTALL = @$(RUBY) -run -e install -- -vp
230
+ INSTALL_PROG = $(INSTALL) -m 0755
231
+ INSTALL_DATA = $(INSTALL) -m 644
232
+ COPY = cp
233
+ TOUCH = exit >
234
+
235
+ #### End of system configuration section. ####
236
+
237
+ preload =
238
+
239
+ CLEANFILES = mkmf.log
240
+ DISTCLEANFILES =
241
+
242
+ all static install-rb: Makefile
243
+ @$(NULLCMD)
244
+ .PHONY: all static install-rb
245
+ .PHONY: clean clean-so clean-static clean-rb
246
+
247
+
248
+
249
+ clean-static::
250
+ clean-rb-default::
251
+ clean-rb::
252
+ clean-so::
253
+ clean: clean-so clean-static clean-rb-default clean-rb
254
+ -$(Q)$(RM_RF) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES) .*.time
255
+
256
+ distclean-rb-default::
257
+ distclean-rb::
258
+ distclean-so::
259
+ distclean-static::
260
+ distclean: clean distclean-so distclean-static distclean-rb-default distclean-rb
261
+ -$(Q)$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
262
+ -$(Q)$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
263
+ -$(Q)$(RMDIRS) $(DISTCLEANDIRS) 2> /dev/null || true
264
+
265
+ realclean: distclean
266
+
267
+
268
+ .PHONY: gemclean
269
+
270
+ ifneq ($(RB_SYS_VERBOSE),)
271
+ Q = $(0=@)
272
+ endif
273
+
274
+ CC = gcc
275
+ CXX = g++
276
+ AR = ar
277
+ export RBCONFIG_DESTDIR :=
278
+ export RBCONFIG_MAJOR := 3
279
+ export RBCONFIG_MINOR := 4
280
+ export RBCONFIG_TEENY := 7
281
+ export RBCONFIG_PATCHLEVEL := 58
282
+ export RBCONFIG_EXEEXT :=
283
+ export RBCONFIG_prefix := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7
284
+ export RBCONFIG_ruby_install_name := ruby
285
+ export RBCONFIG_RUBY_INSTALL_NAME := ruby
286
+ export RBCONFIG_RUBY_SO_NAME := ruby
287
+ export RBCONFIG_exec := exec
288
+ export RBCONFIG_ruby_pc := ruby-3.4.pc
289
+ export RBCONFIG_CC_WRAPPER :=
290
+ export RBCONFIG_PACKAGE := ruby
291
+ export RBCONFIG_BUILTIN_TRANSSRCS := enc/trans/newline.c
292
+ export RBCONFIG_MKMF_VERBOSE := 0
293
+ export RBCONFIG_MANTYPE := man
294
+ export RBCONFIG_vendorarchhdrdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/include/ruby-3.4.0/vendor_ruby/x86_64-linux
295
+ export RBCONFIG_sitearchhdrdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/include/ruby-3.4.0/site_ruby/x86_64-linux
296
+ export RBCONFIG_rubyarchhdrdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/include/ruby-3.4.0/x86_64-linux
297
+ export RBCONFIG_vendorhdrdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/include/ruby-3.4.0/vendor_ruby
298
+ export RBCONFIG_sitehdrdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/include/ruby-3.4.0/site_ruby
299
+ export RBCONFIG_rubyhdrdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/include/ruby-3.4.0
300
+ export RBCONFIG_RUBY_SEARCH_PATH :=
301
+ export RBCONFIG_UNIVERSAL_INTS :=
302
+ export RBCONFIG_UNIVERSAL_ARCHNAMES :=
303
+ export RBCONFIG_configure_args := '--prefix=/nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7' '--enable-shared' '--enable-pthread' '--disable-install-doc' 'AR=ar' 'AS=as' 'CC=gcc' 'CXX=g++' 'LD=ld' 'NM=nm' 'OBJCOPY=objcopy' 'OBJDUMP=objdump' 'RANLIB=ranlib' 'STRIP=strip'
304
+ export RBCONFIG_CONFIGURE := configure
305
+ export RBCONFIG_vendorarchdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib/ruby/vendor_ruby/3.4.0/x86_64-linux
306
+ export RBCONFIG_vendorlibdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib/ruby/vendor_ruby/3.4.0
307
+ export RBCONFIG_vendordir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib/ruby/vendor_ruby
308
+ export RBCONFIG_sitearchdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib/ruby/site_ruby/3.4.0/x86_64-linux
309
+ export RBCONFIG_sitelibdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib/ruby/site_ruby/3.4.0
310
+ export RBCONFIG_sitedir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib/ruby/site_ruby
311
+ export RBCONFIG_rubyarchdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib/ruby/3.4.0/x86_64-linux
312
+ export RBCONFIG_rubylibdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib/ruby/3.4.0
313
+ export RBCONFIG_ruby_version := 3.4.0
314
+ export RBCONFIG_sitearch := x86_64-linux
315
+ export RBCONFIG_arch := x86_64-linux
316
+ export RBCONFIG_sitearchincludedir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/include/x86_64-linux
317
+ export RBCONFIG_archincludedir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/include/x86_64-linux
318
+ export RBCONFIG_sitearchlibdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib/x86_64-linux
319
+ export RBCONFIG_archlibdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib/x86_64-linux
320
+ export RBCONFIG_libdirname := libdir
321
+ export RBCONFIG_RUBY_EXEC_PREFIX := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7
322
+ export RBCONFIG_RUBY_LIB_VERSION :=
323
+ export RBCONFIG_RUBY_LIB_VERSION_STYLE := 3 /* full */
324
+ export RBCONFIG_RI_BASE_NAME := ri
325
+ export RBCONFIG_ridir := /nix/store/ifp8w9mchn13lkfaldisfkglfx71q77g-ruby-3.3.9-devdoc/share/ri
326
+ export RBCONFIG_rubysitearchprefix := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib/ruby/x86_64-linux
327
+ export RBCONFIG_rubyarchprefix := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib/ruby/x86_64-linux
328
+ export RBCONFIG_MAKEFILES := Makefile GNUmakefile
329
+ export RBCONFIG_USE_LLVM_WINDRES :=
330
+ export RBCONFIG_PLATFORM_DIR :=
331
+ export RBCONFIG_COROUTINE_TYPE := amd64
332
+ export RBCONFIG_THREAD_MODEL := pthread
333
+ export RBCONFIG_SYMBOL_PREFIX :=
334
+ export RBCONFIG_EXPORT_PREFIX :=
335
+ export RBCONFIG_COMMON_HEADERS :=
336
+ export RBCONFIG_COMMON_MACROS :=
337
+ export RBCONFIG_COMMON_LIBS :=
338
+ export RBCONFIG_MAINLIBS := -lz -lrt -lrt -ldl -lm -lpthread
339
+ export RBCONFIG_ENABLE_SHARED := yes
340
+ export RBCONFIG_DLDSHARED := gcc -shared
341
+ export RBCONFIG_DLDLIBS := -lc
342
+ export RBCONFIG_SOLIBS := -lz -lrt -lrt -ldl -lm -lpthread
343
+ export RBCONFIG_LIBRUBYARG_SHARED := -Wl,-rpath,/nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib -L/nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib -lruby
344
+ export RBCONFIG_LIBRUBYARG_STATIC := -Wl,-rpath,/nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib -L/nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib -lruby-static -lz -lrt -lrt -ldl -lm -lpthread
345
+ export RBCONFIG_LIBRUBYARG := -Wl,-rpath,/nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib -L/nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib -lruby
346
+ export RBCONFIG_LIBRUBY := libruby.so.3.4.7
347
+ export RBCONFIG_LIBRUBY_ALIASES := libruby.so.3.4 libruby.so
348
+ export RBCONFIG_LIBRUBY_SONAME := libruby.so.3.4
349
+ export RBCONFIG_LIBRUBY_SO := libruby.so.3.4.7
350
+ export RBCONFIG_LIBRUBY_A := libruby-static.a
351
+ export RBCONFIG_RUBYW_INSTALL_NAME :=
352
+ export RBCONFIG_rubyw_install_name :=
353
+ export RBCONFIG_EXTDLDFLAGS :=
354
+ export RBCONFIG_EXTLDFLAGS :=
355
+ export RBCONFIG_hardenflags := -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
356
+ export RBCONFIG_strict_warnflags :=
357
+ export RBCONFIG_warnflags := -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef
358
+ export RBCONFIG_debugflags := -ggdb3
359
+ export RBCONFIG_optflags := -O3 -fno-fast-math
360
+ export RBCONFIG_NULLCMD := :
361
+ export RBCONFIG_ENABLE_DEBUG_ENV :=
362
+ export RBCONFIG_DLNOBJ := dln.o
363
+ export RBCONFIG_RJIT_SUPPORT := yes
364
+ export RBCONFIG_YJIT_OBJ := yjit.o
365
+ export RBCONFIG_YJIT_LIBS := yjit/target/release/libyjit.a
366
+ export RBCONFIG_CARGO_BUILD_ARGS :=
367
+ export RBCONFIG_YJIT_SUPPORT := yes
368
+ export RBCONFIG_CARGO :=
369
+ export RBCONFIG_RUSTC := rustc
370
+ export RBCONFIG_INSTALL_STATIC_LIBRARY := no
371
+ export RBCONFIG_modular_gc_dir :=
372
+ export RBCONFIG_EXECUTABLE_EXTS :=
373
+ export RBCONFIG_ARCHFILE :=
374
+ export RBCONFIG_LIBRUBY_RELATIVE := no
375
+ export RBCONFIG_EXTOUT := .ext
376
+ export RBCONFIG_PREP := miniruby
377
+ export RBCONFIG_CROSS_COMPILING := no
378
+ export RBCONFIG_TEST_RUNNABLE := yes
379
+ export RBCONFIG_rubylibprefix := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib/ruby
380
+ export RBCONFIG_setup := Setup
381
+ export RBCONFIG_SOEXT := so
382
+ export RBCONFIG_TRY_LINK :=
383
+ export RBCONFIG_PRELOADENV := LD_PRELOAD
384
+ export RBCONFIG_LIBPATHENV := LD_LIBRARY_PATH
385
+ export RBCONFIG_RPATHFLAG := -Wl,-rpath,%1$-s
386
+ export RBCONFIG_LIBPATHFLAG := -L%1$-s
387
+ export RBCONFIG_LINK_SO := \n:
388
+ export RBCONFIG_ADDITIONAL_DLDFLAGS :=
389
+ export RBCONFIG_ENCSTATIC :=
390
+ export RBCONFIG_EXTSTATIC :=
391
+ export RBCONFIG_ASMEXT := S
392
+ export RBCONFIG_LIBEXT := a
393
+ export RBCONFIG_DLEXT := so
394
+ export RBCONFIG_LDSHAREDXX := g++ -shared
395
+ export RBCONFIG_LDSHARED := gcc -shared
396
+ export RBCONFIG_CCDLFLAGS := -fPIC
397
+ export RBCONFIG_STATIC :=
398
+ export RBCONFIG_ARCH_FLAG :=
399
+ export RBCONFIG_DLDFLAGS := -Wl,--compress-debug-sections=zlib
400
+ export RBCONFIG_ALLOCA :=
401
+ export RBCONFIG_dsymutil :=
402
+ export RBCONFIG_codesign :=
403
+ export RBCONFIG_cleanlibs :=
404
+ export RBCONFIG_POSTLINK := :
405
+ export RBCONFIG_incflags :=
406
+ export RBCONFIG_WERRORFLAG := -Werror
407
+ export RBCONFIG_RUBY_DEVEL :=
408
+ export RBCONFIG_CHDIR := cd -P
409
+ export RBCONFIG_RMALL := rm -fr
410
+ export RBCONFIG_RMDIRS := rmdir --ignore-fail-on-non-empty -p
411
+ export RBCONFIG_RMDIR := rmdir --ignore-fail-on-non-empty
412
+ export RBCONFIG_CP := cp
413
+ export RBCONFIG_RM := rm -f
414
+ export RBCONFIG_PKG_CONFIG :=
415
+ export RBCONFIG_DOXYGEN :=
416
+ export RBCONFIG_DOT :=
417
+ export RBCONFIG_INSTALL_DATA := $(INSTALL) -m 644
418
+ export RBCONFIG_INSTALL_SCRIPT := $(INSTALL)
419
+ export RBCONFIG_INSTALL_PROGRAM := $(INSTALL)
420
+ export RBCONFIG_SET_MAKE :=
421
+ export RBCONFIG_LN_S := ln -s
422
+ export RBCONFIG_DLLWRAP :=
423
+ export RBCONFIG_WINDRES :=
424
+ export RBCONFIG_ARFLAGS := rcD
425
+ export RBCONFIG_try_header :=
426
+ export RBCONFIG_CC_VERSION := gcc --version
427
+ export RBCONFIG_CSRCFLAG :=
428
+ export RBCONFIG_COUTFLAG := -o
429
+ export RBCONFIG_OUTFLAG := -o
430
+ export RBCONFIG_CPPOUTFILE := -o conftest.i
431
+ export RBCONFIG_GNU_LD := yes
432
+ export RBCONFIG_GCC := yes
433
+ export RBCONFIG_CPP := gcc -E
434
+ export RBCONFIG_CXXFLAGS :=
435
+ export RBCONFIG_OBJEXT := o
436
+ export RBCONFIG_CPPFLAGS :=
437
+ export RBCONFIG_LDFLAGS := -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed
438
+ export RBCONFIG_CFLAGS := -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC
439
+ export RBCONFIG_STRIP := strip -S -x
440
+ export RBCONFIG_RANLIB := ranlib
441
+ export RBCONFIG_OBJDUMP := objdump
442
+ export RBCONFIG_OBJCOPY := objcopy
443
+ export RBCONFIG_NM := nm
444
+ export RBCONFIG_LD := ld
445
+ export RBCONFIG_CXX := g++
446
+ export RBCONFIG_AS := as
447
+ export RBCONFIG_AR := ar
448
+ export RBCONFIG_CC := gcc
449
+ export RBCONFIG_wasmoptflags :=
450
+ export RBCONFIG_WASMOPT :=
451
+ export RBCONFIG_config_target := x86_64-pc-linux-gnu
452
+ export RBCONFIG_target_os := linux
453
+ export RBCONFIG_target_vendor := pc
454
+ export RBCONFIG_target_cpu := x86_64
455
+ export RBCONFIG_target := x86_64-pc-linux
456
+ export RBCONFIG_host_os := linux
457
+ export RBCONFIG_host_vendor := pc
458
+ export RBCONFIG_host_cpu := x86_64
459
+ export RBCONFIG_host := x86_64-pc-linux
460
+ export RBCONFIG_build_os := linux-gnu
461
+ export RBCONFIG_build_vendor := pc
462
+ export RBCONFIG_build_cpu := x86_64
463
+ export RBCONFIG_build := x86_64-pc-linux-gnu
464
+ export RBCONFIG_RUBY_VERSION_NAME := ruby-3.4.0
465
+ export RBCONFIG_RUBYW_BASE_NAME := rubyw
466
+ export RBCONFIG_RUBY_BASE_NAME := ruby
467
+ export RBCONFIG_RUBY_PROGRAM_VERSION := 3.4.7
468
+ export RBCONFIG_RUBY_API_VERSION := 3.4
469
+ export RBCONFIG_HAVE_GIT := no
470
+ export RBCONFIG_GIT := git
471
+ export RBCONFIG_cxxflags :=
472
+ export RBCONFIG_cppflags :=
473
+ export RBCONFIG_cflags := -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef
474
+ export RBCONFIG_target_alias :=
475
+ export RBCONFIG_host_alias :=
476
+ export RBCONFIG_build_alias :=
477
+ export RBCONFIG_LIBS := -lm -lpthread
478
+ export RBCONFIG_ECHO_T :=
479
+ export RBCONFIG_ECHO_N := -n
480
+ export RBCONFIG_ECHO_C :=
481
+ export RBCONFIG_DEFS :=
482
+ export RBCONFIG_mandir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/share/man
483
+ export RBCONFIG_localedir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/share/locale
484
+ export RBCONFIG_libdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib
485
+ export RBCONFIG_psdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/share/doc/ruby
486
+ export RBCONFIG_pdfdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/share/doc/ruby
487
+ export RBCONFIG_dvidir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/share/doc/ruby
488
+ export RBCONFIG_htmldir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/share/doc/ruby
489
+ export RBCONFIG_infodir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/share/info
490
+ export RBCONFIG_docdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/share/doc/ruby
491
+ export RBCONFIG_oldincludedir := /usr/include
492
+ export RBCONFIG_includedir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/include
493
+ export RBCONFIG_runstatedir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/var/run
494
+ export RBCONFIG_localstatedir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/var
495
+ export RBCONFIG_sharedstatedir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/com
496
+ export RBCONFIG_sysconfdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/etc
497
+ export RBCONFIG_datadir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/share
498
+ export RBCONFIG_datarootdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/share
499
+ export RBCONFIG_libexecdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/libexec
500
+ export RBCONFIG_sbindir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/sbin
501
+ export RBCONFIG_bindir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/bin
502
+ export RBCONFIG_exec_prefix := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7
503
+ export RBCONFIG_PACKAGE_URL :=
504
+ export RBCONFIG_PACKAGE_BUGREPORT :=
505
+ export RBCONFIG_PACKAGE_STRING :=
506
+ export RBCONFIG_PACKAGE_VERSION :=
507
+ export RBCONFIG_PACKAGE_TARNAME :=
508
+ export RBCONFIG_PACKAGE_NAME :=
509
+ export RBCONFIG_PATH_SEPARATOR := :
510
+ export RBCONFIG_UNICODE_VERSION := 15.0.0
511
+ export RBCONFIG_UNICODE_EMOJI_VERSION := 15.0
512
+ export RBCONFIG_platform := x86_64-linux
513
+ export RBCONFIG_archdir := /nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib/ruby/3.4.0/x86_64-linux
514
+ export RBCONFIG_topdir := .
515
+ export RBCONFIG_srcdir := .
516
+ export RUSTFLAGS := $(RB_SYS_GLOBAL_RUSTFLAGS) $(RB_SYS_EXTRA_RUSTFLAGS) $(RUSTFLAGS)
517
+
518
+ FORCE: ;
519
+
520
+ RB_SYS_FORCE_INSTALL_RUST_TOOLCHAIN ?= false
521
+
522
+ # Only run if the we are told to explicitly install the Rust toolchain
523
+ ifneq ($(RB_SYS_FORCE_INSTALL_RUST_TOOLCHAIN),false)
524
+ RB_SYS_RUSTUP_PROFILE ?= minimal
525
+
526
+ # If the user passed true, we assume stable Rust. Otherwise, use what
527
+ # was specified (i.e. RB_SYS_FORCE_INSTALL_RUST_TOOLCHAIN=beta)
528
+ ifeq ($(RB_SYS_FORCE_INSTALL_RUST_TOOLCHAIN),true)
529
+ RB_SYS_FORCE_INSTALL_RUST_TOOLCHAIN = stable
530
+ endif
531
+
532
+ # If a $RUST_TARGET is specified (i.e. for rake-compiler-dock), append
533
+ # that to the profile.
534
+ ifeq ($(RUST_TARGET),)
535
+ RB_SYS_DEFAULT_TOOLCHAIN = $(RB_SYS_FORCE_INSTALL_RUST_TOOLCHAIN)
536
+ else
537
+ RB_SYS_DEFAULT_TOOLCHAIN = $(RB_SYS_FORCE_INSTALL_RUST_TOOLCHAIN)-$(RUST_TARGET)
538
+ endif
539
+
540
+ # Since we are forcing the installation of the Rust toolchain, we need
541
+ # to set these env vars unconditionally for the build.
542
+ export CARGO_HOME := $(RB_SYS_BUILD_DIR)/$(RB_SYS_DEFAULT_TOOLCHAIN)/cargo
543
+ export RUSTUP_HOME := $(RB_SYS_BUILD_DIR)/$(RB_SYS_DEFAULT_TOOLCHAIN)/rustup
544
+ export PATH := $(CARGO_HOME)/bin:$(RUSTUP_HOME)/bin:$(PATH)
545
+ export RUSTUP_TOOLCHAIN := $(RB_SYS_DEFAULT_TOOLCHAIN)
546
+ export CARGO := $(CARGO_HOME)/bin/cargo
547
+
548
+
549
+ $(CARGO):
550
+ $(Q) $(MAKEDIRS) $(CARGO_HOME) $(RUSTUP_HOME)
551
+ $(Q) curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --no-modify-path --profile $(RB_SYS_RUSTUP_PROFILE) --default-toolchain none -y
552
+ $(Q) $(CARGO_HOME)/bin/rustup toolchain install $(RB_SYS_DEFAULT_TOOLCHAIN) --profile $(RB_SYS_RUSTUP_PROFILE) || (sleep 5; $(Q) $(CARGO_HOME)/bin/rustup toolchain install $(RB_SYS_DEFAULT_TOOLCHAIN) --profile $(RB_SYS_RUSTUP_PROFILE)) || (sleep 5; $(Q) $(CARGO_HOME)/bin/rustup toolchain install $(RB_SYS_DEFAULT_TOOLCHAIN) --profile $(RB_SYS_RUSTUP_PROFILE))
553
+ $(Q) $(CARGO_HOME)/bin/rustup default $(RB_SYS_DEFAULT_TOOLCHAIN) || (sleep 5; $(Q) $(CARGO_HOME)/bin/rustup default $(RB_SYS_DEFAULT_TOOLCHAIN)) || (sleep 5; $(Q) $(CARGO_HOME)/bin/rustup default $(RB_SYS_DEFAULT_TOOLCHAIN))
554
+
555
+
556
+ $(RUSTLIB): $(CARGO)
557
+ endif
558
+
559
+
560
+ $(TIMESTAMP_DIR)/.sitearchdir.time:
561
+ $(Q) $(MAKEDIRS) $(@D) $(RUBYARCHDIR)
562
+ $(Q) $(TOUCH) $@
563
+
564
+ $(RUSTLIB): FORCE
565
+ $(ECHO) generating $(@) \("$(RB_SYS_CARGO_PROFILE)"\)
566
+ $(CARGO) rustc $(RB_SYS_EXTRA_CARGO_ARGS) --manifest-path $(RB_SYS_CARGO_MANIFEST_DIR)/Cargo.toml --target-dir $(RB_SYS_CARGO_TARGET_DIR) --lib $(RB_SYS_CARGO_PROFILE_FLAG) -- -C linker=gcc -L native=/nix/store/hv07mmxxn317sm2qy7gcj2552zdy3shd-ruby-3.4.7/lib -C link-arg=-lm -l pthread
567
+
568
+ $(DLLIB): $(RUSTLIB)
569
+ $(Q) $(COPY) "$(RUSTLIB)" $@
570
+ $(Q) $(POSTLINK)
571
+
572
+ install-so: $(DLLIB) $(TIMESTAMP_DIR)/.sitearchdir.time
573
+ $(ECHO) installing $(DLLIB) to $(RUBYARCHDIR)
574
+
575
+ $(Q) $(MAKEDIRS) $(RUBYARCHDIR)
576
+ $(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
577
+
578
+ gemclean:
579
+ $(ECHO) Cleaning gem artifacts
580
+ -$(Q)$(RM_RF) $(RUBYGEMS_CLEAN_DIRS) 2> /dev/null || true
581
+
582
+ install: install-so
583
+
584
+ all: $(DLLIB)
Binary file
@@ -0,0 +1,16 @@
1
+ find_executable: checking for gcc... -------------------- yes
2
+
3
+ --------------------
4
+
5
+ find_executable: checking for g++... -------------------- yes
6
+
7
+ --------------------
8
+
9
+ find_executable: checking for ar... -------------------- yes
10
+
11
+ --------------------
12
+
13
+ find_executable: checking for install_name_tool... -------------------- no
14
+
15
+ --------------------
16
+
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Amoskeag
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  AMOSKEAG_VERSION = "0.1.1e"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amoskeag-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Durable Programming
@@ -112,8 +112,12 @@ extra_rdoc_files: []
112
112
  files:
113
113
  - CHANGELOG.md
114
114
  - README.md
115
+ - ext/amoskeag/Cargo.lock
115
116
  - ext/amoskeag/Cargo.toml
117
+ - ext/amoskeag/Makefile
118
+ - ext/amoskeag/amoskeag_native.so
116
119
  - ext/amoskeag/extconf.rb
120
+ - ext/amoskeag/mkmf.log
117
121
  - ext/amoskeag/src/lib.rs
118
122
  - lib/amoskeag-rb.rb
119
123
  - lib/amoskeag-rb/version.rb