2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2017 Dariusz Sendkowski
16 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_VERSION
= 3.4.0
20 COMPONENT_SUMMARY
= A C
++ template library for linear algebra.
21 COMPONENT_PROJECT_URL
= https
://eigen.tuxfamily.org
/index.php
22 COMPONENT_SRC_BASE
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_COMMIT_ID
= 3147391d946bb4b6c68edd901f2add6ac1f31f8c
24 COMPONENT_SRC
= $(COMPONENT_SRC_BASE
)-$(COMPONENT_COMMIT_ID
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC_BASE
).
tar.bz2
26 COMPONENT_ARCHIVE_HASH
= sha256
:cf6f07443a4bdb382a0ad3a3307faf23ef7e65761ff42ac9b271eb78b3e6e0c8
27 COMPONENT_ARCHIVE_URL
= https
://gitlab.com
/libeigen
/$(COMPONENT_NAME
)/-/archive
/$(COMPONENT_VERSION
)/$(COMPONENT_VERSION
).
tar.bz2
28 COMPONENT_FMRI
= library
/eigen3
29 COMPONENT_CLASSIFICATION
=System
/Libraries
30 COMPONENT_LICENSE
= MPL2
31 COMPONENT_LICENSE_FILE
= COPYING.MPL2
33 include $(WS_MAKE_RULES
)/common.mk
35 CXXFLAGS
+= -DEIGEN_MPL2_ONLY
37 CMAKE_OPTIONS
+= -DCMAKE_BUILD_TYPE
=Release
41 COMPONENT_TEST_TRANSFORMS
+= \
42 '-e "s/[0-9]*\.[0-9]* sec//"'
44 # Auto-generated dependencies