All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jacob Stiffler <j-stiffler@ti.com>
To: Denys Dmytriyenko <denys@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [PATCH 1/6] ti-llvm3.6: Upgrade ti-llvm from version 3.3 to 3.6
Date: Thu, 28 Jan 2016 08:12:49 -0500	[thread overview]
Message-ID: <56AA13D1.1030602@ti.com> (raw)
In-Reply-To: <20160127202233.GW11314@edge>



On 1/27/2016 3:22 PM, Denys Dmytriyenko wrote:
> On Wed, Jan 27, 2016 at 02:54:24PM -0500, Jacob Stiffler wrote:
>> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
>> ---
>>   ...e-Do-not-check-build-executable-extension.patch | 25 +-----------
>>   .../llvm/{ti-llvm3.3_3.3.bb => ti-llvm3.6_3.6.bb}  | 47 ++++++++++++++++++----
>>   2 files changed, 40 insertions(+), 32 deletions(-)
>>   rename meta-arago-extras/recipes-core/llvm/{ti-llvm3.3 => ti-llvm3.6}/0001-configure-Do-not-check-build-executable-extension.patch (56%)
>>   rename meta-arago-extras/recipes-core/llvm/{ti-llvm3.3_3.3.bb => ti-llvm3.6_3.6.bb} (67%)
>>
>> diff --git a/meta-arago-extras/recipes-core/llvm/ti-llvm3.3/0001-configure-Do-not-check-build-executable-extension.patch b/meta-arago-extras/recipes-core/llvm/ti-llvm3.6/0001-configure-Do-not-check-build-executable-extension.patch
>> similarity index 56%
>> rename from meta-arago-extras/recipes-core/llvm/ti-llvm3.3/0001-configure-Do-not-check-build-executable-extension.patch
>> rename to meta-arago-extras/recipes-core/llvm/ti-llvm3.6/0001-configure-Do-not-check-build-executable-extension.patch
>> index b6e5331..9a60caf 100644
>> --- a/meta-arago-extras/recipes-core/llvm/ti-llvm3.3/0001-configure-Do-not-check-build-executable-extension.patch
>> +++ b/meta-arago-extras/recipes-core/llvm/ti-llvm3.6/0001-configure-Do-not-check-build-executable-extension.patch
>> @@ -9,8 +9,7 @@ Subject: [PATCH] configure: Do not check build executable extension.
>>   Signed-off-by: Jake Stiffler <j-stiffler@ti.com>
>>   ---
>>    configure                 |    3 +++
>> - projects/sample/configure |    4 ++++
>> - 2 files changed, 7 insertions(+)
>> + 1 files changed, 3 insertions(+)
>>   
>>   diff --git a/configure b/configure
>>   index decbc40..387c4fd 100755
>> @@ -33,28 +32,6 @@ index decbc40..387c4fd 100755
>>      rm -f conftest*
>>      test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank
>>    fi
>> -diff --git a/projects/sample/configure b/projects/sample/configure
>> -index a2c70c6..b57f21c 100755
>> ---- a/projects/sample/configure
>> -+++ b/projects/sample/configure
>> -@@ -4753,6 +4753,8 @@ echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
>> -   rm -f conftest*
>> -   echo 'int main () { return 0; }' > conftest.$ac_ext
>> -   ac_cv_build_exeext=
>> -+
>> -+if false; then
>> -   if { (eval echo "$as_me:$LINENO: \"$ac_build_link\"") >&5
>> -   (eval $ac_build_link) 2>&5
>> -   ac_status=$?
>> -@@ -4769,6 +4771,8 @@ echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
>> - echo "$as_me: error: installation or configuration problem: compiler cannot create executables." >&2;}
>> -    { (exit 1); exit 1; }; }
>> -   fi
>> -+fi
>> -+
>> -   rm -f conftest*
>> -   test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank
>> - fi
>>   --
>>   1.7.9.5
>>   
>> diff --git a/meta-arago-extras/recipes-core/llvm/ti-llvm3.3_3.3.bb b/meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb
>> similarity index 67%
>> rename from meta-arago-extras/recipes-core/llvm/ti-llvm3.3_3.3.bb
>> rename to meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb
>> index 35514c4..2c53f1f 100644
>> --- a/meta-arago-extras/recipes-core/llvm/ti-llvm3.3_3.3.bb
>> +++ b/meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb
>> @@ -1,7 +1,7 @@
>> -DESCRIPTION = "LLVM 3.3 with support for TI C66x intrinsics"
>> +DESCRIPTION = "LLVM 3.6 with support for TI C66x intrinsics"
>>   HOMEPAGE = "https://gitorious.design.ti.com/ocl/llvm33-src"
>>   
>> -PR = "r1"
>> +PR = "r2"
>>   
>>   do_configure_prepend_class-native() {
>>       # Fix paths in llvm-config
>> @@ -10,27 +10,48 @@ do_configure_prepend_class-native() {
>>   
>>   require recipes-core/llvm/llvm.inc
>>   
>> -DEPENDS += "zlib libxml2"
>> -EXTRA_OECONF += "--enable-zlib"
>> +LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=47e311aa9caedd1b3abf098bd7814d1d"
>> +
>> +DEPENDS += "libxml2"
>> +EXTRA_OECONF += ""
> ^^^ Do you need to keep this, when it's empty?
>

This is not needed. I will remove this in the next version.

>>   LLVM_DIR = "ti-llvm${PV}"
>>   
>> -BRANCH = "master"
>> +LLVM_GIT_NAME = "llvm"
>> +LLVM_GIT_URI = "git://git.ti.com/opencl/llvm.git"
>> +LLVM_GIT_PROTOCOL = "git"
>> +LLVM_GIT_BRANCH = "release_36_ti"
>> +LLVM_GIT_DESTSUFFIX = "git"
>> +LLVM_GIT_SRCREV = "2ff2f1fe65645f9323372e382d0fd9647462abcb"
>> +
>> +CLANG_GIT_NAME = "clang"
>> +CLANG_GIT_URI = "git://git.ti.com/opencl/clang.git"
>> +CLANG_GIT_PROTOCOL = "git"
>> +CLANG_GIT_BRANCH = "release_36_ti"
>> +CLANG_GIT_DESTSUFFIX = "${LLVM_GIT_DESTSUFFIX}/tools/clang"
>> +CLANG_GIT_SRCREV = "7b43bc10396ecdd141cec40acacbc240ac76a84f"
>>   
>>   SRC_URI = " \
>> -  git://git.ti.com/opencl/ti-llvm-clang-3_3.git;protocol=git;branch=${BRANCH} \
>> +  ${LLVM_GIT_URI};protocol=${LLVM_GIT_PROTOCOL};branch=${LLVM_GIT_BRANCH};destsuffix=${LLVM_GIT_DESTSUFFIX};name=${LLVM_GIT_NAME} \
>> +  ${CLANG_GIT_URI};protocol=${CLANG_GIT_PROTOCOL};branch=${CLANG_GIT_BRANCH};destsuffix=${CLANG_GIT_DESTSUFFIX};name=${CLANG_GIT_NAME} \
>>     file://0001-configure-Do-not-check-build-executable-extension.patch \
>>   "
>>   
>> -
>> -SRCREV = "29629a3e70d445cfbfbb4046a56d3648ebae9544"
>> +SRCREV_${LLVM_GIT_NAME} = "${LLVM_GIT_SRCREV}"
>> +SRCREV_${CLANG_GIT_NAME} = "${CLANG_GIT_SRCREV}"
>>   
>>   S = "${WORKDIR}/git"
>>   
>>   LIBXML2_INC = "`pkg-config libxml-2.0 --cflags`"
>>   LIBXML2_LIBS = "`pkg-config libxml-2.0 --libs`"
>>   
>> +EXTRA_OECONF += " --enable-targets="host,arm,c6000,msp430" \
>> +                  --disable-zlib \
>> +                  --disable-terminfo \
>> +                  --disable-libedit \
>> +"
>> +
>>   EXTRA_OEMAKE += "LIBXML2_INC="${LIBXML2_INC}" LIBXML2_LIBS="${LIBXML2_LIBS}""
>>   
>>   do_compile_class-native() {
>> @@ -54,6 +75,13 @@ do_compile_class-nativesdk() {
>>           RANLIB="${BUILD_RANLIB}" \
>>           PATH="${STAGING_BINDIR_NATIVE}:$PATH" \
>>           cross-compile-build-tools
>> +
>> +    # Workaround for timestamp issue on built-tools
>> +    for f in ${LLVM_BUILD_DIR}/BuildTools/Release/bin/*
>> +    do
>> +        touch $f
>> +    done
>> +
>>       oe_runmake
>>   }
>>   
>> @@ -95,6 +123,7 @@ do_install_class-native() {
>>       install -m 0755 ${LLVM_INSTALL_DIR}/llvm-config${PV}-ti ${D}${bindir}
>>   }
>>   
>> +
>>   SYSROOT_PREPROCESS_FUNCS_class-target += "llvm_sysroot_preprocess_target"
>>   SYSROOT_PREPROCESS_FUNCS_class-nativesdk += "llvm_sysroot_preprocess_target"
>>   
>> @@ -107,4 +136,6 @@ llvm_sysroot_preprocess_target() {
>>       mv ${LLVM_INSTALL_DIR}/llvm-config-host ${SYSROOT_DESTDIR}${bindir_crossscripts}/llvm-config${PV}-ti
>>   }
>>   
>> +INSANE_SKIP_${MLPREFIX}libllvm${LLVM_RELEASE}-llvm-${LLVM_RELEASE}.0 += "dev-so"
> Should there be .0 at the end of the package name?
>

This ".0" is intentional.

The previous version (3.3) consistently used 2 digit versions in the 
library name. This new version (3.6) now appends a 3rd digit to some of 
the library names,

>> +
>>   BBCLASSEXTEND = "native nativesdk"
>> -- 
>> 1.9.1
>>
>> _______________________________________________
>> meta-arago mailing list
>> meta-arago@arago-project.org
>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago



  reply	other threads:[~2016-01-28 13:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-27 19:54 [PATCH 0/6] Upgrade OpenCL and dependencies Jacob Stiffler
2016-01-27 19:54 ` [PATCH 1/6] ti-llvm3.6: Upgrade ti-llvm from version 3.3 to 3.6 Jacob Stiffler
2016-01-27 20:22   ` Denys Dmytriyenko
2016-01-28 13:12     ` Jacob Stiffler [this message]
2016-01-27 19:54 ` [PATCH 2/6] ocl: Upgrade to version 1.1.7.2 Jacob Stiffler
2016-01-27 19:54 ` [PATCH 3/6] packagegroup-arago-tisdk-addons*: Add OpenCL and related packages for keystone Jacob Stiffler
2016-01-27 19:54 ` [PATCH 4/6] ti-tisdk-makefile: Add OpenCL and related targets " Jacob Stiffler
2016-01-27 19:54 ` [PATCH 5/6] packagegroup-arago-tisdk-matrix: Add OpenCL matrix demos " Jacob Stiffler
2016-01-27 19:54 ` [PATCH 6/6] tisdk-server-rootfs-image: Add unnecessary dev packages to BAD_RECOMMENDATIONS Jacob Stiffler
2016-01-27 20:13   ` Denys Dmytriyenko
2016-01-27 20:15     ` Denys Dmytriyenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56AA13D1.1030602@ti.com \
    --to=j-stiffler@ti.com \
    --cc=denys@ti.com \
    --cc=meta-arago@arago-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.