mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 22:30:38 -04:00
The development iof ATLAS seems stalled, but some people still use it: upgrade it to the latest stable version, to support some more platforms. Changelog available from <https://sourceforge.net/projects/math-atlas/files/Stable/3.10.3/ChangeLog/download>. Next step: resurrect atlas-devel and upgrade it to the latest "unstable release", 3.11.41, dated 2018-10-05…
48 lines
2.2 KiB
C
48 lines
2.2 KiB
C
--- CONFIG/src/SpewMakeInc.c.orig 2016-07-28 19:43:00 UTC
|
|
+++ CONFIG/src/SpewMakeInc.c
|
|
@@ -469,7 +469,8 @@ int main(int nargs, char **args)
|
|
&outfile, &srcdir, &blddir, &USEDEFL1, &USEARCHDEF, &USEIEEE,
|
|
&LATUNE, &nof77, &lapackref, &f2cdefs, &cdefs, &pmake, &flapack,
|
|
&smaflags, &dmaflags, &f77lib, &ADd, &l2size, &targ);
|
|
- if (ncpu > 1) THREADS = 1;
|
|
+/* if (ncpu > 1) THREADS = 1; */
|
|
+ THREADS = 1;
|
|
if (!outfile)
|
|
fpout = stdout;
|
|
else
|
|
@@ -555,7 +556,7 @@ int main(int nargs, char **args)
|
|
fprintf(fpout, "# -------------------------------------------------\n");
|
|
fprintf(fpout, "# Name indicating the platform to configure BLAS to\n");
|
|
fprintf(fpout, "# -------------------------------------------------\n");
|
|
- fprintf(fpout, " ARCH = %s", machnam[mach]);
|
|
+ fprintf(fpout, " ATLAS_ARCH = %s", machnam[mach]);
|
|
fprintf(fpout, "%d", ptrbits);
|
|
#if defined(__powerpc64__) && defined(__ORDER_LITTLE_ENDIAN__)
|
|
fprintf(fpout, "LE");
|
|
@@ -783,7 +784,7 @@ int main(int nargs, char **args)
|
|
fprintf(fpout, "\n");
|
|
fprintf(fpout, " KC = $(DKC)\n KCFLAGS = $(CDEFS) $(DKCFLAGS)\n");
|
|
|
|
- fprintf(fpout, " LDFLAGS =");
|
|
+ fprintf(fpout, " LDFLAGS = %%LDFLAGS%% ");
|
|
if (MachIsX86(mach))
|
|
{
|
|
if (OSIsWin(OS))
|
|
@@ -815,7 +816,7 @@ int main(int nargs, char **args)
|
|
if (USEMINGW)
|
|
fprintf(fpout, "\n ARCHIVER = $(BLDdir)/mgwar\n");
|
|
else
|
|
- fprintf(fpout, "\n ARCHIVER = ar\n");
|
|
+ fprintf(fpout, "\n ARCHIVER = $(AR)\n");
|
|
fprintf(fpout, " ARFLAGS = r\n");
|
|
/*
|
|
* JF Mertens says that even x86 OS X still need ranlib for safety
|
|
@@ -846,7 +847,7 @@ int main(int nargs, char **args)
|
|
else if (lapackref) fprintf(fpout, "$(FLAdir)/lapack_$(ARCH).a");
|
|
fprintf(fpout, "\n");
|
|
fprintf(fpout, " SBLASlib = $(FBLASlib) # should be serial sysblas\n");
|
|
- fprintf(fpout, " BLASlib = $(FBLASlib) # should be parallel sysblas\n");
|
|
+ fprintf(fpout, " BLASlib = $(BLAS) # should be parallel sysblas\n");
|
|
fprintf(fpout, " SLAPACKlib = # set to parallel system lapack\n");
|
|
fprintf(fpout, " SSLAPACKlib = # set to serial system lapack\n");
|
|
if (THREADS)
|