-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use virtual_modules
in Dune 1.7
#59
Closed
Closed
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
# JBUILDER_GEN | ||
|
||
# DUNE_GEN | ||
xen_linkopts = "-lio_page_xen_stubs" | ||
|
This file was deleted.
Oops, something went wrong.
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,2 +1,4 @@ | ||
(lang dune 1.0) | ||
(lang dune 1.11) | ||
(name io-page) | ||
(using library_variants 0.1) | ||
(implicit_transitive_deps false) |
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,25 @@ | ||
opam-version: "2.0" | ||
maintainer: "anil@recoil.org" | ||
authors: ["Anil Madhavapeddy" "Dave Scott" "Thomas Gazagnaire"] | ||
license: "ISC" | ||
tags: "org:mirage" | ||
homepage: "https://github.com/mirage/io-page" | ||
bug-reports: "https://github.com/mirage/io-page/issues" | ||
doc: "https://mirage.github.io/io-page/" | ||
depends: [ | ||
"ocaml" {>= "4.02.3"} | ||
"dune" {>="1.7"} | ||
"io-page" {=version} | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
["dune" "build" "-p" name "-j" jobs] | ||
] | ||
dev-repo: "git+https://github.com/mirage/io-page.git" | ||
synopsis: "Support for efficient handling of I/O memory pages" | ||
description: """ | ||
IO pages are page-aligned, and wrapped in the `Cstruct` library to avoid | ||
copying the data contained within the page. This is the JavaScript | ||
implementation. | ||
""" | ||
|
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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,7 @@ | ||
(library | ||
(name io_page) | ||
(public_name io-page) | ||
(virtual_modules io_page) | ||
(wrapped false) | ||
(default_implementation unix) | ||
(libraries cstruct bigarray-compat)) |
File renamed without changes.
Empty file.
This file was deleted.
Oops, something went wrong.
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,9 @@ | ||
(copy_files ../impl/io_page.ml) | ||
|
||
(library | ||
(name io_page_js) | ||
(public_name io-page-js) | ||
(libraries bigarray-compat cstruct) | ||
(implements io-page) | ||
(js_of_ocaml (javascript_files io-page.js)) | ||
(variant js)) |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 @@ | ||
(copy_files ../*.c) | ||
(copy_files ../impl/io_page.ml) | ||
|
||
(library | ||
(name io_page_unix) | ||
(public_name io-page-unix) | ||
(implements io-page) | ||
(libraries bigarray-compat cstruct) | ||
(c_names stub_alloc_pages stub_get_addr) | ||
(variant unix)) |
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,16 @@ | ||
(copy_files ../*.c) | ||
(copy_files ../impl/io_page.ml) | ||
|
||
(library | ||
(name io_page_xen) | ||
(public_name io-page-xen) | ||
(implements io-page) | ||
(libraries bigarray-compat cstruct) | ||
(c_names stub_alloc_pages stub_get_addr) | ||
(c_flags (:include c_flags_xen.sexp)) | ||
(variant xen)) | ||
|
||
(rule | ||
(targets c_flags_xen.sexp) | ||
(deps ../config/discover.exe) | ||
(action (run %{deps}))) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome!