[meta-intel] [PATCH 1/3] ace: add recipe for 6.5.3 version

Alexander Usyskin alexander.usyskin at intel.com
Sun Jun 16 22:43:21 PDT 2019


The ADAPTIVE Communication Environment library.
Sources: http://download.dre.vanderbilt.edu/

To be used by LMS service.

Signed-off-by: Alexander Usyskin <alexander.usyskin at intel.com>
---
 recipes-bsp/ace/ace_6.5.3.bb           | 60 ++++++++++++++++++++++++++++++++++
 recipes-bsp/ace/files/ace_config.patch | 44 +++++++++++++++++++++++++
 2 files changed, 104 insertions(+)
 create mode 100644 recipes-bsp/ace/ace_6.5.3.bb
 create mode 100644 recipes-bsp/ace/files/ace_config.patch

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 0000000..4f5635a
--- /dev/null
+++ b/recipes-bsp/ace/ace_6.5.3.bb
@@ -0,0 +1,60 @@
+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 glibc"
+
+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"
+
+S = "${WORKDIR}/ACE_wrappers"
+B = "${WORKDIR}/ACE_wrappers/ace"
+export ACE_ROOT="${WORKDIR}/ACE_wrappers"
+
+export LD_LIBRARY_PATH="${ACE_ROOT}/lib:$LD_LIBRARY_PATH"
+
+inherit pkgconfig
+
+CXXFLAGS_append = " -fpermissive -Wnodeprecated-declarations"
+
+do_compile_prepend() {
+    export ACE_ROOT="${S}"
+    export LD_LIBRARY_PATH="${ACE_ROOT}/lib:$LD_LIBRARY_PATH"
+}
+
+do_configure_prepend() {
+    export ACE_ROOT="${S}"
+    export LD_LIBRARY_PATH="${ACE_ROOT}/lib:$LD_LIBRARY_PATH"
+}
+
+do_install_prepend() {
+    export ACE_ROOT="${S}"
+    export LD_LIBRARY_PATH="${ACE_ROOT}/lib:$LD_LIBRARY_PATH"
+}
+
+do_install_append() {
+    for i in $(find ${D} -name "*.pc") ; do
+        sed -i -e s:${D}::g \
+               -e s:/${TARGET_SYS}::g \
+                  $i
+    done
+}
+
+do_install() {
+    export ACE_ROOT="${S}"
+    export LD_LIBRARY_PATH="${ACE_ROOT}/lib:$LD_LIBRARY_PATH"
+    export D="${D}"
+    oe_runmake install
+} 
+
+do_install_append () {
+    rm -r ${D}/usr/share/
+}
+
+FILES_${PN} += "${libdir}/pkgconfig/*"
+
diff --git a/recipes-bsp/ace/files/ace_config.patch b/recipes-bsp/ace/files/ace_config.patch
new file mode 100644
index 0000000..c781c25
--- /dev/null
+++ b/recipes-bsp/ace/files/ace_config.patch
@@ -0,0 +1,44 @@
+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,33 @@
++/*++
++
++INTEL CONFIDENTIAL
++Copyright 2013-2015 Intel Corporation All Rights Reserved.
++
++The source code contained or described herein and all documents
++related to the source code ("Material") are owned by Intel Corporation
++or its suppliers or licensors. Title to the Material remains with
++Intel Corporation or its suppliers and licensors. The Material
++contains trade secrets and proprietary and confidential information of
++Intel or its suppliers and licensors. The Material is protected by
++worldwide copyright and trade secret laws and treaty provisions. No
++part of the Material may be used, copied, reproduced, modified,
++published, uploaded, posted, transmitted, distributed, or disclosed in
++any way without Intel's prior express written permission.
++
++No license under any patent, copyright, trade secret or other
++intellectual property right is granted to or conferred upon you by
++disclosure or delivery of the Materials, either expressly, by
++implication, inducement, estoppel or otherwise. Any license under such
++intellectual property rights must be express and approved by Intel in
++writing.
++
++--*/
++//#define ACE_HAS_WCHAR
++//#define ACE_USES_WCHAR
++#include "ace/config-linux.h"
++//#define ACE_NTRACE 0
++//#define YYDEBUG 1
++//#define YYERROR_VERBOSE 1
++//#ifndef DEBUG
++//#define ACE_NLOGGING
++//#endif
+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
-- 
2.7.4



More information about the meta-intel mailing list