Mercurial > mxe-octave
view src/lapack.mk @ 2691:3abd2de6c2d7
Move CMAKE_BUILD_TYPE, CMAKE_AR and CMAKE_RANLIB into toolchain file
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Mon, 13 Aug 2012 10:15:30 +0200 |
parents | 4d0f3a9da57e |
children | 81ceeb0f8ea9 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := lapack $(PKG)_IGNORE := 3.4.1 $(PKG)_CHECKSUM := 910109a931524f8dcc2734ce23fe927b00ca199f $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tgz $(PKG)_URL := http://www.netlib.org/$(PKG)/$($(PKG)_FILE) $(PKG)_URL_2 := ftp://ftp.eq.uc.pt/pub/software/math/netlib/$(PKG)/$($(PKG)_FILE) $(PKG)_DEPS := gcc define $(PKG)_UPDATE $(WGET) -q -O- 'http://www.netlib.org/lapack/' | \ $(SED) -n 's_.*>LAPACK, version \([0-9]\.[0-9]\.[0-9]\).*_\1_ip' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && cmake \ -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ . $(MAKE) -C '$(1)/SRC' -j '$(JOBS)' install '$(TARGET)-gfortran' \ -W -Wall -Werror -pedantic \ '$(2).f' -o '$(PREFIX)/$(TARGET)/bin/test-lapack.exe' \ -llapack endef