* [PATCH 1/2] utils: Make get_multilib_datastore available from lib/oe @ 2018-01-04 12:56 Richard Purdie 2018-01-04 12:56 ` [PATCH 2/2] site/common: Allow ac_cv_path_SED to be overridden Richard Purdie 2018-01-04 13:02 ` ✗ patchtest: failure for "utils: Make get_multilib_datas..." and 1 more Patchwork 0 siblings, 2 replies; 3+ messages in thread From: Richard Purdie @ 2018-01-04 12:56 UTC (permalink / raw) To: openembedded-core Currently we can't access this function from lib/oe as its a class function. Move it to allow such access. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- meta/classes/utils.bbclass | 7 +------ meta/lib/oe/utils.py | 8 ++++++++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass index 8e07eac..32cae7e 100644 --- a/meta/classes/utils.bbclass +++ b/meta/classes/utils.bbclass @@ -364,12 +364,7 @@ def multilib_pkg_extend(d, pkg): return pkgs def get_multilib_datastore(variant, d): - localdata = bb.data.createCopy(d) - overrides = localdata.getVar("OVERRIDES", False) + ":virtclass-multilib-" + variant - localdata.setVar("OVERRIDES", overrides) - localdata.setVar("MLPREFIX", variant + "-") - return localdata -get_multilib_datastore[vardepsexclude] = "OVERRIDES" + return oe.utils.get_multilib_datastore(variant, d) def all_multilib_tune_values(d, var, unique = True, need_split = True, delim = ' '): """Return a string of all ${var} in all multilib tune configuration""" diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py index 1897c5f..7a79d75 100644 --- a/meta/lib/oe/utils.py +++ b/meta/lib/oe/utils.py @@ -281,6 +281,14 @@ def host_gcc_version(d): version = match.group(1) return "-%s" % version if version in ("4.8", "4.9") else "" + +def get_multilib_datastore(variant, d): + localdata = bb.data.createCopy(d) + overrides = localdata.getVar("OVERRIDES", False) + ":virtclass-multilib-" + variant + localdata.setVar("OVERRIDES", overrides) + localdata.setVar("MLPREFIX", variant + "-") + return localdata + # # Python 2.7 doesn't have threaded pools (just multiprocessing) # so implement a version here -- 2.7.4 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] site/common: Allow ac_cv_path_SED to be overridden 2018-01-04 12:56 [PATCH 1/2] utils: Make get_multilib_datastore available from lib/oe Richard Purdie @ 2018-01-04 12:56 ` Richard Purdie 2018-01-04 13:02 ` ✗ patchtest: failure for "utils: Make get_multilib_datas..." and 1 more Patchwork 1 sibling, 0 replies; 3+ messages in thread From: Richard Purdie @ 2018-01-04 12:56 UTC (permalink / raw) To: openembedded-core There are tools in the wild where we need this to be a full path, even if that doesn't make sense in most other cases due to libtool issues. Allow those cases to override the default value as currently its near impossible to do so. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- meta/site/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/site/common b/meta/site/common index 5ccc14f..ff55232 100644 --- a/meta/site/common +++ b/meta/site/common @@ -18,4 +18,4 @@ shadow_cv_passwd_dir=${bindir} # python: deactivate a runtime check for ipv6-support in python >=2.7.1 that fails when cross-compiling ac_cv_buggy_getaddrinfo=no -ac_cv_path_SED=sed +ac_cv_path_SED=${ac_cv_path_SED=sed} -- 2.7.4 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* ✗ patchtest: failure for "utils: Make get_multilib_datas..." and 1 more 2018-01-04 12:56 [PATCH 1/2] utils: Make get_multilib_datastore available from lib/oe Richard Purdie 2018-01-04 12:56 ` [PATCH 2/2] site/common: Allow ac_cv_path_SED to be overridden Richard Purdie @ 2018-01-04 13:02 ` Patchwork 1 sibling, 0 replies; 3+ messages in thread From: Patchwork @ 2018-01-04 13:02 UTC (permalink / raw) To: Richard Purdie; +Cc: openembedded-core == Series Details == Series: "utils: Make get_multilib_datas..." and 1 more Revision: 1 URL : https://patchwork.openembedded.org/series/10388/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures: * Issue Series does not apply on top of target branch [test_series_merge_on_head] Suggested fix Rebase your series on top of targeted branch Targeted branch master (currently at 65652f419a) If you believe any of these test results are incorrect, please reply to the mailing list (openembedded-core@lists.openembedded.org) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...). --- Guidelines: https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-01-04 13:02 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-01-04 12:56 [PATCH 1/2] utils: Make get_multilib_datastore available from lib/oe Richard Purdie 2018-01-04 12:56 ` [PATCH 2/2] site/common: Allow ac_cv_path_SED to be overridden Richard Purdie 2018-01-04 13:02 ` ✗ patchtest: failure for "utils: Make get_multilib_datas..." and 1 more Patchwork
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox