Mercurial > mxe-octave
view src/armadillo.mk @ 3912:52abc9be09fa
of-dataframe: add to mxe
* src/of-dataframe.mk: new file
* src/of-dataframe-1-fixes.patch: new file
* dist-files.mk: add of-dataframe.mk of-dataframe--fixes.patch
* index.html: add of-dataframe
* Makefile.am: add of-dataframe
* build_packages.m: add dataframe package
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Wed, 22 Apr 2015 19:15:12 -0400 |
parents | 13be64f9f16d |
children | d862fd40cc42 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. # armadillo PKG := armadillo $(PKG)_IGNORE := $(PKG)_VERSION := 3.4.4 $(PKG)_CHECKSUM := e293a56695e7447cf5caa395932f1f0d41e13ffc $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/arma/$($(PKG)_FILE) $(PKG)_DEPS := boost blas lapack define $(PKG)_UPDATE $(WGET) -q -O- 'http://sourceforge.net/projects/arma/files/' | \ $(SED) -n 's,.*/armadillo-\([0-9.]*\)[.]tar.*".*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && cmake . -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' $(MAKE) -C '$(1)' -j '$(JOBS)' install VERBOSE=1 # note: don't use -Werror with GCC 4.7.0 and .1 '$(MXE_CXX)' \ -W -Wall \ '$(2).cpp' -o '$(HOST_BINDIR)/test-armadillo.exe' \ -larmadillo -llapack -lblas -lgfortran -lboost_serialization-mt -lboost_thread_win32-mt -lboost_system-mt endef