-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdist.ini
More file actions
85 lines (70 loc) · 2.22 KB
/
Copy pathdist.ini
File metadata and controls
85 lines (70 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name = Wasm
author = Graham Ollis <plicease@cpan.org>
license = Perl_5
copyright_holder = Graham Ollis
copyright_year = 2020-2026
version = 0.24
; authordep Test::Memory::Cycle
[@Author::Plicease]
:version = 2.79
release_tests = 1
installer = Author::Plicease::MakeMaker
github_user = perlwasm
test2_v0 = 1
irc = irc://irc.perl.org/#native
default_branch = main
workflow = static
workflow = linux
workflow = windows
workflow = macos
diag_preamble = | $post_diag = sub {
diag_preamble = | diag "WASM_WASMTIME_FFI = @{[ $ENV{WASM_WASMTIME_FFI} // '(unset)' ]}";
diag_preamble = | eval {
diag_preamble = | require Wasm::Wasmtime::FFI;
diag_preamble = | diag "Wasm::Wasmtime::FFI->_lib = $_" for Wasm::Wasmtime::FFI->_lib;
diag_preamble = | };
diag_preamble = | diag "error requiring Wasm::Wasmtime::FFI: $@" if $@;
diag_preamble = | };
[Author::Plicease::Core]
[Prereqs / ConfigurePrereqs]
-phase = configure
FFI::CheckLib = 0.26
[Prereqs / TestPrereqs]
-phase = develop
Carp::Assert = 0
PeekPoke::FFI = 0
FFI::CheckLib = 0.26
[Prereqs]
FFI::Platypus::Type::PtrObject = 0.02
; Require Alien::wasmtime (which bundles wasmtime 48.x) unless a usable system
; libwasmtime is found. The probe symbols assert the wasmtime features this
; distribution needs -- WAT parsing, module compilation, WASI, and the modern
; store/context instance API -- which rules out feature-reduced ("min") builds.
[DynamicPrereqs / AlienWasmtime]
-condition = do { use FFI::CheckLib 0.26; !find_lib lib => 'wasmtime', symbol => ['wasmtime_wat2wasm', 'wasmtime_module_new', 'wasmtime_linker_define_wasi', 'wasmtime_instance_export_nth'] }
-body = requires('Alien::wasmtime', '0.18')
[Author::Plicease::Upload]
cpan = 1
[InsertExample]
remove_boiler = 1
[PruneFiles]
filename = xt/author/pod_spelling_common.t
match = \.wasm$
match = ^jit
[RemovePrereqs]
remove = Alien::wasmtime
remove = Test::Alien::Diag
remove = Math
remove = Module1
remove = Module2
remove = Module3
remove = Foo::Bar::X1
remove = Foo::Bar::X2
remove = Foo::Bar::X3
remove = Foo::Bar::X4
remove = Foo::Bar::X5
remove = Foo::Bar::Baz::Math
remove = Foo::Bar::Baz::Math2
[MetaNoIndex]
directory = corpus
directory = examples