Mercurial > mxe-octave
annotate src/eigen.mk @ 5541:d862fd40cc42
Use ccache for packages built with cmake.
* Makefile.in: New variable CMAKE_CCACHE_FLAGS.
* src/armadillo.mk, src/cgal.mk, src/cmake.mk, src/cminpack,
src/double-conversion.mk, src/eigen.mk, src/gdcm.mk, src/gl2ps.mk,
src/hdf5.mk, src/lapack.mk, src/libical.mk, src/libproxy, src/llvm.mk,
src/of-dicom.mk, src/openal.mk, src/opencv.mk, src/openexr.mk,
src/openscenegraph.mk, src/physfs.mk, src/qhull.mk, src/qjson.mk,
src/rapidjson.mk, src/suitesparse.mk, src/sundials-ida.mk, src/taglib.mk,
src/vigra.mk, src/vmime.mk, src/vtk.mk, src/wt.mk: Add new variable to cmake
flags. Harmonize indentation in files.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 20 Sep 2020 11:57:01 +0200 |
parents | 9e5a68f8f082 |
children | b19fb3ed330c |
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 | 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 | 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 | 21 mkdir '$(1).build' |
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) \ |
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 | 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 |