annotate src/eigen.mk @ 6215:d18a5545df0d release

build-gettext: Don't build emacs bindings. * src/build-gettext.mk: The `emacs` installed on the build system might be incompatible with the STL built by build-gcc. We probably don't need the emacs bindings for the `gettext` build tool anyway. So skip building those bindings.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 07 May 2022 12:01:10 +0200
parents 58a259784f5e
children 6d7cd6e78fcf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2329
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
2027
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
3
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
4 PKG := eigen
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
5334
53f53624ec44 * src/eigen.mk: update to v3.3.7
John Donoghue
parents: 5139
diff changeset
6 $(PKG)_VERSION := 3.3.7
5513
9e5a68f8f082 * src/eigen.mk: update update rules/download links
John Donoghue <john.donoghue@ieee.org>
parents: 5334
diff changeset
7 $(PKG)_CHECKSUM := f13a31c7ec3b87cf6e58b6fb05aa8b887091b71c
5334
53f53624ec44 * src/eigen.mk: update to v3.3.7
John Donoghue
parents: 5139
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$(PKG)-323c052e1731
2031
42ea60937f81 package eigen: fix filename
Mark Brand <mabrand@mabrand.nl>
parents: 2028
diff changeset
9 $(PKG)_FILE := $($(PKG)_VERSION).tar.gz
5513
9e5a68f8f082 * src/eigen.mk: update update rules/download links
John Donoghue <john.donoghue@ieee.org>
parents: 5334
diff changeset
10 $(PKG)_URL := https://gitlab.com/libeigen/$(PKG)/-/archive/$($(PKG)_VERSION)/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 2525
diff changeset
11 $(PKG)_DEPS :=
2027
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
12
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
5513
9e5a68f8f082 * src/eigen.mk: update update rules/download links
John Donoghue <john.donoghue@ieee.org>
parents: 5334
diff changeset
14 $(WGET) -q -O- 'https://eigen.tuxfamily.org/index.php?title=Main_Page#Download' | \
5611
58a259784f5e * src/eigen.mk: update update rule
John Donoghue <john.donoghue@ieee.org>
parents: 5571
diff changeset
15 $(GREP) 'released!' | \
58a259784f5e * src/eigen.mk: update update rule
John Donoghue <john.donoghue@ieee.org>
parents: 5571
diff changeset
16 $(SED) -n 's,.*>Eigen \([0-9.]*\) released!.*,\1,p' | \
5513
9e5a68f8f082 * src/eigen.mk: update update rules/download links
John Donoghue <john.donoghue@ieee.org>
parents: 5334
diff changeset
17 head -1
2027
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
18 endef
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
19
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
20 define $(PKG)_BUILD
5334
53f53624ec44 * src/eigen.mk: update to v3.3.7
John Donoghue
parents: 5139
diff changeset
21 mkdir '$(1).build'
53f53624ec44 * src/eigen.mk: update to v3.3.7
John Donoghue
parents: 5139
diff changeset
22 cd '$(1).build' && \
5541
d862fd40cc42 Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents: 5513
diff changeset
23 cmake \
d862fd40cc42 Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents: 5513
diff changeset
24 $(CMAKE_CCACHE_FLAGS) \
5571
b19fb3ed330c use cmake command line to set build shared/static options (bug #59373)
John W. Eaton <jwe@octave.org>
parents: 5541
diff changeset
25 $(CMAKE_BUILD_SHARED_OR_STATIC) \
5541
d862fd40cc42 Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents: 5513
diff changeset
26 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
d862fd40cc42 Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents: 5513
diff changeset
27 '$(1)'
5334
53f53624ec44 * src/eigen.mk: update to v3.3.7
John Donoghue
parents: 5139
diff changeset
28 $(MAKE) -C '$(1).build' -j '$(JOBS)' DESTDIR='$(3)' install
2027
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
29 endef