Permalink
Browse files

Towards complete bootsraping

  • Loading branch information...
1 parent 84a7b88 commit de07b13aeea36f4ddceae504afb1f8a810bc7691 @samoht samoht committed Mar 29, 2012
Showing with 189 additions and 196 deletions.
  1. +0 −3 BUGS
  2. +3 −3 Makefile
  3. +173 −0 depends.ocp.boot
  4. +11 −188 ocp-get.ocp
  5. +2 −2 src/ocp_get.ml
View
3 BUGS
@@ -1,6 +1,3 @@
-* 'ocp-get init' remove the config file without warning if there is already one present
- (it should ask the user if he really wants to do that)
-
* .install and .config files should be installed in a specific path (and not let in
build dir). That's because the build dir is supposed to be a tempory location to
build packages
View
@@ -6,11 +6,11 @@ else
WGET ?= wget
endif
-TARGET = ocp-get ocp-get-server
+TARGET = ocp-get ocp-get-server
.PHONY: all
-all: ./_obuild/unixrun compile clone link
+all: ./_obuild/unixrun compile #clone link
@
scan: ./_obuild/unixrun
@@ -43,7 +43,7 @@ ocp-get-server: _obuild/ocp-get-server/ocp-get-server.asm
ocp-get: _obuild/ocp-get/ocp-get.asm
ln -s $^ ocp-get
-compile: ./_obuild/unixrun clone
+compile: ./_obuild/unixrun #clone
$(OCPBUILD) -init -scan -sanitize $(TARGET)
clone: cudf extlib ocaml-re ocamlgraph dose ocaml-arg
View
@@ -0,0 +1,173 @@
+
+begin library "extlib"
+ sort = true
+ files = [
+ "extlib/unzip.ml"
+ "extlib/uTF8.ml"
+ "extlib/uChar.ml"
+ "extlib/std.ml"
+ "extlib/refList.ml"
+ "extlib/pMap.ml"
+ "extlib/option.ml"
+ "extlib/optParse.ml"
+ "extlib/install.ml"
+ "extlib/IO.ml"
+ "extlib/global.ml"
+ "extlib/extString.ml"
+ "extlib/extList.ml"
+ "extlib/extLib.ml"
+ "extlib/extHashtbl.ml"
+ "extlib/extArray.ml"
+ "extlib/enum.ml"
+ "extlib/dynArray.ml"
+ "extlib/dllist.ml"
+ "extlib/bitSet.ml"
+ "extlib/base64.ml"
+ ]
+end
+
+begin library "re"
+ sort = true
+ files = [
+ "lib/pcre.ml"
+ "ocaml-re/lib/re_str.ml"
+ "ocaml-re/lib/re_posix.ml"
+ "ocaml-re/lib/re_perl.ml"
+ "ocaml-re/lib/re_glob.ml"
+ "ocaml-re/lib/re_emacs.ml"
+ "ocaml-re/lib/re.ml"
+ "ocaml-re/lib/cset.ml"
+ "ocaml-re/lib/automata.ml"
+ ]
+end
+
+begin library "arg"
+ files = [
+ "ocaml-arg/src/subCommand.ml"
+ "ocaml-arg/src/formatExt.ml"
+ "ocaml-arg/src/argExt.ml"
+ ]
+
+end
+
+begin library "cudf"
+ sort = true
+ files = [
+ "cudf/main_cudf_parse_822.ml"
+ "cudf/main_cudf_check.ml"
+ "cudf/cudf_types_pp.ml"
+ "cudf/cudf_types.ml"
+ "cudf/cudf_type_parser.mly"
+ "cudf/cudf_type_lexer.mll"
+ "cudf/cudf_printer.ml"
+ "cudf/cudf_parser.ml"
+ "cudf/cudf_conf.ml"
+ "cudf/cudf_checker.ml"
+ "cudf/cudf_c.ml"
+ "cudf/cudf_822_parser.mly"
+ "cudf/cudf_822_lexer.mll"
+ "cudf/cudf.ml"
+ ]
+ requires = [
+ "extlib"
+ ]
+end
+
+begin library "graph"
+ sort = true
+ files = [
+ "ocamlgraph/lib/bitv.ml"
+ "ocamlgraph/lib/unionfind.ml"
+ "ocamlgraph/lib/heap.ml"
+ pack Graph [
+ "ocamlgraph/src/version.ml"
+ "ocamlgraph/src/util.ml"
+ "ocamlgraph/src/traverse.ml"
+ "ocamlgraph/src/topological.ml"
+ "ocamlgraph/src/strat.ml"
+ "ocamlgraph/src/sig_pack.mli"
+ "ocamlgraph/src/sig.mli"
+ "ocamlgraph/src/rand.ml"
+ "ocamlgraph/src/persistent.ml" (nodeps = [ "Graph" ])
+ "ocamlgraph/src/path.ml"
+ "ocamlgraph/src/pack.ml"
+ "ocamlgraph/src/oper.ml"
+ "ocamlgraph/src/minsep.ml"
+ "ocamlgraph/src/md.ml"
+ "ocamlgraph/src/mcs_m.ml"
+ "ocamlgraph/src/kruskal.ml"
+ "ocamlgraph/src/imperative.ml" (nodeps = [ "Graph" ])
+ "ocamlgraph/src/graphviz.ml"
+ "ocamlgraph/src/gml.mll"
+ "ocamlgraph/src/gmap.ml"
+ "ocamlgraph/src/flow.ml"
+ "ocamlgraph/src/fixpoint.ml"
+ "ocamlgraph/src/dot_parser.mly"
+ "ocamlgraph/src/dot_lexer.mll"
+ "ocamlgraph/src/dot_ast.mli"
+ "ocamlgraph/src/dot.ml"
+ "ocamlgraph/src/delaunay.ml"
+ "ocamlgraph/src/components.ml"
+ "ocamlgraph/src/coloring.ml"
+ "ocamlgraph/src/cliquetree.ml"
+ "ocamlgraph/src/classic.ml"
+ "ocamlgraph/src/builder.ml"
+ "ocamlgraph/src/blocks.ml"
+ ]]
+end
+
+begin library "dose"
+ sort = true
+ pp = "camlp4o Camlp4MacroParser.cmo"
+ files = [
+ pack Common [
+ "dose/common/util.ml"
+ "dose/common/url.ml"
+ "dose/common/input.ml"
+ "dose/common/cudfDiff.ml"
+ "dose/common/cudfAdd.ml"
+ "dose/common/edosSolver.ml"
+(* "dose/common/minisatSolver.ml" *)
+ ]
+
+ pack Debian [
+ "dose/deb/format822_parser.mly"
+ "dose/deb/format822_lexer.mll"
+ "dose/deb/format822.ml"
+ "dose/deb/debcudf.ml"
+ "dose/deb/packages_parser.mly"
+ "dose/deb/packages_lexer.mll"
+ "dose/deb/packages.ml"
+ "dose/deb/version.ml"
+ "dose/deb/sources.ml"
+ "dose/deb/release.ml"
+ "dose/deb/evolution.ml"
+ "dose/deb/edsp.ml"
+ "dose/deb/debutil.ml"
+ "dose/deb/architecture.ml"
+ "dose/deb/apt.ml"
+ ]
+
+ pack Algo [
+ "dose/algo/strongdeps_int.ml"
+ "dose/algo/strongdeps.ml"
+ "dose/algo/strongconflicts_int.ml"
+ "dose/algo/strongconflicts.ml"
+ "dose/algo/statistics.ml"
+ "dose/algo/flatten.ml"
+ "dose/algo/dominators.ml"
+ "dose/algo/diagnostic_int.ml"
+ "dose/algo/diagnostic.ml"
+ "dose/algo/depsolver_int.ml"
+ "dose/algo/depsolver.ml"
+ "dose/algo/defaultgraphs.ml"
+ ]]
+
+ requires = [
+ "re"
+ "extlib"
+ "cudf"
+ "graph"
+ ]
+
+end
Oops, something went wrong.

0 comments on commit de07b13

Please sign in to comment.