Ticket #22378: atlas-PPC-Altivec.diff
File atlas-PPC-Altivec.diff, 1.4 KB (added by mklein-de (Michael Klein), 15 years ago) |
---|
-
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
29 29 distfiles ${atlasdist}:atlas \ 30 30 ${lapackdist}:lapack 31 31 32 patchfiles patch-ATL_AVgcc-fix.diff 33 32 34 checksums atlas${version}.tar.bz2 \ 33 35 md5 6c13be94a87178e7582111c08e9503bc \ 34 36 sha1 c7546210df4796457d9e96a00444adc4c0f2e77f \ … … 212 214 system "cd ${destroot}${prefix}/lib && \ 213 215 ln -sf ./libptcblas.dylib libcblas.dylib && \ 214 216 ln -sf ./libptf77blas.dylib libf77blas.dylib" 215 } 216 No newline at end of file 217 }