Mercurial > mxe-octave
view src/pstoedit.mk @ 5978:1569a1d140ae
octave-launch: Set number of OpenBLAS threads to number of cores (bug #61208).
* installer-files/octave-launch.c (get_num_physical_cores): New function to get
number of physical processor cores.
(wmain): Set OPENBLAS_NUM_THREADS to number of physical processor cores for
performance.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 25 Nov 2021 18:37:52 +0100 |
parents | 8d61de83cf90 |
children | 9dc019878239 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := pstoedit $(PKG)_IGNORE := $(PKG)_VERSION := 3.77 $(PKG)_CHECKSUM := 480a6004a47d06f8a506ccc542b2954329e2be97 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://sourceforge.net/projects/pstoedit/files/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)/download $(PKG)_DEPS := plotutils define $(PKG)_UPDATE $(WGET) -q -O- 'http://sourceforge.net/projects/$(PKG)/files/$(PKG)/' | \ $(SED) -n 's,.*tr title="\([0-9][^"]*\)".*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && autoreconf -fi -I m4 mkdir '$(1)/.build' cd '$(1)/.build' && '$(1)/configure' \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ --prefix='$(HOST_PREFIX)' \ --disable-docs \ && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)/.build' -j 1 install DESTDIR='$(3)' $(MXE_DISABLE_DOCS) endef