-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1529 from OCamlPro/fixed-heuristic-rt
Adds opam-rt+heuristic to travis, and fix it
- Loading branch information
Showing
10 changed files
with
79 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
language: c | ||
script: bash -ex .travis-ci.sh | ||
env: | ||
- OCAML_VERSION=4.01.0 OPAM_TEST=1 | ||
- OCAML_VERSION=4.01.0 OPAM_TEST=1 EXTERNAL_SOLVER= | ||
- OCAML_VERSION=4.01.0 OPAM_TEST=1 EXTERNAL_SOLVER=aspcud | ||
- OCAML_VERSION=4.01.0 OPAM_TEST=0 | ||
- OCAML_VERSION=4.00.1 OPAM_TEST=0 | ||
- OCAML_VERSION=3.12.1 OPAM_TEST=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
src_ext/patches/dose/0003-Removed-hard-failure-cases-in-favor-of-finer-diagnos.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From b93f8b64c86ded96b31b49b983beabfd8d7280f2 Mon Sep 17 00:00:00 2001 | ||
From: Louis Gesbert <louis.gesbert@ocamlpro.com> | ||
Date: Fri, 18 Jul 2014 15:50:24 +0200 | ||
Subject: [PATCH] Removed hard failure cases, in favor of finer diagnostics | ||
|
||
--- | ||
algo/depsolver.ml | 5 ----- | ||
1 file changed, 5 deletions(-) | ||
|
||
diff --git a/algo/depsolver.ml b/algo/depsolver.ml | ||
index f93fb86..a812ede 100644 | ||
--- a/algo/depsolver.ml | ||
+++ b/algo/depsolver.ml | ||
@@ -37,11 +37,6 @@ let reason map universe = | ||
let globalid = Cudf.universe_size universe in | ||
List.filter_map (function | ||
|Diagnostic_int.Dependency(i,vl,il) when i = globalid -> None | ||
- |Diagnostic_int.Missing(i,vl) when i = globalid -> | ||
- fatal "the package encoding global constraints can't be missing" | ||
- |Diagnostic_int.Conflict(i,j,vpkg) when i = globalid || j = globalid -> | ||
- fatal "the package encoding global constraints can't be in conflict" | ||
- | ||
|Diagnostic_int.Dependency(i,vl,il) -> Some ( | ||
Diagnostic.Dependency(from_sat (map#inttovar i),vl,List.map (fun i -> from_sat (map#inttovar i)) il) | ||
) | ||
-- | ||
2.0.1 | ||
|