-
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 #10 from frenetic-lang/current-frenetic
Compile against current Frenetic master
- Loading branch information
Showing
27 changed files
with
8,487 additions
and
129 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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
open Async_NetKAT | ||
|
||
open Pathetic.Regex | ||
module G = Net.Topology | ||
|
||
let s1 = Switch 1L | ||
|
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,13 @@ | ||
# OASIS_START | ||
# DO NOT EDIT (digest: 647c7e2a7e19e2573b545647c74ae335) | ||
version = "0.2" | ||
description = "Fault Tolerating Regular Expressions" | ||
requires = | ||
"async base64 camlp4.lib camlp4.extend camlp4 core cstruct frenetic pathetic ppx_jane ppx_deriving.eq ppx_deriving.enum str tcpip threads oUnit" | ||
archive(byte) = "fattire.cma" | ||
archive(byte, plugin) = "fattire.cma" | ||
archive(native) = "fattire.cmxa" | ||
archive(native, plugin) = "fattire.cmxs" | ||
exists_if = "fattire.cma" | ||
# OASIS_STOP | ||
|
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,43 +1,35 @@ | ||
# LIBRARIES = OpenFlowLib | ||
all: build | ||
|
||
SUFFIXES = .a .cmxa .cma .d.cma | ||
J=4 | ||
|
||
.PHONY: all doc clean $(LIBRARIES) | ||
setup.ml: _oasis | ||
oasis setup | ||
|
||
OCAMLBUILD = ocamlbuild -use-ocamlfind $(addprefix -I ,$(LIBRARIES)) | ||
setup.data: setup.ml | ||
./configure | ||
|
||
OCAMLFIND = ocamlfind | ||
build: setup.data setup.ml | ||
ocaml setup.ml -build -j $(J) | ||
|
||
%.d.byte: | ||
$(OCAMLBUILD) -cflag -ppopt -cflag -lwt-debug $@ | ||
install: setup.data setup.ml | ||
ocaml setup.ml -install | ||
|
||
%.native %.byte: | ||
$(OCAMLBUILD) $@ | ||
reinstall: setup.ml | ||
ocaml setup.ml -reinstall | ||
|
||
%.d.cma: | ||
$(OCAMLBUILD) -no-links -cflag -ppopt -cflag -lwt-debug $@ | ||
uninstall: setup.ml | ||
ocaml setup.ml -uninstall | ||
|
||
%.a %.cmxa %.cma: | ||
$(OCAMLBUILD) -no-links $@ | ||
test: setup.ml build | ||
ocaml setup.ml -test $(TESTFLAGS) | ||
|
||
# $(LIBRARIES): | ||
# $(foreach SUFFIX, $(SUFFIXES), \ | ||
# $(OCAMLBUILD) $(addsuffix $(SUFFIX),$@/$@);) | ||
|
||
all: $(LIBRARIES) | ||
$(OCAMLBUILD) main.otarget | ||
|
||
debug: | ||
$(OCAMLBUILD) debug.otarget | ||
clean: | ||
ocamlbuild -clean | ||
rm -f setup.data setup.log | ||
|
||
native: | ||
$(OCAMLBUILD) native.otarget | ||
distclean: | ||
ocaml setup.ml -distclean | ||
rm -f setup.data setup.log | ||
|
||
doc: | ||
$(OCAMLBUILD) doc.docdir/index.html | ||
|
||
test: | ||
$(OCAMLBUILD) test.otarget | ||
|
||
clean: | ||
rm -rf _build | ||
ocaml setup.ml -doc |
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 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,12 @@ | ||
# OASIS_START | ||
# DO NOT EDIT (digest: dd6dc931d7b8279975c466b43b62d2a0) | ||
version = "0.2" | ||
description = "Fault Tolerating Regular Expressions" | ||
requires = "core frenetic ppx_jane threads" | ||
archive(byte) = "pathetic.cma" | ||
archive(byte, plugin) = "pathetic.cma" | ||
archive(native) = "pathetic.cmxa" | ||
archive(native, plugin) = "pathetic.cmxs" | ||
exists_if = "pathetic.cma" | ||
# OASIS_STOP | ||
|
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
Oops, something went wrong.