You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2013/12/14 14:48:44 UTC
[lucy-commits] [1/6] git commit: refs/heads/master - Remove unneeded include dir
from Clownfish Perl build
Updated Branches:
refs/heads/master 545e3bbbe -> d804f3871
Remove unneeded include dir from Clownfish Perl build
There are no C headers in clownfish/runtime/core.
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/0253cbb9
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/0253cbb9
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/0253cbb9
Branch: refs/heads/master
Commit: 0253cbb97946c28e6c66d8587b3102470d05a9ee
Parents: 545e3bb
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Sat Dec 14 14:33:46 2013 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Sat Dec 14 14:33:46 2013 +0100
----------------------------------------------------------------------
clownfish/runtime/perl/Build.PL | 1 -
1 file changed, 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucy/blob/0253cbb9/clownfish/runtime/perl/Build.PL
----------------------------------------------------------------------
diff --git a/clownfish/runtime/perl/Build.PL b/clownfish/runtime/perl/Build.PL
index 96661ce..c449d2a 100644
--- a/clownfish/runtime/perl/Build.PL
+++ b/clownfish/runtime/perl/Build.PL
@@ -48,7 +48,6 @@ my $builder = Clownfish::Build->new(
},
},
include_dirs => [
- $CORE_SOURCE_DIR,
$XS_SOURCE_DIR,
],
clownfish_params => {
[lucy-commits] [3/6] git commit: refs/heads/master - Remove unneeded include dir
from Clownfish C build
Posted by nw...@apache.org.
Remove unneeded include dir from Clownfish C build
There are no C headers in clownfish/runtime/core.
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/4b910870
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/4b910870
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/4b910870
Branch: refs/heads/master
Commit: 4b91087064d5ef42331f214649586a02f9b30b03
Parents: 0253cbb
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Sat Dec 14 14:45:56 2013 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Sat Dec 14 14:46:46 2013 +0100
----------------------------------------------------------------------
clownfish/runtime/common/charmonizer.main | 1 -
1 file changed, 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucy/blob/4b910870/clownfish/runtime/common/charmonizer.main
----------------------------------------------------------------------
diff --git a/clownfish/runtime/common/charmonizer.main b/clownfish/runtime/common/charmonizer.main
index 08190d9..72ccee1 100644
--- a/clownfish/runtime/common/charmonizer.main
+++ b/clownfish/runtime/common/charmonizer.main
@@ -198,7 +198,6 @@ S_write_makefile(struct chaz_CLIArgs *args) {
}
chaz_CFlags_add_include_dir(makefile_cflags, ".");
- chaz_CFlags_add_include_dir(makefile_cflags, core_dir);
chaz_CFlags_add_include_dir(makefile_cflags, autogen_inc_dir);
var = chaz_MakeFile_add_var(makefile, "CFLAGS", NULL);
[lucy-commits] [5/6] git commit: refs/heads/master - Add debugging information to
Lucy C build
Posted by nw...@apache.org.
Add debugging information to Lucy C build
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/ddbd9293
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/ddbd9293
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/ddbd9293
Branch: refs/heads/master
Commit: ddbd9293d08a774869bc9a3aa610da45e5033237
Parents: f30da87
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Sat Dec 14 14:38:41 2013 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Sat Dec 14 14:46:47 2013 +0100
----------------------------------------------------------------------
common/charmonizer.main | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucy/blob/ddbd9293/common/charmonizer.main
----------------------------------------------------------------------
diff --git a/common/charmonizer.main b/common/charmonizer.main
index 05172db..78aac94 100644
--- a/common/charmonizer.main
+++ b/common/charmonizer.main
@@ -215,6 +215,7 @@ S_write_makefile(struct chaz_CLIArgs *args) {
makefile_cflags = chaz_CC_new_cflags();
chaz_CFlags_enable_optimization(makefile_cflags);
+ chaz_CFlags_enable_debugging(makefile_cflags);
chaz_CFlags_disable_strict_aliasing(makefile_cflags);
chaz_CFlags_compile_shared_library(makefile_cflags);
chaz_CFlags_hide_symbols(makefile_cflags);
@@ -328,6 +329,7 @@ S_write_makefile(struct chaz_CLIArgs *args) {
free(scratch);
link_flags = chaz_CC_new_cflags();
+ chaz_CFlags_enable_debugging(link_flags);
chaz_CFlags_add_library_path(link_flags, cfr_dir);
if (math_lib) {
chaz_CFlags_add_external_library(link_flags, math_lib);
[lucy-commits] [4/6] git commit: refs/heads/master - Add debugging information to
Clownfish C build
Posted by nw...@apache.org.
Add debugging information to Clownfish C build
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/f30da874
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/f30da874
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/f30da874
Branch: refs/heads/master
Commit: f30da874d2c6456c806240392a7e1a66bf6020e3
Parents: f783f28
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Sat Dec 14 14:37:25 2013 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Sat Dec 14 14:46:47 2013 +0100
----------------------------------------------------------------------
clownfish/runtime/common/charmonizer.main | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucy/blob/f30da874/clownfish/runtime/common/charmonizer.main
----------------------------------------------------------------------
diff --git a/clownfish/runtime/common/charmonizer.main b/clownfish/runtime/common/charmonizer.main
index 72ccee1..5db08b1 100644
--- a/clownfish/runtime/common/charmonizer.main
+++ b/clownfish/runtime/common/charmonizer.main
@@ -190,6 +190,7 @@ S_write_makefile(struct chaz_CLIArgs *args) {
makefile_cflags = chaz_CC_new_cflags();
chaz_CFlags_enable_optimization(makefile_cflags);
+ chaz_CFlags_enable_debugging(makefile_cflags);
chaz_CFlags_disable_strict_aliasing(makefile_cflags);
chaz_CFlags_compile_shared_library(makefile_cflags);
chaz_CFlags_hide_symbols(makefile_cflags);
@@ -263,6 +264,7 @@ S_write_makefile(struct chaz_CLIArgs *args) {
chaz_MakeFile_add_rule(makefile, "$(CLOWNFISH_OBJS)", "autogen");
link_flags = chaz_CC_new_cflags();
+ chaz_CFlags_enable_debugging(link_flags);
if (math_library) {
chaz_CFlags_add_external_library(link_flags, math_library);
}
[lucy-commits] [2/6] git commit: refs/heads/master - Add debugging option to
Charmonizer CFlags
Posted by nw...@apache.org.
Add debugging option to Charmonizer CFlags
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/f783f285
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/f783f285
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/f783f285
Branch: refs/heads/master
Commit: f783f28577c473bbee3021339521e5539b0b46e7
Parents: 4b91087
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Sat Dec 14 14:34:42 2013 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Sat Dec 14 14:46:46 2013 +0100
----------------------------------------------------------------------
charmonizer/src/Charmonizer/Core/CFlags.c | 7 +++++++
1 file changed, 7 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucy/blob/f783f285/charmonizer/src/Charmonizer/Core/CFlags.c
----------------------------------------------------------------------
diff --git a/charmonizer/src/Charmonizer/Core/CFlags.c b/charmonizer/src/Charmonizer/Core/CFlags.c
index 5b4e15d..f526a7d 100644
--- a/charmonizer/src/Charmonizer/Core/CFlags.c
+++ b/charmonizer/src/Charmonizer/Core/CFlags.c
@@ -153,6 +153,13 @@ chaz_CFlags_enable_optimization(chaz_CFlags *flags) {
}
void
+chaz_CFlags_enable_debugging(chaz_CFlags *flags) {
+ if (flags->style == CHAZ_CFLAGS_STYLE_GNU) {
+ chaz_CFlags_append(flags, "-g");
+ }
+}
+
+void
chaz_CFlags_disable_strict_aliasing(chaz_CFlags *flags) {
if (flags->style == CHAZ_CFLAGS_STYLE_MSVC) {
return;
[lucy-commits] [6/6] git commit: refs/heads/master - Regenerate charmonizer.c
Posted by nw...@apache.org.
Regenerate charmonizer.c
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/d804f387
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/d804f387
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/d804f387
Branch: refs/heads/master
Commit: d804f38715fca1f164baf5df94985e2fdaf5a8fb
Parents: ddbd929
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Sat Dec 14 14:39:00 2013 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Sat Dec 14 14:47:41 2013 +0100
----------------------------------------------------------------------
clownfish/compiler/common/charmonizer.c | 7 +++++++
clownfish/runtime/common/charmonizer.c | 10 +++++++++-
common/charmonizer.c | 9 +++++++++
3 files changed, 25 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucy/blob/d804f387/clownfish/compiler/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/clownfish/compiler/common/charmonizer.c b/clownfish/compiler/common/charmonizer.c
index a1c2a19..5f1d319 100644
--- a/clownfish/compiler/common/charmonizer.c
+++ b/clownfish/compiler/common/charmonizer.c
@@ -1778,6 +1778,13 @@ chaz_CFlags_enable_optimization(chaz_CFlags *flags) {
}
void
+chaz_CFlags_enable_debugging(chaz_CFlags *flags) {
+ if (flags->style == CHAZ_CFLAGS_STYLE_GNU) {
+ chaz_CFlags_append(flags, "-g");
+ }
+}
+
+void
chaz_CFlags_disable_strict_aliasing(chaz_CFlags *flags) {
if (flags->style == CHAZ_CFLAGS_STYLE_MSVC) {
return;
http://git-wip-us.apache.org/repos/asf/lucy/blob/d804f387/clownfish/runtime/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/common/charmonizer.c b/clownfish/runtime/common/charmonizer.c
index 3ab6f63..c104da2 100644
--- a/clownfish/runtime/common/charmonizer.c
+++ b/clownfish/runtime/common/charmonizer.c
@@ -1778,6 +1778,13 @@ chaz_CFlags_enable_optimization(chaz_CFlags *flags) {
}
void
+chaz_CFlags_enable_debugging(chaz_CFlags *flags) {
+ if (flags->style == CHAZ_CFLAGS_STYLE_GNU) {
+ chaz_CFlags_append(flags, "-g");
+ }
+}
+
+void
chaz_CFlags_disable_strict_aliasing(chaz_CFlags *flags) {
if (flags->style == CHAZ_CFLAGS_STYLE_MSVC) {
return;
@@ -6938,6 +6945,7 @@ S_write_makefile(struct chaz_CLIArgs *args) {
makefile_cflags = chaz_CC_new_cflags();
chaz_CFlags_enable_optimization(makefile_cflags);
+ chaz_CFlags_enable_debugging(makefile_cflags);
chaz_CFlags_disable_strict_aliasing(makefile_cflags);
chaz_CFlags_compile_shared_library(makefile_cflags);
chaz_CFlags_hide_symbols(makefile_cflags);
@@ -6946,7 +6954,6 @@ S_write_makefile(struct chaz_CLIArgs *args) {
}
chaz_CFlags_add_include_dir(makefile_cflags, ".");
- chaz_CFlags_add_include_dir(makefile_cflags, core_dir);
chaz_CFlags_add_include_dir(makefile_cflags, autogen_inc_dir);
var = chaz_MakeFile_add_var(makefile, "CFLAGS", NULL);
@@ -7012,6 +7019,7 @@ S_write_makefile(struct chaz_CLIArgs *args) {
chaz_MakeFile_add_rule(makefile, "$(CLOWNFISH_OBJS)", "autogen");
link_flags = chaz_CC_new_cflags();
+ chaz_CFlags_enable_debugging(link_flags);
if (math_library) {
chaz_CFlags_add_external_library(link_flags, math_library);
}
http://git-wip-us.apache.org/repos/asf/lucy/blob/d804f387/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/common/charmonizer.c b/common/charmonizer.c
index 0fc1466..ccd166e 100644
--- a/common/charmonizer.c
+++ b/common/charmonizer.c
@@ -1778,6 +1778,13 @@ chaz_CFlags_enable_optimization(chaz_CFlags *flags) {
}
void
+chaz_CFlags_enable_debugging(chaz_CFlags *flags) {
+ if (flags->style == CHAZ_CFLAGS_STYLE_GNU) {
+ chaz_CFlags_append(flags, "-g");
+ }
+}
+
+void
chaz_CFlags_disable_strict_aliasing(chaz_CFlags *flags) {
if (flags->style == CHAZ_CFLAGS_STYLE_MSVC) {
return;
@@ -6963,6 +6970,7 @@ S_write_makefile(struct chaz_CLIArgs *args) {
makefile_cflags = chaz_CC_new_cflags();
chaz_CFlags_enable_optimization(makefile_cflags);
+ chaz_CFlags_enable_debugging(makefile_cflags);
chaz_CFlags_disable_strict_aliasing(makefile_cflags);
chaz_CFlags_compile_shared_library(makefile_cflags);
chaz_CFlags_hide_symbols(makefile_cflags);
@@ -7076,6 +7084,7 @@ S_write_makefile(struct chaz_CLIArgs *args) {
free(scratch);
link_flags = chaz_CC_new_cflags();
+ chaz_CFlags_enable_debugging(link_flags);
chaz_CFlags_add_library_path(link_flags, cfr_dir);
if (math_lib) {
chaz_CFlags_add_external_library(link_flags, math_lib);