All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hongxu Jia <hongxu.jia@windriver.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 18/18] cmake-native:convert source file to relative path
Date: Thu, 10 Mar 2016 16:41:25 +0800	[thread overview]
Message-ID: <56E13335.5030702@windriver.com> (raw)
In-Reply-To: <CAMKF1sqhFDRPHEFJFPoqqKpNbhKA9Sw9CpxA1+OOLceqEVPHrw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]

On 03/10/2016 04:08 PM, Khem Raj wrote:
>
> We should submit these kind of changes upstream first and get an 
> opinion before forking like this
>

OK, I will have a try.

>
>     +Although there is CMAKE_USE_RELATIVE_PATHS, but upstream
>     +explicitly did not support relative path.
>     +In git://cmake.org/cmake.git <http://cmake.org/cmake.git>
>     +...
>     +commit 1335992c8f4e8b96f1a21d5dcc7d65a9fbd84c11
>     +Author: Stephen Kelly <steveire@gmail.com
>     <mailto:steveire@gmail.com>>
>     +Date:   Mon Jun 1 19:56:46 2015 +0200
>     +
>     +    Remove CMAKE_USE_RELATIVE_PATHS variable.
>     +...
>     +The reason is in https://cmake.org/Wiki/CMake_FAQ
>     +(Why does CMake use full paths, or can I copy my build tree?)
>

Currently, The upstream explicitly do not support it.

//Hongxu

>     +
>     +But oe-core need the source file path relative while compiling
>     +to avoid build path issue. The fix partly refer the above commit,
>     +but in order to minimize the influence, it only tweak gcc compiling
>     +rule in generated Makefile (With "Building ** object" message).
>



[-- Attachment #2: Type: text/html, Size: 2791 bytes --]

  reply	other threads:[~2016-03-10  8:41 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-10  7:23 [PATCH V2 00/18] fix buildpaths QA issue Hongxu Jia
2016-03-10  7:23 ` [PATCH 01/18] fix_buildpaths.bbclass: add bbclass to fix build path Hongxu Jia
2016-03-10  7:23 ` [PATCH 02/18] python2/3: fix buildpath QA issue Hongxu Jia
2016-03-10  7:23 ` [PATCH 03/18] bbclass distutils/distutils3: fix .pyc/.pyo buildpath Hongxu Jia
2016-03-10  7:23 ` [PATCH 04/18] bbclass distutils/distutils3/setuptools/setuptools3: clean up DISTUTILS_INSTALL_ARGS Hongxu Jia
2016-03-10  7:23 ` [PATCH 05/18] python-setuptools/python3-setuptools: use old-style install Hongxu Jia
2016-03-10  7:23 ` [PATCH 06/18] python3-pip: " Hongxu Jia
2016-03-10  7:23 ` [PATCH 07/18] python-pygobject: fix buildpath QA issue Hongxu Jia
2016-03-10  7:23 ` [PATCH 08/18] python-numpy: fix buildpaths " Hongxu Jia
2016-03-10  7:23 ` [PATCH 09/18] waf.bbclass: support do patch on extracted files Hongxu Jia
2016-03-10  7:23 ` [PATCH 10/18] python-pycairo: fix buildpath QA issue Hongxu Jia
2016-03-10  7:23 ` [PATCH 11/18] valgrind: " Hongxu Jia
2016-03-10  7:23 ` [PATCH 12/18] dtc.inc: fix buildpaths " Hongxu Jia
2016-03-10  7:23 ` [PATCH 13/18] epiphany: " Hongxu Jia
2016-03-10  7:23 ` [PATCH 14/18] gconf: " Hongxu Jia
2016-03-10  7:23 ` [PATCH 15/18] icu: " Hongxu Jia
2016-03-10  7:23 ` [PATCH 16/18] tcl: fix buildpath " Hongxu Jia
2016-03-10  7:23 ` [PATCH 17/18] openssl: " Hongxu Jia
2016-03-10  7:23 ` [PATCH 18/18] cmake-native:convert source file to relative path Hongxu Jia
2016-03-10  8:08   ` Khem Raj
2016-03-10  8:41     ` Hongxu Jia [this message]
2016-03-10  8:45       ` Khem Raj

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=56E13335.5030702@windriver.com \
    --to=hongxu.jia@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /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.