Mercurial > mxe-octave
annotate src/cblas.mk @ 3634:3b4116a23496
of-netcdf: update to 1.0.5
* src/of-netcdf.mk: update version,checksum
* build_packages.m: update netcdf
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Mon, 30 Jun 2014 20:34:29 -0400 |
parents | 13be64f9f16d |
children |
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 | 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 | 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 |