annotate src/eigen.mk @ 5534:372ea4c0afb2

Move of-ocs PKG_XXXX to inst dir and add break patch * src/of-ocs-3-break-fixes.patch, src/of-ocs-4-pkgadd-fixes.patch: new files * dist-files.mk: add ref to files
author John Donoghue <john.donoghue@ieee.org>
date Sun, 13 Sep 2020 08:15:14 -0400
parents 9e5a68f8f082
children d862fd40cc42
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' | \
9e5a68f8f082 * src/eigen.mk: update update rules/download links
John Donoghue <john.donoghue@ieee.org>
parents: 5334
diff changeset
15 $(GREP) 'eigen/get/' | \
9e5a68f8f082 * src/eigen.mk: update update rules/download links
John Donoghue <john.donoghue@ieee.org>
parents: 5334
diff changeset
16 $(SED) -n 's,.*eigen/get/\(3[^>]*\)\.tar.*,\1,p' | \
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' && \
53f53624ec44 * src/eigen.mk: update to v3.3.7
John Donoghue
parents: 5139
diff changeset
23 cmake -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' '$(1)'
53f53624ec44 * src/eigen.mk: update to v3.3.7
John Donoghue
parents: 5139
diff changeset
24 $(MAKE) -C '$(1).build' -j '$(JOBS)' DESTDIR='$(3)' install
2027
f1f62183852e new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff changeset
25 endef