[138328] trunk/dports/lang/omnicompiler

takeshi at macports.org takeshi at macports.org
Sun Jul 5 13:29:57 PDT 2015


Revision: 138328
          https://trac.macports.org/changeset/138328
Author:   takeshi at macports.org
Date:     2015-07-05 13:29:57 -0700 (Sun, 05 Jul 2015)
Log Message:
-----------
omnicompiler: update to 0.9.1

Modified Paths:
--------------
    trunk/dports/lang/omnicompiler/Portfile
    trunk/dports/lang/omnicompiler/files/patch-configure.diff

Added Paths:
-----------
    trunk/dports/lang/omnicompiler/files/patch-C-BackEnd-Makefile.in.diff
    trunk/dports/lang/omnicompiler/files/patch-F-BackEnd-Makefile.in.diff
    trunk/dports/lang/omnicompiler/files/patch-XcodeML-Common-Makefile.in.diff
    trunk/dports/lang/omnicompiler/files/patch-XcodeML-Exc-Tools-Makefile.in.diff

Modified: trunk/dports/lang/omnicompiler/Portfile
===================================================================
--- trunk/dports/lang/omnicompiler/Portfile	2015-07-05 20:21:03 UTC (rev 138327)
+++ trunk/dports/lang/omnicompiler/Portfile	2015-07-05 20:29:57 UTC (rev 138328)
@@ -5,7 +5,7 @@
 PortGroup           mpi 1.0
 
 name                omnicompiler
-version             0.9
+version             0.9.1
 categories          lang devel parallel
 maintainers         takeshi openmaintainer
 description         code transformation compilers for C, Fortran and OpenACC
@@ -25,10 +25,10 @@
 #         char _padding[CACHE_LINE_SIZE-sizeof(int)-sizeof(any_type)];
 #              ^
 supported_archs     x86_64
-master_sites        sourceforge:xcalablemp
+master_sites        ${homepage}/download/stable/
 
-checksums           rmd160  94c68eeeebd65e41098c0cb7facdfba59c1e7868 \
-                    sha256  1d978c918693aabf34d4bf4b4f43e3e91c09ac4bc88a69e8974715e36bcc086f
+checksums           rmd160  8bcd69d6071d413d6f244757a7912b0a598493f7 \
+                    sha256  2e543126a8b1cb200c115bc369ee58c047997a2c793ea42faf5b70b73c626404
 use_bzip2           yes
 
 compilers.choose    cc fc
@@ -43,30 +43,35 @@
                     port:coreutils \
                     bin:base64:base64
 depends_lib         port:gmp \
-                    port:libxml2
+                    port:libxml2 \
+                    port:vecLibFort
 
-patchfiles          patch-configure.diff
-# GNU mktemp rather than BSD mktemp is assumed
-post-patch {
-    reinplace "s|mktemp|${prefix}/bin/gmktemp|" ${worksrcpath}/Makefile.in
-    foreach f {acc xmp xmpf} {
-        reinplace "s|lib64|lib|" ${worksrcpath}/Driver/etc/linker.conf.${f}.in
-    }
-}
+patchfiles          patch-configure.diff \
+                    patch-C-BackEnd-Makefile.in.diff \
+                    patch-F-BackEnd-Makefile.in.diff \
+                    patch-XcodeML-Common-Makefile.in.diff \
+                    patch-XcodeML-Exc-Tools-Makefile.in.diff
 
 use_parallel_build  no
 
 if {![gcc_variant_isset]} {
-    default_variants-append +gcc48
+    default_variants-append +gcc5
 }
 set mpi [mpi_variant_name]
 set cmp [gcc_variant_name]
 if {${cmp} == ""} {
     set cmp mp
 }
-configure.args      --prefix=${prefix}/lib/${name} \
+
+pre-configure {
+    configure.env   MPI_CC=${configure.cc} \
+                    MPI_FC=${configure.fc}
+}
+configure.args-append \
+                    --prefix=${prefix}/lib/${name} \
                     --disable-dependency-tracking \
                     --disable-xmpgpu \
+                    --with-libblas=${prefix}/lib/libvecLibFort.dylib \
                     --with-cppflag=${configure.cppflags} \
                     --with-backend-cc=${prefix}/bin/mpicc-${mpi}-${cmp} \
                     --with-backend-cflag=${configure.cflags} \
@@ -76,9 +81,6 @@
                     --with-gmp-include=${prefix}/include \
                     --with-libxml=${prefix}
 
