Repository: lucy-clownfish
Updated Branches:
  refs/heads/master 02c97b29c -> 4e540372c


Enable Perl build under Appveyor

Use the preinstalled ActiveState Perl and the MinGW compiler
(32-bit).


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

Branch: refs/heads/master
Commit: 4e540372cb9f9ed780c10c150088de147179e14e
Parents: 02c97b2
Author: Nick Wellnhofer <[email protected]>
Authored: Mon May 16 18:46:44 2016 +0200
Committer: Nick Wellnhofer <[email protected]>
Committed: Mon May 16 19:59:17 2016 +0200

----------------------------------------------------------------------
 appveyor.yml                 | 2 +-
 compiler/src/CFCUtil.c       | 4 ++++
 devel/bin/appveyor-build.bat | 3 +++
 3 files changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/4e540372/appveyor.yml
----------------------------------------------------------------------
diff --git a/appveyor.yml b/appveyor.yml
index e31a457..8146058 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -19,7 +19,7 @@ environment:
       MSVC_VERSION: 10
     - CLOWNFISH_HOST: c
       MSVC_VERSION: 12
-#    - CLOWNFISH_HOST: perl
+    - CLOWNFISH_HOST: perl
 
 build: off
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/4e540372/compiler/src/CFCUtil.c
----------------------------------------------------------------------
diff --git a/compiler/src/CFCUtil.c b/compiler/src/CFCUtil.c
index c5444fd..f153904 100644
--- a/compiler/src/CFCUtil.c
+++ b/compiler/src/CFCUtil.c
@@ -677,6 +677,10 @@ CFCUtil_try_end(jmp_buf *prev_env) {
 #include "XSUB.h"
 #include "ppport.h"
 
+// Undo redefinition by XSUB.h with PERL_IMPLICIT_SYS. Needed for
+// ActivePerl.
+#undef longjmp
+
 void
 CFCUtil_die(const char* format, ...) {
     va_list args;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/4e540372/devel/bin/appveyor-build.bat
----------------------------------------------------------------------
diff --git a/devel/bin/appveyor-build.bat b/devel/bin/appveyor-build.bat
index c5436ed..11b910e 100644
--- a/devel/bin/appveyor-build.bat
+++ b/devel/bin/appveyor-build.bat
@@ -43,6 +43,9 @@ exit /b
 
 :test_perl
 
+path C:\MinGW\bin;%path%
+call ppm install dmake
+
 perl -V
 
 cd compiler\perl

Reply via email to