~lattis/muon

ref: f9a8cbad39b665a9496cd3adb4756e85ee5ec97c muon/bootstrap.sh -rwxr-xr-x 1.9 KiB
f9a8cbadStone Tickle print stdout/stderr of failing test 2 months ago
                                                                                
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
#!/bin/sh

# requirements:
# - cc
# - pkgconf
# - libpkgconf

set -eu

dir="$1"
mkdir -p "$dir"

cat \
	src/args.c \
	src/coerce.c \
	src/compilers.c \
	src/data/bucket_array.c \
	src/data/darr.c \
	src/data/hash.c \
	src/error.c \
	src/external/curl_null.c \
	src/external/libpkgconf.c \
	src/external/samu_null.c \
	src/external/zlib_null.c \
	src/formats/ini.c \
	src/formats/tar.c \
	src/functions/array.c \
	src/functions/boolean.c \
	src/functions/build_target.c \
	src/functions/common.c \
	src/functions/compiler.c \
	src/functions/configuration_data.c \
	src/functions/custom_target.c \
	src/functions/default.c \
	src/functions/default/configure_file.c \
	src/functions/default/custom_target.c \
	src/functions/default/dependency.c \
	src/functions/default/options.c \
	src/functions/default/setup.c \
	src/functions/dependency.c \
	src/functions/dict.c \
	src/functions/external_library.c \
	src/functions/external_program.c \
	src/functions/feature_opt.c \
	src/functions/file.c \
	src/functions/machine.c \
	src/functions/meson.c \
	src/functions/modules.c \
	src/functions/modules/fs.c \
	src/functions/modules/pkgconfig.c \
	src/functions/modules/python.c \
	src/functions/number.c \
	src/functions/run_result.c \
	src/functions/string.c \
	src/functions/subproject.c \
	src/install.c \
	src/lang/eval.c \
	src/lang/interpreter.c \
	src/lang/lexer.c \
	src/lang/object.c \
	src/lang/parser.c \
	src/lang/serial.c \
	src/lang/workspace.c \
	src/log.c \
	src/machine_file.c \
	src/main.c \
	src/opts.c \
	src/output/output.c \
	src/platform/dirs.c \
	src/platform/filesystem.c \
	src/platform/mem.c \
	src/platform/path.c \
	src/platform/run_cmd.c \
	src/sha_256.c \
	src/tests.c \
	src/version.c.in \
	src/wrap.c \
	> "$dir/muon.c"

${CC:-cc} ${CFLAGS:-} -g -Iinclude $(pkgconf --cflags libpkgconf) -o "$dir/muon.o" -c "$dir/muon.c"

${CC:-cc} ${LDFLAGS:-} "$dir/muon.o" $(pkgconf --libs libpkgconf) -o "$dir/muon"