You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2016/02/09 18:11:23 UTC

[06/12] lucy-clownfish git commit: Add Python-specific details to charmonizer.

Add Python-specific details to charmonizer.


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/1f30f3e7
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/1f30f3e7
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/1f30f3e7

Branch: refs/heads/master
Commit: 1f30f3e7ef58c4ad84452be7d6da59d1f35b5304
Parents: d4f52d9
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Tue Dec 16 09:54:46 2014 -0800
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Sat Feb 6 09:58:13 2016 -0800

----------------------------------------------------------------------
 runtime/common/charmonizer.main | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/1f30f3e7/runtime/common/charmonizer.main
----------------------------------------------------------------------
diff --git a/runtime/common/charmonizer.main b/runtime/common/charmonizer.main
index dd919c6..7ddf0d7 100644
--- a/runtime/common/charmonizer.main
+++ b/runtime/common/charmonizer.main
@@ -288,7 +288,16 @@ cfish_MakeFile_new(chaz_CLI *cli) {
         self->host_src_dir = "ext";
         self->autogen_src_files = go_autogen_src_files;
     }
-    else if (strcmp(chaz_CLI_strval(cli, "host"), "perl") == 0) {
+    else if (chaz_CLI_defined(cli, "enable-python")) {
+        static const char *python_autogen_src_files[] = {
+            "cfish_parcel",
+            "testcfish_parcel",
+            NULL
+        };
+        self->host_src_dir = "cfext";
+        self->autogen_src_files = python_autogen_src_files;
+    }
+    else if (chaz_CLI_defined(cli, "enable-perl")) {
         static const char *perl_autogen_src_files[] = {
             "boot",
             "callbacks",