summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/cmake
Commit message (Collapse)AuthorAgeFilesLines
* cmake: upgrade 3.22.2 -> 3.22.3wangmy2022-03-074-4/+4
| | | | | | | | | | | | | | | | | refresh 0001-CMakeDetermineSystem-use-oe-environment-vars-to-load.patch Changelog: ========== * The :command:'while' command again ignores errors in condition evaluation as CMake 3.21 and below did. This bug was fixed in 3.22.0, but exposed errors in existing projects. The fix has been reverted to restore compatibility. The fix may be restored in a future version of CMake via a policy. (From OE-Core rev: 146ceceaf81639085a82fd94d30ea84150a75e3a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake-native: Remove help docs from the native sysrootRichard Purdie2022-03-041-0/+3
| | | | | | | | | | This drops the file count for cmake-native from ~3000 to ~1700 which is a decent chunk of files not to be copying to each native sysroot for no reason. (From OE-Core rev: 6e561619a2a2b688735deae968eb66027fd4b9f0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/scripts: Automated conversion of OE renamed variablesRichard Purdie2022-02-211-1/+1
| | | | | | (From OE-Core rev: aa52af4518604b5bf13f3c5e885113bf868d6c81) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: remove bogus CMAKE_LDFLAGS_FLAGS definition from toolchain fileMartin Beeger2022-02-121-1/+0
| | | | | | | | | | | | | | | As discussion in [YOCTO #14717] cmake contains a OEToolchainConfig.cmake file to configure the toolchain correctly in cross-compile build for recipes using cmake. The variable CMAKE_LDFLAGS_FLAGS is spelled incorrectly, cmake expects CMAKE_SHARED_LINKER_FLAGS, CMAKE_STATIC_LINKER_FLAGS, CMAKE_EXE_LINKER_FLAGS and CMAKE_MODULE_LINKER_FLAGS to be set instead. As cmake already correctly initializes these from environment there is no need to specify the linker flags in the toolchain file at all. So this just removes the variable, as its value was also set wrong. (From OE-Core rev: 52e59a5b37f55905ee693a99f9ffc34ed41b4283) Signed-off-by: Martin Beeger <martin.beeger@online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update 3.22.1 -> 3.22.2Alexander Kanavin2022-02-033-1/+1
| | | | | | | (From OE-Core rev: 2dacdcc259f20cf06b81045c99e07d00ba6cc5fb) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: upgrade 3.22.0 -> 3.22.1Changqing Li2021-12-123-1/+1
| | | | | | | | | | | | This upgrade include a bug fix: Refer: https://gitlab.kitware.com/cmake/cmake/-/issues/22963 https://gitlab.kitware.com/cmake/cmake/-/commit/643fc46bdc13dd57584d5d77eee30a99308ba896 (From OE-Core rev: 63bf94e26443b3790648c393f36203e9954b85de) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update 3.21.4 -> 3.22.0Alexander Kanavin2021-11-253-1/+1
| | | | | | | (From OE-Core rev: 3f83264a4d84669e62e801ce1bb5e04904aec73d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update 3.21.3 -> 3.21.4Alexander Kanavin2021-11-033-1/+1
| | | | | | | (From OE-Core rev: d3bc081c2c8c0e278b0b4376f0526cf514429f30) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update 3.21.2 -> 3.21.3Alexander Kanavin2021-10-233-1/+1
| | | | | | | | (From OE-Core rev: 1ed10b337ebdfe302bde1e01131206f2b1150908) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: upgrade 3.21.1 -> 3.21.2wangmy2021-10-113-1/+1
| | | | | | | | (From OE-Core rev: 6f39d593687e7b90be8f7fdc671c539c3d95a57b) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update 3.21.0 -> 3.21.1Alexander Kanavin2021-08-023-1/+1
| | | | | | | (From OE-Core rev: 7991406204d68c9c30aeacd5200d09f256d17fe6) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-021-6/+6
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update 3.20.5 -> 3.21.0Alexander Kanavin2021-07-283-1/+1
| | | | | | | | (From OE-Core rev: 57a0ab3abf70963d13c6ccea275cd70d8531c0ff) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: upgrade 3.20.4 -> 3.20.5wangmy2021-07-023-1/+1
| | | | | | | | (From OE-Core rev: f3e9b1fedfdc8bf6829db041fd15e3b8216acbf9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update 3.20.3 -> 3.20.4Alexander Kanavin2021-06-263-1/+1
| | | | | | | | | | (From OE-Core rev: 312b31a71a793851451e0860f162b8a65ec80835) (From OE-Core rev: fca0d1a265a1bb2567cee203e5fea99c13e252b5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: upgrade 3.20.2 -> 3.20.3wangmy2021-06-063-1/+1
| | | | | | | (From OE-Core rev: edfbd6f9e597387119d145db0742ba3290cccc2d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake-native: enabled zstd supportSamuli Piippo2021-05-271-1/+1
| | | | | | | | | | | | | | | | | CMake depends on having all formats supported and build issues can arise when zstd is not available: https://gitlab.kitware.com/cmake/cmake/-/issues/21552 Quote from a CMake dev: "As far as CMake's design is concerned, we have no optional formats. All should be supported. That's why we bundle sufficiently new versions of libarchive and libzstd. If a distro builds with an older libarchive that doesn't have zstd support, then that is not a proper packaging of CMake." (From OE-Core rev: 897d3695e11484cb5e62d63e4d6b0b4893605c56) Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update 3.20.1 -> 3.20.2Alexander Kanavin2021-05-254-3/+3
| | | | | | | (From OE-Core rev: fdc7283a05fa45c2a8fe7369ef741b61e26909e7) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update 3.19.5 -> 3.20.1Alexander Kanavin2021-05-095-126/+3
| | | | | | | | | | | | | | Remove 0002-cmake-Prevent-the-detection-of-Qt5.patch (patch purpose and failing scenarios unclear; disabling is better done through configuration options which are available for all of these items). License-Update: copyright years (From OE-Core rev: 6f3a4f224931866ab2e9758530efdb81d7ddb63d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: upgrade 3.19.3 -> 3.19.5Anuj Mittal2021-02-194-28/+1
| | | | | | | | | | Drop a patch which is no longer required as the issue has been fixed upstream. (From OE-Core rev: 5a6456bc0ded09d184987a70764ecb3c94be4ddd) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Upgrade 3.19.2 -> 3.19.3Vinícius Ossanes Aquino2021-01-303-1/+1
| | | | | | | (From OE-Core rev: d5d06fa31c81a9e0460edada18e6d3dbecd3d94a) Signed-off-by: Vinícius Ossanes Aquino <voa.aquino@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update 3.18.4 -> 3.19.2Alexander Kanavin2020-12-316-16/+43
| | | | | | | | | License-Update: only the first two lines contain licensing info (From OE-Core rev: 72f86e4e986b70600a746eb219315b81b0367be3) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update 3.18.2 -> 3.18.4Alexander Kanavin2020-10-303-1/+1
| | | | | | | (From OE-Core rev: 615d3b52a5447914aad0e880c89e9cf9778c07ed) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: whitelist CVE-2016-10642Ross Burton2020-09-081-0/+4
| | | | | | | | | | This CVE is specific to the npm package that can install cmake, so isn't relevant to our cmake recipe. (From OE-Core rev: 8e74ed809ec4c1f61264ecf5be4bc319e5e07766) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: upgrade 3.18.1 -> 3.18.2Alexander Kanavin2020-09-034-2/+2
| | | | | | | (From OE-Core rev: b8843d8781fc9312a5ff5551fc59b715b7e42b74) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update 3.17.3 -> 3.18.1Alexander Kanavin2020-08-258-20/+19
| | | | | | | (From OE-Core rev: 7a3db344543d3cf9d16640c4cff6084049bf3aca) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expat: Added ptestOleksandr2020-07-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For ptest support of expat package: - expat_2.2.9.bb recipe was switched on cmake-based building system to avoid cahnges in autotools build system which considered in upstream as potentially deprecated (https://github.com/libexpat/libexpat/issues/330). - cmake-native_3.17.3.bb recipe was forced to use bundled version of expat from CMake source tree. Therefore expat-native package has been removed from DEPENDS variable for cmake-native recipe. Without these changes, next dependency loop appears: Dependency loop #1 found: Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_compile (dependent Tasks ['cmake-native_3.17.3.bb:do_configure']) Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_install (dependent Tasks ['cmake-native_3.17.3.bb:do_compile']) Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_populate_sysroot (dependent Tasks ['cmake-native_3.17.3.bb:do_install']) Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_prepare_recipe_sysroot (dependent Tasks ['cmake-native_3.17.3.bb:do_populate_sysroot', 'ninja_1.10.0.bb:do_populate_sysroot', 'expat_2.2.9.bb:do_fetch']) Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_configure (dependent Tasks ['expat_2.2.9.bb:do_patch', 'expat_2.2.9.bb:do_prepare_recipe_sysroot', 'expat_2.2.9.bb:do_generate_toolchain_file', 'expat_2.2.9.bb:do_deploy_source_date_epoch']) Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_compile (dependent Tasks ['expat_2.2.9.bb:do_configure']) Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_install (dependent Tasks ['expat_2.2.9.bb:do_compile']) Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_populate_sysroot (dependent Tasks ['expat_2.2.9.bb:do_install']) Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_prepare_recipe_sysroot (dependent Tasks ['expat_2.2.9.bb:do_populate_sysroot', 'xz_5.2.5.bb:do_populate_sysroot', 'bzip2_1.0.8.bb:do_populate_sysroot', 'ncurses_6.2.bb:do_populate_sysroot', 'zlib_1.2.11.bb:do_populate_sysroot', 'cmake-native_3.17.3.bb:do_fetch', 'curl_7.71.1.bb:do_populate_sysroot']) Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_configure (dependent Tasks ['cmake-native_3.17.3.bb:do_deploy_source_date_epoch', 'cmake-native_3.17.3.bb:do_patch', 'cmake-native_3.17.3.bb:do_prepare_recipe_sysroot']) - run-ptest script that initalizes testing, copies testing executables' output to log file and measures execution time of each testing executable was added. - patch that implements output of each testcase result in testing exectutable was added. (From OE-Core rev: 3adba877e1b5e5f69a6d1501611624e2d3789a9b) Signed-off-by: Oleksandr Popovych <oleksandr.s.popovych@globallogic.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: allow chainloading of the toolchain fileSamuli Piippo2020-06-171-1/+1
| | | | | | | | | | Use path from CMAKE_CURRENT_LIST_FILE to load the cmake subscripts. This allows the toolchain file to be chainloaded from another toolchain file. (From OE-Core rev: 2d7597ee23b7c2adf40d77e8c35114a4d63aa854) Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update 3.16.5 -> 3.17.3Alexander Kanavin2020-06-045-13/+12
| | | | | | | | License-Update: copyright years (From OE-Core rev: d28a97792f31e3de73a2f35ace16599c4295738d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Update 3.16.1 -> 3.16.5Domarys Correa2020-03-213-2/+2
| | | | | | | (From OE-Core rev: cb1e9808f1606d2acfbf540631035f166f823324) Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: 3.15.5 -> 3.16.1Pascal Bach2019-12-167-13/+13
| | | | | | | | | Patches have been refreshed and all of meta-oe and oe-core was sucessfully built. (From OE-Core rev: 469bcfbfe25afd9c480c26f117b81d65cc305fbe) Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: upgrade 3.15.3 -> 3.15.5Wang Mingyu2019-12-043-2/+2
| | | | | | | | (From OE-Core rev: f5b3e39dbec9acaf7755b40172b2ce3f841b3a20) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Clarify BSD license variantChristophe PRIOUZEAU2019-10-151-1/+1
| | | | | | | | | The license of cmake is BSD-3-Clause (From OE-Core rev: 8621e32957ae67d096c10575a4046af372af60e9) Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: simplify over descriptive descriptions in devtoolsMaxime Roussin-Bélanger2019-10-151-3/+1
| | | | | | | | | | | | fix commandline -> command-line typo. according to: https://en.wikipedia.org/wiki/Command-line_interface https://wiki.debian.org/Apt (From OE-Core rev: ca7570d8c32c7cb5e3c620eee732fe070f4c6cb1) Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: add missing some description in devtoolsMaxime Roussin-Bélanger2019-10-081-0/+6
| | | | | | | (From OE-Core rev: 57075f3dede7ad25163deaf6686221dbe1b5ad02) Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: 3.15.2 -> 3.15.3Nathan Rossi2019-09-193-2/+2
| | | | | | | | | | Update to fix issues with Boost 1.71.0, see pull request: https://gitlab.kitware.com/cmake/cmake/merge_requests/3763 (From OE-Core rev: 89251c2227c38b528b52d56a59ffbe44f1af9cd3) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: 3.15.1 -> 3.15.2Pascal Bach2019-08-133-2/+2
| | | | | | | | | I rebuilt all cmake recipes from poky and meta-oe without issue. (From OE-Core rev: b1ebf9122a5670044998adb83ca7a5a6c5454eaa) Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: 3.14.5 -> 3.15.1Pascal Bach2019-08-127-41/+31
| | | | | | | | | | | The patches were refreshed with devtool. I rebuilt all cmake recipes from poky and meta-oe without issue. (From OE-Core rev: 022d642b0c8f464b451c543db50bb93012bce607) Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: 3.14.1 -> 3.14.5Pascal Bach2019-06-273-2/+2
| | | | | | | | | | | | | Fixes: - A bug with Visual Studio 2019 - An issue with target_link_libraries and PRIVATE - An issue with include_directories (From OE-Core rev: 116e876ffdb32d107271bb35e15a5ad951f64f65) Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake-native: Enable ccmake by default and depend on ncursesNathan Rossi2019-04-091-3/+2
| | | | | | | | | | Enable the building of the curses based ui for cmake. This depends on ncurses. (From OE-Core rev: a8397def4eebacb8876d021129309a6903b71b2f) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: 3.14.0 -> 3.14.1Pascal Bach2019-04-043-2/+2
| | | | | | | | | | | | | The FindFontconfig module added by 3.14.0 accidentally used uppercase FONTCONFIG_* variable names that do not match our conventions. 3.14.1 revises the module to use Fontconfig_* variable names. This is incompatible with 3.14.0 but since the module is new in the 3.14 series usage should not yet be widespread. (From OE-Core rev: 6c85363eea0278a6952e80edb549e80e1fcbdba7) Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: 3.13.4 -> 3.14.0Pascal Bach2019-03-297-26/+27
| | | | | | | | | | | | The copyright date changed in the license file, thus the hash change. CMake 3.14 fixes some issues with implicit include path that lead to errors with gcc not finding "stdlib.h" etc in include_next. (From OE-Core rev: ec2764aa4957b802ed2612dd7633aed5b941bfb0) Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update to 3.13.4Pascal Bach2019-02-145-7/+7
| | | | | | | | | | | | All patches have been rebased on top of the 3.13.4 release. I successfully built all CMake recipes in oe-core and meta-oe. (From OE-Core rev: f40a5da14ec688f751d6394ce9a997578904fd8d) Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Cc: Otavio Salvador <otavio.salvador@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake-native: Add --enable-ccache to configure optionsRobert Yang2019-01-261-0/+1
| | | | | | | | | | cmake-native requires --enable-ccache to enable ccache, target recipe doesn't need this since it is already handled by cmake.bbclass. (From OE-Core rev: 815056cb595c0f57b4d8867387420fe3bb28bdb2) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: do not look into native sysroot in the nativesdk environmentAlexander Kanavin2019-01-261-1/+1
| | | | | | | | | | | | | | | | | | I am not sure why we do this in the first place, but it is causing cmake to erroneously pick up items from the native sysroot when building for the target and the target item is missing, for example: https://autobuilder.yoctoproject.org/typhoon/#/builders/59/builds/198/steps/7/logs/step2c Note that for executable programs this variable is not referred to, as set by set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER ) in the same file. (From OE-Core rev: cd1c0a0631ad128b25e97f047750579caead051a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake-native: Set --parallel for configureRobert Yang2019-01-031-1/+3
| | | | | | | | | This can save do_configure's time from 330s to 60s on my host. (From OE-Core rev: c22b0bf66a28324da66caf0660f171cc279a1f2b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Upgrade 3.12.1 -> 3.12.2Otavio Salvador2018-09-213-2/+2
| | | | | | | | (From OE-Core rev: a585c51f8107e52cf7fa16b46b889b3f81eca600) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Update 3.11.4 -> 3.12.1Otavio Salvador2018-09-058-30/+32
| | | | | | | | | | | | | | | | This updates CMake to the 3.12.1 stable release. All patches were rebase on top of the new source file and all them applied without changes. The number of patches has changed as all them were applied on the Git tree and re-exported, to avoid any fuzzy warnings. License-Update: new contributor added in Copyright.txt (From OE-Core rev: 439be401cd642937b45796489e8c10aa5238a963) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake-native: fix to function correctly in case of eSDKChen Qi2018-08-231-1/+15
| | | | | | | | | | | | | | | | | | | | Our eSDK is expected to provide traditional SDK's functionality. But for cmake, it could not function well in eSDK. This problem is discovered by the assimp.py test case. The error message is as below. testsdkext/tmp/sysroots/x86_64/usr/lib/libz.so: error adding symbols: file in wrong format collect2: error: ld returned 1 exit status The problem is about cmake-native being unable to find the correct lib. nativesdk-cmake has solved this problem. So make use of the solution to solve the eSDK problem. (From OE-Core rev: c0561e930e688890eb5feb4521b2de196137227a) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: fix compiling some C++ projects with Yocto SDK and GCCUrs Fässler2018-08-141-0/+1
| | | | | | | | | | | | | Setting CMAKE_SYSROOT in the toolchain file allows CMake to correctly remove user-provided system include directories pointing to <sysroot>/usr/include. The mentioned projects failed with "stdlib.h: No such file or directory #include_next <stdlib.h>". (From OE-Core rev: cb42802f2fe1760f894a435b07286bca3a220364) Signed-off-by: Urs Fässler <urs.fassler@bbv.ch> Signed-off-by: Raphael Freudiger <raphael.freudiger@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>