Ticket #22378: atlas-PPC-Altivec.diff

File atlas-PPC-Altivec.diff, 1.4 KB (added by mklein-de (Michael Klein), 14 years ago)

PPC build failure workaround

  • files/patch-ATL_AVgcc-fix.diff

     
     1--- CONFIG/src/SpewMakeInc.c.orig       2009-02-18 19:47:37.000000000 +0100
     2+++ CONFIG/src/SpewMakeInc.c    2009-12-15 22:05:56.000000000 +0100
     3@@ -579,11 +579,11 @@
     4 /*
     5  * Need up update handling of apple vs. gnu gcc for altivec
     6  */
     7-#if 0
     8+/*#if 0
     9    if (ISAX == ISA_AV && strstr(CC, "gcc") && strstr(MCC, "gcc") &&
     10-       !GccIsApple(CC))
     11+       !GccIsApple(CC))*/
     12       fprintf(fpout, " -DATL_%s -DATL_AVgcc", ISAXNAM[ISAX]);
     13-#endif
     14+/*#endif*/
     15    fprintf(fpout, "\n\n");
     16 
     17    fprintf(fpout,
  • Portfile

     
    2929distfiles           ${atlasdist}:atlas \
    3030                    ${lapackdist}:lapack
    3131
     32patchfiles          patch-ATL_AVgcc-fix.diff
     33
    3234checksums           atlas${version}.tar.bz2 \
    3335                    md5     6c13be94a87178e7582111c08e9503bc \
    3436                    sha1    c7546210df4796457d9e96a00444adc4c0f2e77f \
     
    212214  system "cd ${destroot}${prefix}/lib && \
    213215          ln -sf ./libptcblas.dylib libcblas.dylib && \
    214216          ln -sf ./libptf77blas.dylib libf77blas.dylib"
    215 }
    216  No newline at end of file
     217}