aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/ace
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2019-06-19 13:14:11 +0300
committerAnuj Mittal <anuj.mittal@intel.com>2019-06-20 06:25:25 +0800
commit91752ad5bc978c2e1851488030db7bedcb1f6d19 (patch)
treec994efaeabff25c658322cd4273a9eddf99a403a /recipes-bsp/ace
parent92236c1025b8a4d7084356b506708d29951d961f (diff)
downloadmeta-intel-91752ad5bc978c2e1851488030db7bedcb1f6d19.tar.gz
meta-intel-91752ad5bc978c2e1851488030db7bedcb1f6d19.tar.bz2
meta-intel-91752ad5bc978c2e1851488030db7bedcb1f6d19.zip
ace: add recipe for 6.5.3 version
The ADAPTIVE Communication Environment library. Sources: http://download.dre.vanderbilt.edu/ To be used by LMS service. Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-bsp/ace')
-rw-r--r--recipes-bsp/ace/ace_6.5.3.bb37
-rw-r--r--recipes-bsp/ace/files/ace_config.patch12
2 files changed, 49 insertions, 0 deletions
diff --git a/recipes-bsp/ace/ace_6.5.3.bb b/recipes-bsp/ace/ace_6.5.3.bb
new file mode 100644
index 00000000..53ec3243
--- /dev/null
+++ b/recipes-bsp/ace/ace_6.5.3.bb
@@ -0,0 +1,37 @@
+DESCRIPTION = "C++ network programming framework that implements many core \
+patterns for concurrent communication software"
+LICENSE = "ACE-TAO-CIAO"
+LIC_FILES_CHKSUM = "file://COPYING;md5=407a202d1b887b998dc9480442840630"
+
+DEPENDS += "openssl gperf-native"
+
+SRC_URI = "ftp://download.dre.vanderbilt.edu/previous_versions/ACE-${PV}.tar.bz2 \
+ file://ace_config.patch \
+ "
+
+SRC_URI[md5sum] = "4cc5f109ebd17cd56f0539d1b47d16b3"
+SRC_URI[sha256sum] = "b1d6a716394bd15c21bb90037b8a12a4d8034cc9d8878b0ad39b3c467df19b1a"
+
+COMPATIBLE_HOST_libc-musl = "null"
+
+S = "${WORKDIR}/ACE_wrappers"
+B = "${WORKDIR}/ACE_wrappers/ace"
+export ACE_ROOT="${WORKDIR}/ACE_wrappers"
+
+inherit pkgconfig
+
+CXXFLAGS_append = " -fpermissive -Wnodeprecated-declarations"
+
+do_install() {
+ export D="${D}"
+ oe_runmake install
+
+ for i in $(find ${D} -name "*.pc") ; do
+ sed -i -e s:${D}::g \
+ -e s:/${TARGET_SYS}::g \
+ $i
+ done
+
+ rm -r ${D}/usr/share
+}
+
diff --git a/recipes-bsp/ace/files/ace_config.patch b/recipes-bsp/ace/files/ace_config.patch
new file mode 100644
index 00000000..207b85ab
--- /dev/null
+++ b/recipes-bsp/ace/files/ace_config.patch
@@ -0,0 +1,12 @@
+diff -ruN ACE_wrappers1/ace/config.h ACE_wrappers/ace/config.h
+--- ACE_wrappers1/ace/config.h 1970-01-01 02:00:00.000000000 +0200
++++ ACE_wrappers/ace/config.h 2019-01-10 13:36:52.698012477 +0200
+@@ -0,0 +1,1 @@
++#include "ace/config-linux.h"
+diff -ruN ACE_wrappers1/include/makeinclude/platform_macros.GNU ACE_wrappers/include/makeinclude/platform_macros.GNU
+--- ACE_wrappers1/include/makeinclude/platform_macros.GNU 1970-01-01 02:00:00.000000000 +0200
++++ ACE_wrappers/include/makeinclude/platform_macros.GNU 2018-10-31 15:11:18.265392460 +0200
+@@ -0,0 +1,3 @@
++INSTALL_PREFIX = $(D)$(exec_prefix)
++INSTALL_LIB = $(base_libdir)
++include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU