Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 69 lines (53 sloc) 1.781 kB
e3f22f2 @Whiteknight add a setup.pir, adapted from the version for parrot-linear-algebra b…
authored
1 #!/usr/bin/env parrot
2 # Copyright (C) 2009, Parrot Foundation.
3
4 =head1 NAME
5
6 setup.pir - Python distutils style
7
8 =head1 DESCRIPTION
9
10 No Configure step, no Makefile generated.
11
12 See F<runtime/library/distutils.pir>.
13
14 =head1 USAGE
15
16 $ parrot setup.pir build
17 $ parrot setup.pir test
18 $ sudo parrot setup.pir install
19
20 =cut
21
22 .sub 'main' :main
23 .param pmc args
24 $S0 = shift args
25 load_bytecode 'distutils.pbc'
26
27 .local pmc config
28 config = new 'Hash'
29 config['name'] = 'parrot-data-structures'
30 config['abstract'] = 'Data structures library for the Parrot VM'
31 config['authority'] = 'http://github.com/Whiteknight'
32 config['description'] = 'Data structures library for the Parrot VM'
33 $P1 = split ';', 'stack;queue;array'
34 config['keywords'] = $P1
35 config['license_type'] = 'Artistic License 2.0'
36 config['license_uri'] = 'http://www.perlfoundation.org/artistic_license_2_0'
37 config['copyright_holder'] = 'Andrew Whitworth'
38 config['checkout_uri'] = 'git://github.com/Whiteknight/parrot-data-structures.git'
39 config['browser_uri'] = 'http://github.com/Whiteknight/parrot-data-structures'
40 config['project_uri'] = 'http://github.com/Whiteknight/parrot-data-structures'
41
42 # build
43 $P2 = new 'Hash'
44 $P3 = split "\n", <<'SOURCES'
45 src/pmc/resizablepmcstack.pmc
4861ec0 @Whiteknight Add benchmarks for new RPS2 type. This type uses a geometrically-grow…
authored
46 src/pmc/resizablepmcstack2.pmc
e3f22f2 @Whiteknight add a setup.pir, adapted from the version for parrot-linear-algebra b…
authored
47 src/pmc/fixedpmcstack.pmc
48 src/pmc/resizablepmcqueue.pmc
49 src/pmc/fixedpmcqueue.pmc
54e716d @Whiteknight add some stuff I should have added last commit
authored
50 src/pmc/fixedpmcqueue2.pmc
51 src/pmc/fixedpmcqueue3.pmc
e3f22f2 @Whiteknight add a setup.pir, adapted from the version for parrot-linear-algebra b…
authored
52 SOURCES
53 $S0 = pop $P3
54 $P2['pds_group'] = $P3
55 config['dynpmc'] = $P2
56
d880d2f @Whiteknight Add a skeleton of a test setup, adapted from PLA
authored
57
58 $S0 = get_nqp()
59 config['harness_exec'] = $S0
60
e3f22f2 @Whiteknight add a setup.pir, adapted from the version for parrot-linear-algebra b…
authored
61 .tailcall setup(args :flat, config :flat :named)
62 .end
63
64 # Local Variables:
65 # mode: pir
66 # fill-column: 100
67 # End:
68 # vim: expandtab shiftwidth=4 ft=pir:
Something went wrong with that request. Please try again.