-
Notifications
You must be signed in to change notification settings - Fork 407
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 #569 from ocaml/fix-568
- Loading branch information
Showing
18 changed files
with
133 additions
and
36 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
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
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
(jbuild_version 1) | ||
|
||
|
||
(library | ||
((name lib1) | ||
(public_name lib1) | ||
(modules (Lib1)))) | ||
|
||
(alias | ||
((name runtest) | ||
(package lib1) | ||
(deps (test1.exe)) | ||
(action (run ${<})))) | ||
|
||
(executable | ||
((name test1) | ||
(modules (Test1)) | ||
(libraries (lib1)))) | ||
|
||
|
||
(library | ||
((name lib2) | ||
(public_name lib2) | ||
(modules (Lib2)))) | ||
|
||
(alias | ||
((name runtest) | ||
(package lib2) | ||
(deps (test2.exe)) | ||
(action (run ${<})))) | ||
|
||
(executable | ||
((name test2) | ||
(modules (Test2)) | ||
(libraries (lib2)))) |
Empty file.
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,4 @@ | ||
opam-version: "1.2" | ||
name: "lib1" | ||
build: [["jbuilder" "build" "-p" name "-j" jobs]] | ||
build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]] |
Empty file.
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,4 @@ | ||
opam-version: "1.2" | ||
name: "lib2" | ||
build: [["jbuilder" "build" "-p" name "-j" jobs]] | ||
build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]] |
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,10 @@ | ||
$ $JBUILDER runtest --display short -j1 -p lib1 --debug-dependency-path | ||
ocamldep test1.ml.d | ||
ocamldep lib1.ml.d | ||
ocamlc .lib1.objs/lib1.{cmi,cmo,cmt} | ||
ocamlc .test1.eobjs/test1.{cmi,cmo,cmt} | ||
ocamlopt .lib1.objs/lib1.{cmx,o} | ||
ocamlopt .test1.eobjs/test1.{cmx,o} | ||
ocamlopt lib1.{a,cmxa} | ||
ocamlopt test1.exe | ||
test1 alias runtest |
Empty file.
Empty file.