-
Notifications
You must be signed in to change notification settings - Fork 1
/
install-src.sh
executable file
·58 lines (51 loc) · 1.7 KB
/
install-src.sh
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
#!/bin/sh
targetdir=$1
shift
echo -- ---------------------
echo Arguments:
echo " Target directory = $targetdir"
echo -- ---------------------
install -d "$targetdir"
install -v dkml-compiler-src.META "$targetdir/META"
install -d "$targetdir/src"
install -v \
src/r-c-ocaml-1-setup.sh \
src/r-c-ocaml-2-build_host.sh \
src/r-c-ocaml-3-build_cross.sh \
src/r-c-ocaml-9-trim.sh \
src/r-c-ocaml-README.md \
src/r-c-ocaml-check_linker.sh \
src/r-c-ocaml-functions.sh \
src/r-c-ocaml-get_sak.make \
src/version.ocaml.txt \
src/version.semver.txt \
"$targetdir/src"
install -d "$targetdir/src/f"
install -v \
src/f/setjmp.asm \
"$targetdir/src/f"
install -d "$targetdir/src/p"
install -v \
src/p/flexdll-cross-0_99-a01-arm64.patch \
src/p/ocaml-common-4_12-a01-alignfiletime.patch \
src/p/ocaml-common-4_14-a01-alignfiletime.patch \
src/p/ocaml-common-4_14-a02-nattop.patch \
src/p/ocaml-common-4_14-a03-keepasm.patch \
src/p/ocaml-common-4_14-a04-xdg.patch \
src/p/ocaml-common-4_14-a05-msvccflags.patch \
src/p/ocaml-common-4_14-a06-linearclosures.patch \
src/p/ocaml-common-4_14_0-a01-fmatest.patch \
src/p/ocaml-cross-4_12-a01.patch \
src/p/ocaml-cross-4_12-a02-arm32.patch \
src/p/ocaml-cross-4_12unused-zzz-win32arm.patch \
src/p/ocaml-cross-4_13-a01.patch \
src/p/ocaml-cross-4_14-a01.patch \
src/p/ocaml-cross-4_14_0-a02-arm32.patch \
src/p/ocaml-cross-4_14_2-a02-arm32.patch \
src/p/ocaml-cross-5_00_a02-arm32.patch \
"$targetdir/src/p"
install -d "$targetdir/env"
install -v \
env/android-ndk-env-to-ocaml-configure-env.sh \
env/standard-compiler-env-to-ocaml-configure-env.sh \
"$targetdir/env"