summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/cmake
Commit message (Collapse)AuthorAgeFilesLines
* cmake: update to 3.3.1Alexander Kanavin2015-09-013-6/+3
| | | | | | | | | Share tarball checksums between cmake and cmake-native via cmake.inc. (From OE-Core rev: 8292eba3c79ffcdebd23cbabc9975c7a4075dba6) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Upgrade 2.8.12.2 -> 3.2.2Moritz Blume2015-06-276-103/+76
| | | | | | | | | | | | | | | Patches "qt4-fail-silent.patch" and "support-oe-qt4-tools-names.patch" were adapted in order to fit to CMake 3.2.2 (refer to the commit message in the respective patch for details). Patch "cmake-2.8.11.2-FindFreetype.patch" was dropped since it was rejected upstream and its functionality otherwise implemented in the meantime. (From OE-Core rev: c171909352b5ed92166857b0bbcd901ae0f74996) Signed-off-by: Moritz Blume <moritz.blume@bmw-carit.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: fix B != SRobert Yang2015-01-161-2/+4
| | | | | | | | | | | | | | And bump PR to avoid: | Error when bootstrapping CMake: | Found directory "/path/to/cmake-2.8.12.2/Bootstrap.cmk". | Looks like somebody did bootstrap CMake in the source tree, but now you are | trying to do bootstrap in the binary tree. Please remove Bootstrap.cmk | directory from the source tree. (From OE-Core rev: ade72d5bad7303a40f7b27526145ed83e372cd35) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake-native: disable check for acl.hChen Qi2015-01-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | We build cmake-native without acl support. However, the acl.h header is still being checked which would sometimes cause the following error during do_compile: archive_read_disk_entry_from_file.c:38:21: fatal error: sys/acl.h: No such file or directory | #include <sys/acl.h> | ^ | compilation terminated. This happens when the sysroot parts of acl-native is removed between do_configure and do_compile tasks of cmake-native. To reproduce the problem manually, execute the following command: bitbake cmake-native -c cleansstate && bitbake acl-native -c cleansstate && \ bitbake acl-native && bitbake cmake-native -c configure && \ bitbake acl-native -c cleansstate && bitbake cmake-native -c compile This patch fixes the above problem by explicitly disable the checking for acl.h header file. (From OE-Core rev: 3ad1701b0afe59af9d8427d53ffa4c0f52f42805) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: drop already applied patchesPaul Eggleton2014-11-203-79/+0
| | | | | | | | | These patches were part of the 2.8.11 release. (From OE-Core rev: cd9127664d77df995037bdcff53053835ef026ee) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-cmake: Adjust toolchain paths dynamicallyOtavio Salvador2014-10-243-0/+33
| | | | | | | | | | | This patch adds a flexible way to configure the CMake in SDKs. It adds a toolchain configuration script which supports subscripts for extensions, as for example Qt5. (From OE-Core rev: 4143f3b0ce0d0c52f5b0babc1bb16ac0ac9610eb) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Avoid accidentally including libacl.hMike Crowe2014-05-281-0/+1
| | | | | | | | | | | | | | | | The cmake recipe doesn't depend on libacl yet cmake will detect libacl.h and use it by default. This risks build failures if libacl.h is unstaged during the build and it also means that the build cmake will sometimes support ACLs and sometimes not. This can be avoided by setting ENABLE_ACL=0 but until the fix for http://cmake.org/Bug/view.php?id=14866 is released we also need to set HAVE_ACL_LIBACL_H=0. (From OE-Core rev: e76973b4ef687c5b36ed6f9eb202322ae4af9b9f) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador2014-04-251-1/+1
| | | | | | | | | | | The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. (From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Improve method for not building ccmakeMike Crowe2014-04-083-19/+9
| | | | | | | | | | | | | | In commit 4bee0a93ed985b38c6b4eb605d8e16f5d7c82d51 I introduced an unnecessary patch to do something that can easily be done without patching. The argument to disable building ccmake can be passed to configure provided it is preceded by "--". (From OE-Core rev: eaf176eaabb4c558ad76512b30b28ec97fd90bc6) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Remove dependency on ncursesMike Crowe2014-04-041-1/+1
| | | | | | | | | | | | | | | Commit 2adc9a3f1f1db284f7d91193ad77b3524e0e0d2c stopped ccmake being built and that is the only part of cmake that relies on curses so we might as well stop depending on it. (Tested with a poisoned curses.h to prove that it is unused even if present.) (From OE-Core rev: 4f650b538924b1736783fec0de661ec16dc590b5) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake-native: Stop building ccmakeMike Crowe2014-04-042-1/+21
| | | | | | | | | | | | | | | | | The bootstrapped cmake is called in such a way that it will automatically enable building ccmake if curses is found. This tool isn't particularly useful to us and it will cause build problems if ncurses-native is built in parallel with cmake-native so let's just pass -DBUILD_CursesDialog=0 to disable the feature altogether as the non-native cmake does. Unfortunately this requires patching the bootstrap script since there appears to be no way to get this option through. (From OE-Core rev: 4bee0a93ed985b38c6b4eb605d8e16f5d7c82d51) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Add ugly hack from meta-qt5 to prevent cmake trying to detect qt5Martin Jansa2014-04-041-0/+22
| | | | | | | | | | | | | * cmake doesn't have dependency on qt4/qt5, so these tests usually fail but still can cause undeterministic results or build failures (when OE_QMAKE_PATH_EXTERNAL_HOST_BINS is undefined or native qmake removed while running the test in cmake) (From OE-Core rev: 4f2dee0d8c2c3f60cb8f8021343e973cae31fc50) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: upgrade to 2.8.12.2Paul Eggleton2014-03-022-4/+4
| | | | | | | (From OE-Core rev: 30754b50f4a2b7290d1a4288be69d42d3269658e) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie2014-02-281-1/+1
| | | | | | | | | | | | This patch goes through the OE-Core recipes and marks those which use autotools but don't support a separate build directory (${S} != ${B}). A new class, autotools-brokensep is used for this purpose. This doesn't introduce any change in behaviour in its own right. (From OE-Core rev: 006b8a7808a58713af16c326dc37d07765334b12) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Fix freetype detectionMartin Jansa2014-01-282-0/+48
| | | | | | | | | | | * since last freetype upgrade cmake cannot detect it * e.g. webkit-efl requires freetype and is failing because of this (From OE-Core rev: 0cd58eb1ca29bdc53f623aba1f761b97cfe31fb4) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Replace one-line DESCRIPTION with SUMMARYPaul Eggleton2014-01-021-1/+1
| | | | | | | | | | | | | | A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. (From OE-Core rev: b8feee3cf21f70ba4ec3b822d2f596d4fc02a292) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: upgrade to 2.8.12.1Paul Eggleton2013-11-122-4/+4
| | | | | | | (From OE-Core rev: c38fe8e31d5c84e56f18a7c1b4709cc239e579d7) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: upgrade to 2.8.12Paul Eggleton2013-10-292-7/+4
| | | | | | | (From OE-Core rev: 5d63ad569d6beab5beea82aa51c1625d0e1e8231) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake-native: fix dependenciesPaul Eggleton2013-09-172-0/+31
| | | | | | | | | | | | When building cmake for native, we don't use the system libraries and thus cmake builds its own internal version of libarchive; this requires zlib, bzip2, and e2fsprogs. We can add to DEPENDS for the two former libraries and patch out the latter. (From OE-Core rev: fe6ca47a256b775e1aa5750b9dd31e27230cf781) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Update to 2.8.11.2Saul Wold2013-07-103-5/+8
| | | | | | | (From OE-Core rev: 3a709c2d189a0fccf04ee0fabd21975d6886e734) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: fix configure error if system Qt installation is brokenPaul Eggleton2013-07-102-0/+56
| | | | | | | | | | | | | | | If the host Qt installation exists but is incomplete or the installed qmake architecture doesn't match that of the Qt libraries, cmake was failing at do_configure. cmake 2.8.10 failed silently here so we should make 2.8.11 do the same. Fixes [YOCTO #4565]. (From OE-Core rev: 2bf46fbd25e1a3a44d556758f536fa26c44edb03) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Update to 2.8.11.1Saul Wold2013-06-133-7/+7
| | | | | | | (From OE-Core rev: 56f4e7101d2bbb0692607a54b3392f2703c11a32) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Update to 2.8.11Saul Wold2013-05-245-69/+21
| | | | | | | | | | Rebased support-oe-qt4-tools-names as some of the changes where added in the upstream code. (From OE-Core rev: 13399264e987b698b120688dc5018adb3fa8522d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Upstream-Status: Correct CapitalizationSaul Wold2013-05-122-2/+2
| | | | | | | (From OE-Core rev: 43b2a2f375e2201be7a9bb6a9c5c0a9fc61f3361) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/recipes/lib: Fix various python whitespace issuesRichard Purdie2013-05-091-2/+2
| | | | | | | | | There are some left over tab characters in the python functions. This removes them and resolves python 3 errors. (From OE-Core rev: fafeb381c48291fa65c634c01c244843c8d7fad3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: add AArch64 supportMarcin Juszkiewicz2013-01-073-2/+82
| | | | | | | (From OE-Core rev: 73dd5842a945e119c8870929e9d71067235a9247) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake-native: add checksumsTom Zanussi2012-12-191-0/+3
| | | | | | | | | | | commit 771d08 (cmake: Update to 2.8.10.2) removed the checksums from cmake.inc, and added them to cmake, but forgot to add them to cmake-native - this adds them. (From OE-Core rev: ec096d256d8cfb3146d4b2943387ce18ca05df6e) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Update to 2.8.10.2Saul Wold2012-12-193-3/+3
| | | | | | | (From OE-Core rev: 4a407b927cca97c11f3211b384db920c17dd0c64) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Update to 2.8.10.1Saul Wold2012-12-036-43/+40
| | | | | | | (From OE-Core rev: b109a6e33fc7748de65d1ff76528b302e7f92dd8) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Upgrade recipes to 2.8.8Khem Raj2012-07-284-12/+13
| | | | | | | | | | | | | | | | Copyright year change means a change in checksum ... CMake - Cross Platform Makefile Generator -Copyright 2000-2009 Kitware, Inc., Insight Software Consortium +Copyright 2000-2011 Kitware, Inc., Insight Software Consortium All rights reserved. (From OE-Core rev: db6a69f132b3ad2bf1108eccd945123969347154) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* PR bump for all recipes that DEPEND on ncursesScott Garman2012-03-151-1/+1
| | | | | | | | | | The packaging changes to ncurses could break package feeds, so bump the PR on everythong that DEPENDS on ncurses. (From OE-Core rev: be92256917c157284ef8370bb93bbf443849b2e1) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie2012-03-051-2/+2
| | | | | | | | | | | | Using "1" with getVar is bad coding style and "True" is preferred. This patch is a sed over the meta directory of the form: sed \ -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \ -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \ -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-102-4/+4
| | | | | | | | | | | | | | | | | This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` (From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake : Disable building ccmake.Philip Balister2011-10-171-1/+2
| | | | | | | | | | | ccmake fails to build due to an as-needed type error with -ltinfo. Disable it for now since the build fails and cmake is what we need for target sdk. (From OE-Core rev: 2adc9a3f1f1db284f7d91193ad77b3524e0e0d2c) Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake-nativesdk: remove gcc standard pathsKang Kai2011-08-291-7/+1
| | | | | | | | | | | Because of the gcc-crosssdk bug, cmake-nativesdk needs to search gcc standard paths itself. Right now it was fixed, so remove the additional CXXFLAG for cmake-nativesdk. (From OE-Core rev: bac15cc98e136892d4c09f2470622965bd9dbbeb) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update to 2.8.5 releaseOtavio Salvador2011-07-122-16/+6
| | | | | | | | Acked-by: Tom Rini <tom_rini@mentor.com> (From OE-Core rev: 334cd15994eeb47636434a6e802f50b24e5182f3) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update to 2.8.5-rc3Otavio Salvador2011-07-084-24/+36
| | | | | | | (From OE-Core rev: 2b229f4150b8375f0d35e11464dcbe307b720d81) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: add nativesdk and target versionsOtavio Salvador2011-07-082-0/+67
| | | | | | | | | | | | | Adds a recipe that provides the nativesdk and target versions of CMake. This recipe is based on code from OpenEmbeeded (rev b1f2e1501c19540617a829b37415c0616101c7ad). (From OE-Core rev: ea25292bbf53c7542578e5d9f4ae0531f9d78374) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: refactor recipeOtavio Salvador2011-07-082-3/+7
| | | | | | | | | | | * use INC_PR; * show configure's failure on error; * gather major version from PV; (From OE-Core rev: c9d1e68a137960b6cdc81b875c087a8c1031dcbc) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: add support for oe qt4 tools namesOtavio Salvador2011-05-163-2/+101
| | | | | | | | | | | | | | The FindQt4 module looks for Qt4 binaries to be able to gather the paths used for compilation and also to be using during other processes (translation update, translation binary generating and like) however OpenEmbedded has renamed those to allow old QMake to be used in parallel with the current one. This patch adds support for the OpenEmbedded specific binary names. (From OE-Core rev: 6317c91aacf55cd7757a4fad0346cb541e9a1c2b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake-native: Upgrade to version 2.8.3Dongxiao Xu2010-12-023-4/+9
| | | | | | Fixed its metadata. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* Major layout change to the packages directoryRichard Purdie2010-08-272-0/+20
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>