-post-patch {
-}
-
 variant coarray description {enable support for Coarray} {
     depends_build-append    port:GASNet
     configure.args-append   --with-gasnet=${prefix} \

Added: trunk/dports/lang/omnicompiler/files/patch-C-BackEnd-Makefile.in.diff
===================================================================
--- trunk/dports/lang/omnicompiler/files/patch-C-BackEnd-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/lang/omnicompiler/files/patch-C-BackEnd-Makefile.in.diff	2015-07-05 20:29:57 UTC (rev 138328)
@@ -0,0 +1,13 @@
+--- C-BackEnd/Makefile.in.orig	2015-04-21 17:12:48.000000000 +0900
++++ C-BackEnd/Makefile.in	2015-07-06 05:20:09.000000000 +0900
+@@ -569,8 +569,8 @@
+ 	rm -f src/xcodeml/c/*/*.class
+ 
+ install: $(TARGET)
+-	mkdir -p ${javadir}
+-	$(INSTALL) $^ ${javadir}
++	mkdir -p $(DESTDIR)${javadir}
++	$(INSTALL) $^ $(DESTDIR)${javadir}
+ 
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.

Added: trunk/dports/lang/omnicompiler/files/patch-F-BackEnd-Makefile.in.diff
===================================================================
--- trunk/dports/lang/omnicompiler/files/patch-F-BackEnd-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/lang/omnicompiler/files/patch-F-BackEnd-Makefile.in.diff	2015-07-05 20:29:57 UTC (rev 138328)
@@ -0,0 +1,13 @@
+--- F-BackEnd/Makefile.in.orig	2015-04-21 17:12:48.000000000 +0900
++++ F-BackEnd/Makefile.in	2015-07-06 05:19:35.000000000 +0900
+@@ -569,8 +569,8 @@
+ 	rm -f src/xcodeml/f/*/*.class
+ 
+ install: $(TARGET)
+-	mkdir -p ${javadir}
+-	$(INSTALL) $^ ${javadir}
++	mkdir -p $(DESTDIR)${javadir}
++	$(INSTALL) $^ $(DESTDIR)${javadir}
+ 
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.

Added: trunk/dports/lang/omnicompiler/files/patch-XcodeML-Common-Makefile.in.diff
===================================================================
--- trunk/dports/lang/omnicompiler/files/patch-XcodeML-Common-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/lang/omnicompiler/files/patch-XcodeML-Common-Makefile.in.diff	2015-07-05 20:29:57 UTC (rev 138328)
@@ -0,0 +1,13 @@
+--- XcodeML-Common/Makefile.in.orig	2015-04-21 17:12:48.000000000 +0900
++++ XcodeML-Common/Makefile.in	2015-07-06 05:21:00.000000000 +0900
+@@ -570,8 +570,8 @@
+ 	rm -f src/xcodeml/*/*.class
+ 
+ install: $(TARGET)
+-	mkdir -p ${javadir}
+-	$(INSTALL) $^ ${javadir}
++	mkdir -p $(DESTDIR)${javadir}
++	$(INSTALL) $^ $(DESTDIR)${javadir}
+ 
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.

Added: trunk/dports/lang/omnicompiler/files/patch-XcodeML-Exc-Tools-Makefile.in.diff
===================================================================
--- trunk/dports/lang/omnicompiler/files/patch-XcodeML-Exc-Tools-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/lang/omnicompiler/files/patch-XcodeML-Exc-Tools-Makefile.in.diff	2015-07-05 20:29:57 UTC (rev 138328)
@@ -0,0 +1,13 @@
+--- XcodeML-Exc-Tools/Makefile.in.orig	2015-04-21 17:12:48.000000000 +0900
++++ XcodeML-Exc-Tools/Makefile.in	2015-07-06 05:20:33.000000000 +0900
+@@ -569,8 +569,8 @@
+ 	rm -f src/exc/*/*.class
+ 
+ install: $(TARGET)
+-	mkdir -p ${javadir}
+-	$(INSTALL) $^ ${javadir}
++	mkdir -p $(DESTDIR)${javadir}
++	$(INSTALL) $^ $(DESTDIR)${javadir}
+ 
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.

Modified: trunk/dports/lang/omnicompiler/files/patch-configure.diff
===================================================================
--- trunk/dports/lang/omnicompiler/files/patch-configure.diff	2015-07-05 20:21:03 UTC (rev 138327)
+++ trunk/dports/lang/omnicompiler/files/patch-configure.diff	2015-07-05 20:29:57 UTC (rev 138328)
@@ -1,6 +1,6 @@
---- configure.orig	2014-11-14 11:17:57.000000000 +0900
-+++ configure	2014-11-25 16:13:59.000000000 +0900
-@@ -25150,7 +25150,7 @@
+--- configure.orig	2015-04-21 17:12:48.000000000 +0900
++++ configure	2015-07-05 22:00:16.000000000 +0900
+@@ -25093,7 +25093,7 @@
  $as_echo "can't find ${gmpInclude}/gmp.h. exit." >&6; }
          exit 1
      fi
@@ -9,12 +9,3 @@
      if test "x${gmpLibs}" = "x"; then
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find ${gmpLib}/libgmp.*. exit." >&5
  $as_echo "can't find ${gmpLib}/libgmp.*. exit." >&6; }
-@@ -26118,7 +26118,7 @@
-     __ret=1
-     __tmpFileBase=/tmp/.cpptest.$$
-     __tmpFile=${__tmpFileBase}.F90
--    __data=`date | base64 2>/dev/null`
-+    __data=`date | base64 2>/dev/null | tr -d '\r'`
-     echo "#ifdef __XMP_CPP_CHECK__" > ${__tmpFile}
-     echo ${__data} >> ${__tmpFile}
-     echo "#endif" >> ${__tmpFile}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150705/4adbafb6/attachment-0001.html>


More information about the macports-changes mailing list