annotate src/blas.mk @ 4312:5f24a9910a14

src/blas.mk: update to 3.7.0
author John D
date Wed, 04 Jan 2017 08:32:16 -0500
parents 0db33a326eec
children 29a1845890bd
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: 1765
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 := blas
32a1331a3faf new packages: blas cblas lapack
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
4312
5f24a9910a14 src/blas.mk: update to 3.7.0
John D
parents: 4304
diff changeset
6 $(PKG)_VERSION := 3.7.0
5f24a9910a14 src/blas.mk: update to 3.7.0
John D
parents: 4304
diff changeset
7 $(PKG)_CHECKSUM := f60e847b18818141fa89db27475a59962bcd4ca4
4046
4e4f1eaa0aa3 blas.mk: Fix pkg subdir name.
John W. Eaton <jwe@octave.org>
parents: 4045
diff changeset
8 $(PKG)_SUBDIR := BLAS-$($(PKG)_VERSION)
4045
9123e634a9d3 JDD: update blas 3.5.0
John Donoghue
parents: 3480
diff changeset
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tgz
1385
08b296ec290e cleanup packages: blas cblas lapack metis suitesparse
Volker Grabsch <vog@notjusthosting.com>
parents: 1374
diff changeset
10 $(PKG)_URL := http://www.netlib.org/$(PKG)/$($(PKG)_FILE)
1735
0066ab1bad44 improved download URLs of packages: blas cblas gcc-mpc lapack
Volker Grabsch <vog@notjusthosting.com>
parents: 1390
diff changeset
11 $(PKG)_URL_2 := ftp://ftp.eq.uc.pt/pub/software/math/netlib/$(PKG)/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3021
diff changeset
12 $(PKG)_DEPS :=
1374
32a1331a3faf new packages: blas cblas lapack
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff changeset
13
4304
0db33a326eec make --enable-64 the default
John W. Eaton <jwe@octave.org>
parents: 4110
diff changeset
14 ifeq ($(ENABLE_FORTRAN_INT64),yes)
3015
ec6f91539788 initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
15 $(PKG)_DEFAULT_INTEGER_8_FLAG := -fdefault-integer-8
ec6f91539788 initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
16 endif
ec6f91539788 initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
17
1374
32a1331a3faf new packages: blas cblas lapack
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff changeset
18 define $(PKG)_UPDATE
1385
08b296ec290e cleanup packages: blas cblas lapack metis suitesparse
Volker Grabsch <vog@notjusthosting.com>
parents: 1374
diff changeset
19 echo 1
1374
32a1331a3faf new packages: blas cblas lapack
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff changeset
20 endef
32a1331a3faf new packages: blas cblas lapack
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff changeset
21
32a1331a3faf new packages: blas cblas lapack
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff changeset
22 define $(PKG)_BUILD
3015
ec6f91539788 initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
23 $(SED) -i 's,$$(FORTRAN),$(MXE_F77) $(MXE_F77_PICFLAG) $($(PKG)_DEFAULT_INTEGER_8_FLAG),g' '$(1)/Makefile'
1385
08b296ec290e cleanup packages: blas cblas lapack metis suitesparse
Volker Grabsch <vog@notjusthosting.com>
parents: 1374
diff changeset
24 $(MAKE) -C '$(1)' -j '$(JOBS)'
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2876
diff changeset
25 cd '$(1)' && $(MXE_AR) cr libblas.a *.o
1374
32a1331a3faf new packages: blas cblas lapack
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff changeset
26
2860
c2976176699e Generate shared libraries for blas.
John W. Eaton <jwe@octave.org>
parents: 2365
diff changeset
27 if [ $(BUILD_SHARED) = yes ]; then \
3293
cf6f40cededb Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
28 $(MAKE_SHARED_FROM_STATIC) --ar '$(MXE_AR)' --ld '$(MXE_F77)' '$(1)/libblas.a' --install '$(INSTALL)' --libdir '$(3)$(HOST_LIBDIR)' --bindir '$(3)$(HOST_BINDIR)'; \
2860
c2976176699e Generate shared libraries for blas.
John W. Eaton <jwe@octave.org>
parents: 2365
diff changeset
29 fi
3021
6ea3d6ad4f44 Update for build static compile option
John Donoghue <john.donoghue@ieee.org>
parents: 3015
diff changeset
30
6ea3d6ad4f44 Update for build static compile option
John Donoghue <john.donoghue@ieee.org>
parents: 3015
diff changeset
31 if [ $(BUILD_STATIC) = yes ]; then \
3293
cf6f40cededb Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
32 $(INSTALL) -d '$(3)$(HOST_LIBDIR)'; \
cf6f40cededb Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
33 $(INSTALL) '$(1)/libblas.a' '$(3)$(HOST_LIBDIR)/'; \
3021
6ea3d6ad4f44 Update for build static compile option
John Donoghue <john.donoghue@ieee.org>
parents: 3015
diff changeset
34 fi
1374
32a1331a3faf new packages: blas cblas lapack
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff changeset
35 endef