Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 191 lines (159 sloc) 3.465 kb
de07b13 @samoht Towards complete bootsraping
samoht authored
1 (* Uncomment to use with TypeRex *)
91c7f47 @samoht Revert part of the last commit to fix build
samoht authored
2 (*
de07b13 @samoht Towards complete bootsraping
samoht authored
3 ocamlc = [ "ocp-ocamlc.opt" ]
4 ocamlopt = [ "ocp-ocamlopt.opt" ]
91c7f47 @samoht Revert part of the last commit to fix build
samoht authored
5 *)
de07b13 @samoht Towards complete bootsraping
samoht authored
6
c980b5e @samoht [build] warning are errors for OPAM sources
samoht authored
7 begin
88b0ff1 @samoht [build] compile everything with -g
samoht authored
8 comp += [ "-g" "-annot" "-warn-error" "A" ]
9 link += [ "-g" ]
c980b5e @samoht [build] warning are errors for OPAM sources
samoht authored
10
ac99a15 @samoht More WIP ...
samoht authored
11 begin library "opam-lib"
c09ca7d @samoht Move sources files to src/
samoht authored
12 dirname = [ "src" ]
e951116 @samoht Fix ocp-get init
samoht authored
13 files = [
b582d5e @samoht Bits of refactoring
samoht authored
14 "globals.ml"
ac99a15 @samoht More WIP ...
samoht authored
15 "utils.ml"
88b0ff1 @samoht [build] compile everything with -g
samoht authored
16 "process.ml"
45abc3d @samoht It is possible to have a list of possible servers (mixing git repo an…
samoht authored
17 "run.ml"
ba39c27 @samoht More WIP.
samoht authored
18 "parallel.ml"
19 "types.ml"
1bcaf57 @samoht New format for user provided files
samoht authored
20 "file_format.ml"
21 "lexer.mll"
1efd27d @samoht More WIP
samoht authored
22 "linelexer.mll"
1bcaf57 @samoht New format for user provided files
samoht authored
23 "parser.mly"
e357916 @samoht Fix ocp.ml into chunks
samoht authored
24 "file.ml"
b9a3063 @tuong fix the computation of $oversion/reinstall
tuong authored
25 "path.ml"
ac99a15 @samoht More WIP ...
samoht authored
26 "repositories.ml"
e357916 @samoht Fix ocp.ml into chunks
samoht authored
27 ]
28
750fc50 @samoht Add a first build skeleton
samoht authored
29 requires = [
30 "cudf"
31 "dose"
32 "unix"
de07b13 @samoht Towards complete bootsraping
samoht authored
33 "arg"
34 "graph"
b19514e @samoht [build] only use re_perl (instead of full re) and do not depend any m…
samoht authored
35 "re_perl"
750fc50 @samoht Add a first build skeleton
samoht authored
36 ]
5de848e Fixed ocp-get.ocp
Fabrice Le Fessant authored
37 end
e357916 @samoht Fix ocp.ml into chunks
samoht authored
38
ac99a15 @samoht More WIP ...
samoht authored
39 begin program "opam"
c09ca7d @samoht Move sources files to src/
samoht authored
40 dirname = [ "src" ]
2c9a85c @samoht More file spliting.
samoht authored
41 files = [
42 "solver.ml"
43 "client.ml"
ac99a15 @samoht More WIP ...
samoht authored
44 "opam.ml"
2c9a85c @samoht More file spliting.
samoht authored
45 ]
ac99a15 @samoht More WIP ...
samoht authored
46 requires = [ "opam-lib" ]
4dc9186 @samoht Add a basic server implementation
samoht authored
47 end
d72de1d @samoht More cleanups
samoht authored
48
49 (* Repository Scripts *)
50
bc5a548 @samoht [git] Add git repository pluggins
samoht authored
51 (* RSYNC *)
d72de1d @samoht More cleanups
samoht authored
52 begin program "opam-rsync-init"
53 files = [ "src/repo/rsync/init.ml" ]
54 requires = [ "opam-lib" ]
55 end
56
57 begin program "opam-rsync-update"
58 files = [ "src/repo/rsync/update.ml" ]
59 requires = [ "opam-lib" ]
c9ac582 @samoht Add missing opam.ocp update
samoht authored
60 end
61
62 begin program "opam-rsync-download"
63 files = [ "src/repo/rsync/download.ml" ]
64 requires = [ "opam-lib" ]
65 end
66
67 begin program "opam-rsync-upload"
68 files = [ "src/repo/rsync/upload.ml" ]
69 requires = [ "opam-lib" ]
70 end
71
b097165 @samoht [curl] Add a new repository backend, based on curl/wget, as rsync-ing…
samoht authored
72 (* CURL *)
73 begin program "opam-curl-init"
0542833 @samoht Speed-up (but a very big factor) the init process
samoht authored
74 files = [
75 "src/repo/curl/misc.ml"
76 "src/repo/curl/init.ml"
77 ]
b097165 @samoht [curl] Add a new repository backend, based on curl/wget, as rsync-ing…
samoht authored
78 requires = [ "opam-lib" ]
79 end
80
81 begin program "opam-curl-update"
82 files = [
83 "src/repo/curl/misc.ml"
84 "src/repo/curl/update.ml"
85 ]
86 requires = [ "opam-lib" ]
87 end
88
89 begin program "opam-curl-download"
90 files = [
91 "src/repo/curl/misc.ml"
92 "src/repo/curl/download.ml"
93 ]
94 requires = [ "opam-lib" ]
95 end
96
97 begin program "opam-curl-upload"
98 files = [ "src/repo/curl/upload.ml" ]
99 requires = [ "opam-lib" ]
100 end
101
bc5a548 @samoht [git] Add git repository pluggins
samoht authored
102
103 (* GIT *)
104 begin program "opam-git-init"
105 files = [ "src/repo/git/init.ml" ]
106 requires = [ "opam-lib" ]
107 end
108
109 begin program "opam-git-update"
110 files = [ "src/repo/git/update.ml" ]
111 requires = [ "opam-lib" ]
112 end
113
114 begin program "opam-git-download"
115 files = [ "src/repo/git/download.ml" ]
116 requires = [ "opam-lib" ]
117 end
118
119 begin program "opam-git-upload"
120 files = [ "src/repo/git/upload.ml" ]
121 requires = [ "opam-lib" ]
122 end
123
c882255 @samoht [opam server] start implementing the OPAM server repository pluggin.
samoht authored
124
125 (* SERVER *)
126 begin library "opam-server-lib"
127 files = [
128 "src/repo/server/protocol.ml"
129 "src/repo/server/key.ml"
130 "src/repo/server/client.ml"
131 ]
132 requires = [ "opam-lib" ]
133 end
134
135 begin program "opam-server"
bcd969d @samoht Fix build
samoht authored
136 files = [
137 "src/repo/server/daemon.ml"
138 "src/repo/server/server.ml"
139 ]
140 comp += [ "-thread" ]
141 link += [ "-thread" ]
142 requires = [
143 "opam-server-lib"
144 "threads"
145 ]
c882255 @samoht [opam server] start implementing the OPAM server repository pluggin.
samoht authored
146 end
147
148 begin program "opam-server-init"
149 files = [ "src/repo/server/init.ml" ]
150 requires = [ "opam-server-lib" ]
151 end
152
153 begin program "opam-server-update"
154 files = [ "src/repo/server/update.ml" ]
155 requires = [ "opam-server-lib" ]
156 end
157
158 begin program "opam-server-download"
159 files = [ "src/repo/server/download.ml" ]
160 requires = [ "opam-server-lib" ]
161 end
162
163 begin program "opam-server-upload"
164 files = [ "src/repo/server/upload.ml" ]
165 requires = [ "opam-server-lib" ]
166 end
c980b5e @samoht [build] warning are errors for OPAM sources
samoht authored
167
7e5fe8a @samoht Add helper scripts to build .config.in and .install
samoht authored
168 (* Helpers *)
169
170 begin program "opam-mk-config"
9fd1a52 @samoht [scripts] add a small script to initialize rsync and server repositories
samoht authored
171 files = [ "src/scripts/opam_mk_config.ml" ]
7e5fe8a @samoht Add helper scripts to build .config.in and .install
samoht authored
172 requires = [ "opam-lib" ]
173 end
174
175 begin program "opam-mk-install"
9fd1a52 @samoht [scripts] add a small script to initialize rsync and server repositories
samoht authored
176 files = [ "src/scripts/opam_mk_install.ml" ]
177 requires = [ "opam-lib" ]
178 end
179
180 begin program "opam-mk-repo"
181 files = [ "src/scripts/opam_mk_repo.ml" ]
7e5fe8a @samoht Add helper scripts to build .config.in and .install
samoht authored
182 requires = [ "opam-lib" ]
88b0ff1 @samoht [build] compile everything with -g
samoht authored
183 end
184
ccf5fe4 @samoht [tests] explicitely verify that the installed versions are really the…
samoht authored
185 begin program "opam-check"
186 files = [ "src/scripts/opam_check.ml" ]
187 requires = [ "opam-lib" ]
188 end
189
88b0ff1 @samoht [build] compile everything with -g
samoht authored
190 end
Something went wrong with that request. Please try again.