annotate src/eigen.mk @ 7207:9ed6500e56d3 default tip @

maint: Merge release to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 17 May 2024 20:16:41 +0200
parents cddfc1533468
children
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 :=
6476
6d7cd6e78fcf * src/eigen.mk: update to v2.4.0
John Donoghue <john.donoghue@ieee.org>
parents: 5611
diff changeset
6 $(PKG)_VERSION := 3.4.0
6d7cd6e78fcf * src/eigen.mk: update to v2.4.0
John Donoghue <john.donoghue@ieee.org>
parents: 5611
diff changeset
7 $(PKG)_CHECKSUM := e422a63bca97a89d8c1f63d7f47ba96d8dfcdef0
6d7cd6e78fcf * src/eigen.mk: update to v2.4.0
John Donoghue <john.donoghue@ieee.org>
parents: 5611
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)-3147391d946bb4b6c68edd901f2add6ac1f31f8c
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
6734
cddfc1533468 src/eigen.mk: use gitlab tags for update rule
John Donoghue <john.donoghue@ieee.org>
parents: 6476
diff changeset
14 $(WGET) -q -O- https://gitlab.com/libeigen/eigen/tags | \
cddfc1533468 src/eigen.mk: use gitlab tags for update rule
John Donoghue <john.donoghue@ieee.org>
parents: 6476
diff changeset
15 $(SED) -n 's|.*/tags/\([0-9][^"]*\).*|\1|p' | grep -v 'rc' | $(SORT) -V | \
cddfc1533468 src/eigen.mk: use gitlab tags for update rule
John Donoghue <john.donoghue@ieee.org>
parents: 6476
diff changeset
16 tail -1
2027
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
17 endef
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
18
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
19 define $(PKG)_BUILD
5334
53f53624ec44 * src/eigen.mk: update to v3.3.7
John Donoghue
parents: 5139
diff changeset
20 mkdir '$(1).build'
53f53624ec44 * src/eigen.mk: update to v3.3.7
John Donoghue
parents: 5139
diff changeset
21 cd '$(1).build' && \
5541
d862fd40cc42 Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents: 5513
diff changeset
22 cmake \
d862fd40cc42 Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents: 5513
diff changeset
23 $(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
24 $(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
25 -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
26 '$(1)'
5334
53f53624ec44 * src/eigen.mk: update to v3.3.7
John Donoghue
parents: 5139
diff changeset
27 $(MAKE) -C '$(1).build' -j '$(JOBS)' DESTDIR='$(3)' install
2027
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
28 endef