Mercurial > mxe-octave
view src/eigen.mk @ 5500:512e69a36d09
Use SSE2 instruction set for i686-w64 target (bug #58807).
* src/build-gcc.mk: Set specs to use SSE/SSE2 instructions by default for
i686-w64-mingw32 target (Windows 32bit).
* src/native-gcc.mk: Set specs to use SSE/SSE2 instructions by default for
i686-w64-mingw32 target (Windows 32bit).
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 21 Jul 2020 20:27:53 +0200 |
parents | 53f53624ec44 |
children | 9e5a68f8f082 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := eigen $(PKG)_IGNORE := $(PKG)_VERSION := 3.3.7 $(PKG)_CHECKSUM := 743c1dc00c6680229d8cc87d44debe5a71d15c01 $(PKG)_SUBDIR := $(PKG)-$(PKG)-323c052e1731 $(PKG)_FILE := $($(PKG)_VERSION).tar.gz $(PKG)_URL := https://bitbucket.org/$(PKG)/$(PKG)/get/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE $(WGET) -q -O- 'https://bitbucket.org/$(PKG)/$(PKG)/downloads/?tab=tags' | \ $(SED) -n 's|.*href=\"/eigen/eigen/get/\([0-9].*\)\.tar\.gz\".*|\1|p' | \ $(GREP) -v "tip" | $(SORT) -V | \ tail -1 endef define $(PKG)_BUILD mkdir '$(1).build' cd '$(1).build' && \ cmake -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' '$(1)' $(MAKE) -C '$(1).build' -j '$(JOBS)' DESTDIR='$(3)' install endef