forked from mirage/mirage-tcpip
-
Notifications
You must be signed in to change notification settings - Fork 0
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 mirage#40 from avsm/master
v0.9.5, remove socket backend
- Loading branch information
Showing
107 changed files
with
101 additions
and
1,226 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# OPAM packages needed to build tests. | ||
OPAM_PACKAGES="mirage-net-unix mirage-clock-unix" | ||
|
||
case "$OCAML_VERSION,$OPAM_VERSION" in | ||
3.12.1,1.0.0) ppa=avsm/ocaml312+opam10 ;; | ||
3.12.1,1.1.0) ppa=avsm/ocaml312+opam11 ;; | ||
4.00.1,1.0.0) ppa=avsm/ocaml40+opam10 ;; | ||
4.00.1,1.1.0) ppa=avsm/ocaml40+opam11 ;; | ||
4.01.0,1.0.0) ppa=avsm/ocaml41+opam10 ;; | ||
4.01.0,1.1.0) ppa=avsm/ocaml41+opam11 ;; | ||
*) echo Unknown $OCAML_VERSION,$OPAM_VERSION; exit 1 ;; | ||
esac | ||
|
||
echo "yes" | sudo add-apt-repository ppa:$ppa | ||
sudo apt-get update -qq | ||
sudo apt-get install -qq ocaml ocaml-native-compilers camlp4-extra opam | ||
export OPAMYES=1 | ||
export OPAMVERBOSE=1 | ||
echo OCaml version | ||
ocaml -version | ||
echo OPAM versions | ||
opam --version | ||
opam --git-version | ||
|
||
opam init | ||
opam install ${OPAM_PACKAGES} | ||
|
||
eval `opam config env` | ||
make |
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,6 @@ | ||
language: c | ||
script: bash -ex .travis-ci.sh | ||
env: | ||
- OCAML_VERSION=4.01.0 OPAM_VERSION=1.1.0 | ||
- OCAML_VERSION=4.00.1 OPAM_VERSION=1.1.0 | ||
- OCAML_VERSION=3.12.1 OPAM_VERSION=1.1.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,23 @@ | ||
NET ?= socket | ||
.PHONY: all _config build install doc clean | ||
|
||
ifneq "$(MIRAGE_NET)" "" | ||
NET := $(MIRAGE_NET) | ||
endif | ||
PREFIX ?= /usr/local | ||
INSTALLDIR := $(DESTDIR)$(PREFIX) | ||
INCLUDE := $(INSTALLDIR)/include/mirage | ||
XEN_INCLUDE := $(INCLUDE)/xen | ||
|
||
.PHONY: all clean install test | ||
.DEFAULT: all | ||
all: build | ||
|
||
_config: | ||
./cmd configure | ||
|
||
build: _config | ||
./cmd build | ||
|
||
all: | ||
cd $(NET) && $(MAKE) all | ||
build: | ||
cd $(NET) && $(MAKE) all | ||
clean: | ||
cd $(NET) && $(MAKE) clean | ||
install: | ||
cd $(NET) && $(MAKE) install | ||
test: | ||
cd $(NET) && $(MAKE) test | ||
./cmd install | ||
|
||
socket-%: | ||
$(MAKE) NET=socket $* | ||
doc: _config | ||
./cmd doc | ||
|
||
direct-%: | ||
$(MAKE) NET=direct $* | ||
clean: | ||
./cmd clean |
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,5 @@ | ||
NAME=mirage-tcpip-direct-unix | ||
VERSION=0.9.5 | ||
DEPS="mirage-clock-unix mirage-unix mirage-net-unix ipaddr cstruct" | ||
SYNTAX_DEPS="cstruct.syntax lwt.syntax" | ||
LIB="net" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
File renamed without changes.
Oops, something went wrong.