annotate src/cblas.mk @ 4037:85abb6c3ec8b

of-netcdf: patch for --enable-64 (Bug #46060) * src/of-netcdf-1-fixes.patch: new file * dist-files.mk: add of-netcdf-1-fixes.patch
author John Donoghue <john.donoghue@ieee.org>
date Tue, 29 Sep 2015 19:43:19 -0400
parents 13be64f9f16d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 1946
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
1374
32a1331a3faf new packages: blas cblas lapack
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff changeset
3
32a1331a3faf new packages: blas cblas lapack
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff changeset
4 PKG := cblas
32a1331a3faf new packages: blas cblas lapack
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3480
13be64f9f16d move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents: 3048
diff changeset
6 $(PKG)_VERSION := 1
1611
7b1b796a871f update package cblas
Mark Brand <mabrand@mabrand.nl>
parents: 1415
diff changeset
7 $(PKG)_CHECKSUM := d6970cf52592ef67674a61c78bbd055a4e9d4680
1374
32a1331a3faf new packages: blas cblas lapack
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := CBLAS
1385
08b296ec290e cleanup packages: blas cblas lapack metis suitesparse
Volker Grabsch <vog@notjusthosting.com>
parents: 1376
diff changeset
9 $(PKG)_FILE := $(PKG).tgz
08b296ec290e cleanup packages: blas cblas lapack metis suitesparse
Volker Grabsch <vog@notjusthosting.com>
parents: 1376
diff changeset
10 $(PKG)_URL := http://www.netlib.org/blas/blast-forum/$($(PKG)_FILE)
1735
0066ab1bad44 improved download URLs of packages: blas cblas gcc-mpc lapack
Volker Grabsch <vog@notjusthosting.com>
parents: 1611
diff changeset
11 $(PKG)_URL_2 := ftp://ftp.eq.uc.pt/pub/software/math/netlib/blas/blast-forum/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
12 $(PKG)_DEPS :=
1374
32a1331a3faf new packages: blas cblas lapack
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff changeset
13
1385
08b296ec290e cleanup packages: blas cblas lapack metis suitesparse
Volker Grabsch <vog@notjusthosting.com>
parents: 1376
diff changeset
14 define $(PKG)_UPDATE
08b296ec290e cleanup packages: blas cblas lapack metis suitesparse
Volker Grabsch <vog@notjusthosting.com>
parents: 1376
diff changeset
15 echo 1
08b296ec290e cleanup packages: blas cblas lapack metis suitesparse
Volker Grabsch <vog@notjusthosting.com>
parents: 1376
diff changeset
16 endef
1374
32a1331a3faf new packages: blas cblas lapack
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff changeset
17
32a1331a3faf new packages: blas cblas lapack
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff changeset
18 define $(PKG)_BUILD
1385
08b296ec290e cleanup packages: blas cblas lapack metis suitesparse
Volker Grabsch <vog@notjusthosting.com>
parents: 1376
diff changeset
19 cp '$(1)/Makefile.LINUX' '$(1)/Makefile.MINGW32'
08b296ec290e cleanup packages: blas cblas lapack metis suitesparse
Volker Grabsch <vog@notjusthosting.com>
parents: 1376
diff changeset
20 $(SED) -i 's,CBDIR =.*,CBDIR = $(1),g' '$(1)/Makefile.MINGW32'
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
21 $(SED) -i 's,FC =.*,FC = $(MXE_CXX)fortran,g' '$(1)/Makefile.MINGW32'
1415
ed62f43e8977 bugfix for package cblas: replace "make" with $(MAKE)
Tony Theodore <tonyt@logyst.com>
parents: 1390
diff changeset
22 $(SED) -i 's, make , $(MAKE) ,g' '$(1)/Makefile'
1611
7b1b796a871f update package cblas
Mark Brand <mabrand@mabrand.nl>
parents: 1415
diff changeset
23 rm '$(1)/Makefile.in'
3006
dabfd7db980c use cp for ln on mingw native builds
John W. Eaton <jwe@octave.org>
parents: 2365
diff changeset
24 $(LN_SF) '$(1)/Makefile.MINGW32' '$(1)/Makefile.in'
1385
08b296ec290e cleanup packages: blas cblas lapack metis suitesparse
Volker Grabsch <vog@notjusthosting.com>
parents: 1376
diff changeset
25 mkdir '$(1)/MINGW32'
08b296ec290e cleanup packages: blas cblas lapack metis suitesparse
Volker Grabsch <vog@notjusthosting.com>
parents: 1376
diff changeset
26 $(MAKE) -C '$(1)' -j '$(JOBS)' alllib
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
27 cd '$(1)' && $(MXE_AR) cr libcblas.a src/*.o
1374
32a1331a3faf new packages: blas cblas lapack
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff changeset
28
3014
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
29 $(INSTALL) -d '$(HOST_LIBDIR)'
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
30 $(INSTALL) -m644 '$(1)/libcblas.a' '$(HOST_LIBDIR)'
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
31 $(INSTALL) -d '$(HOST_INCDIR)'
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
32 $(INSTALL) -m644 '$(1)/include/cblas.h' '$(HOST_INCDIR)'
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
33 $(INSTALL) -m644 '$(1)/include/cblas_f77.h' '$(HOST_INCDIR)'
1374
32a1331a3faf new packages: blas cblas lapack
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff changeset
34 endef