ports/math/lapacke/files/patch-make.inc
Maho Nakata 030a58883d LAPACKE is a standard C language APIs for LAPACK, which introduces
the following features[1]:
- row-major and column-major matrix layout controlled by the first function
parameter;
- an implementation with working arrays (middle-level interface) as well as
without working arrays (high-level interface);
- input scalars passed by value;
- error code as a return value instead of the INFO parameter.

[1] Intel Corporation. "C Interface to LAPACK" README. 2010.

WWW: http://www.netlib.org/lapack/

PR:             153045
Submitted by:   Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp>
2011-02-17 00:47:57 +00:00

31 lines
853 B
PHP

--- make.inc.orig 2010-10-01 17:17:25.000000000 +0900
+++ make.inc 2010-12-06 20:00:25.000000000 +0900
@@ -47,20 +47,20 @@
# LDFLAGS = -nofor-main
# - gfortran, set: LINKER = gfortran
#
-CC = icc
-CFLAGS = -O3
+CC = %%CC%%
+CFLAGS = %%CFLAGS%%
LINKER = $(CC)
-LDFLAGS =
+LDFLAGS = %%LDFLAGS%%
#
# The name of the libraries to be created/linked to
# Ensure that the libraries have the same data model (LP64/ILP64).
#
-LAPACKE = lapacke.a
-LIBS = ../../../lapack-3.2.1/lapack.a ../../../lapack-3.2.1/blas.a -lm
+LAPACKE = ./lib/liblapacke.a
+LIBS = %%BLAS%% %%LAPACK%%
#
# The archiver and the flag(s) to use when building archive (library)
# If your system has no ranlib, set RANLIB = echo.
#
-ARCH = ar
-ARCHFLAGS = cr
-RANLIB = ranlib
+ARCH_ = %%AR%%
+ARCH_FLAGS = cr
+RANLIB = %%RANLIB%%