Mercurial > mxe-octave
view src/xapian-core.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 | de2eedecd6ba |
children |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := xapian-core $(PKG)_IGNORE := $(PKG)_VERSION := 1.2.12 $(PKG)_CHECKSUM := 2b96800280fee41eed767289620172f5226c9c4f $(PKG)_SUBDIR := xapian-core-$($(PKG)_VERSION) $(PKG)_FILE := xapian-core-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://oligarchy.co.uk/xapian/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := zlib define $(PKG)_UPDATE $(WGET) -q -O- http://xapian.org/download | \ $(SED) -n 's,.*<a HREF="https://oligarchy.co.uk/xapian/\([^/]*\)/xapian-core[^"]*">.*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ --prefix='$(HOST_PREFIX)' \ $(ENABLE_SHARED_OR_STATC) $(MAKE) -C '$(1)' -j '$(JOBS)' install endef