Fixed bug in the Glossary Haskell source (don't close stdout!).
authorMothy <troscoe@inf.ethz.ch>
Mon, 8 Aug 2011 12:49:08 +0000 (14:49 +0200)
committerMothy <troscoe@inf.ethz.ch>
Mon, 8 Aug 2011 12:49:08 +0000 (14:49 +0200)
Added missing dependencies in Flounder interfaces in the distributed memory sever.
Fixed some make rehake bugs in symbolic_targets.mk.

doc/001-glossary/Main.hs
hake/hake.sh
hake/symbolic_targets.mk
usr/mem_serv_dist/Hakefile

index 0eca340..87dbd90 100644 (file)
@@ -398,5 +398,4 @@ expand_aliases el =
 main :: IO ()
 main = do
   hPutStrLn stdout $ format_glossary glossary
-  hClose stdout
   exitWith ExitSuccess
index f0db93b..c56f4c5 100755 (executable)
@@ -139,7 +139,7 @@ if [ "$RUN_HAKE" == "No" ] ; then
 fi
 
 echo "Running hake..."
-./hake/hake --output-filename Makefile || exit
+./hake/hake --output-filename Makefile --source-dir "$SRCDIR" || exit
 cat <<EOF
 
 OK - Hake has bootstrapped.  You should now have a Makefile in this
index 974fa11..343bd7d 100644 (file)
@@ -384,7 +384,7 @@ TAGS: cscope.files
 
 # force rebuild of the Makefile
 rehake: ./hake/hake
-       ./hake/hake Makefile
+       ./hake/hake --source-dir $(SRCDIR)
 .PHONY: rehake
 
 clean::
@@ -409,6 +409,7 @@ DOCS= \
        ./docs/TN-009-Notifications.pdf \
        ./docs/TN-010-Spec.pdf \
        ./docs/TN-011-IDC.pdf \
+       ./docs/TN-012-Services.pdf \
        ./docs/TN-013-CapabilityManagement.pdf \
 
 docs doc: $(DOCS)
index 459da2d..0bcacf0 100644 (file)
 -- no stealing
   build application { target = "mem_serv_dist_ns",
                       cFiles = [ "mem_serv.c", "no_steal.c", "hybrid_support.c", "skb.c", "args.c", "memtest_trace.c" ],
-                      flounderDefs = [ "monitor", "mem" ],
-                      flounderExtraBindings = [ ("mem", ["rpcclient"]) ],
+                      flounderDefs = [ "monitor", "monitor_blocking", "mem", "spawn" ],
+                      flounderExtraBindings = [ ("mem", ["rpcclient"]), 
+                                                ("spawn", ["rpcclient"]),
+                                                ("monitor_blocking", ["rpcclient"])],
                       addLibraries = [ "mm", "trace", "skb", "dist" ]
                     },
 -- hybrid thc
   build application { target = "mem_serv_dist",
                      cFiles = [ "mem_serv.c", "steal.c", "hybrid_support.c", "skb.c", "args.c", "memtest_trace.c" ],
-                      flounderDefs = [ "monitor", "mem" ],
+                      flounderDefs = [ "monitor", "monitor_blocking", "mem", "spawn" ],
                       flounderTHCStubs = [ "mem" ],
-                      flounderExtraBindings = [ ("mem", ["rpcclient"]) ],
+                      flounderExtraBindings = [ ("mem", ["rpcclient"]),
+                                                ("spawn", ["rpcclient"]), 
+                                                ("monitor_blocking", ["rpcclient"])],
                       addLibraries = [ "mm", "trace", "skb", "dist", "thc" ],
                      architectures = [ "x86_64", "x86_32", "scc", "beehive" ]
                     },
 -- fully thc
   build application { target = "mem_serv_dist_thc",
                      cFiles = [ "mem_serv.c", "steal.c", "thc_support.c", "skb.c", "args.c", "memtest_trace.c" ],
-                      flounderDefs = [ "monitor", "mem" ],
+                      flounderDefs = [ "monitor", "monitor_blocking", "mem", "spawn" ],
                       flounderTHCStubs = [ "mem" ],
-                      flounderExtraBindings = [ ("mem", ["rpcclient"]) ],
+                      flounderExtraBindings = [ ("mem", ["rpcclient"]),
+                                                ("spawn", ["rpcclient"]),
+                                                ("monitor_blocking", ["rpcclient"])],
                       addLibraries = [ "mm", "trace", "skb", "dist", "thc" ],
                       architectures = [ "x86_64", "x86_32", "scc", "beehive" ]
                     },