Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2018-03-09Use lamdbas.Alexander Kurtakov2-31/+18
Change-Id: Iece00d9c1af64bb0218a41519e995d33d8edee31 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-03-07Add Meson docs plug-inJeff Johnston31-1/+804
Change-Id: I9153edd6f2708de475855ca3dbdb6323432e37ac
2018-03-06Bug 531985 - Support Container build with new Core BuildJeff Johnston8-47/+152
- add support for Container build to Meson - add fixes to MesonBuildConfiguration clean build to use sh -c like normal meson build - add new refreshScannerInfo method to MesonBuildConfiguration to re-process the commands json file so indexing will correctly switch from local to Container build and vice-versa - add MESON_PROJECT_ARGUMENTS to IMesonConstants - in MesonBuildConfigurationProvider getCBuildConfiguration method, remove checks for toolChainfile and for Container build, name the configuration based on the image name Change-Id: Ia8a85c05e0cb9d46d2987ed4d39fcee914302467
2018-03-01Remove extra colon in CMake build output.Doug Schaefer1-1/+1
Change-Id: I624d7e7079a3c1473fb591e24af1f7dcdd6617dd
2018-02-26Move to wikitext 3.0.23.Alexander Kurtakov1-1/+1
Change-Id: Iaf8a7698106bf38578907f4fdab27f0cc20a0763 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-02-21Bug 530000 - Add Meson Build supportAlexander Kurtakov10-0/+391
Editors for meson.build, meson_options.txt and *.ninja files. Just highlighting for now based on textmate grammars. Added tm4e to target to enable resolving tm4e bundles. Change-Id: I22859b2d39a96dcd777ee96d2a5e7465e4884839 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-02-20Bug 530000 - Add Meson Build supportJeff Johnston4-44/+52
- use sh -c to invoke meson and ninja commands so that the default environment including PATH is set up - don't bother trying to find the commands locally and don't bother trying to find local environment (only use env options from property page or run ninja command) - add a check after running meson to ensure that ninja.build file gets created, otherwise issue error message and stop build - fix comments for RunNinjaPage - add future Container support by allowing a special target OS when checking for isLocal build Change-Id: Ie8d736c0909b44fe8db14265afbc8b05262b51f3
2018-02-20Bug 531360 - Run ninja menu item is showing up in Docker viewsJeff Johnston1-7/+24
- fix visibleWhen attribute of menuContribution - also fix some warnings due to command not being set up properly Change-Id: I8b5239b1edcd5da20201e71d23dce3bfb18c6d0c
2018-02-15Fix up handling of esp32 on Windows.Doug Schaefer1-22/+55
Need to convert paths from MSYS style to proper Windows native. Change-Id: I8c459274a1eb33af026c1ae383db67c8cbcdc29f (cherry picked from commit fea65eeb1590dd593fcc7e66d5e5ba9d59df26df)
2018-02-14Apply CMake changes from Bug 530673 to MesonJeff Johnston6-17/+36
- Fix issue with Meson and changing toolchains since Meson is based on CMake plug-ins - Cleaned up add and remove of toolchain files and handling of when a toolchain changes for a config Change-Id: I147a30454c69e3d8d86fc50c561a1667ddfb5df3
2018-02-14Bug 531125 - Tupled gcc toolchains should not be the local defaultJeff Johnston1-4/+19
- change ToolChainManager so that when creating the types map for the first time, make it a LinkedHashMap instead of HashMap so order of input is preserved (first in = first out) - fix GCCPathToolChainProvider so that it adds non-tupled gcc to the ToolChainManger before adding any tupled version Change-Id: I84602a98dd4949a2f9847d4e72c428cdedd60688
2018-02-14Bug 531131 - Consider superclass value to avoid unnecessary changesWilliam Riley3-44/+49
Consider the superclass value when setting pre & post build steps, error parsers, tool commands & tool command line patterns to avoid changing the .cproject file unnecessary Change-Id: Ida323982fe5bce7b0dd9b70eb23a6ee778be5403 Signed-off-by: William Riley <william.riley@renesas.com>
2018-02-13Bug 531043 - Display errors/warning count for makefile & cmake buildsWilliam Riley2-6/+7
Change-Id: I8b2ab525af137ddd890f5713a3278cce6d17bffd Signed-off-by: William Riley <william.riley@renesas.com>
2018-02-13Bug 531106 - Modify MBS option serialize to handle empty string listsWilliam Riley3-11/+235
Store a flag to indicate if an empty or null list. Existing projects without flag will be considered as non-empty when loaded to maintain existing behaviour for them. Change-Id: I745c887eb2888910c6e76d5bc057d592a3d8fb3a Signed-off-by: William Riley <william.riley@renesas.com>
2018-02-13[releng] Bump version to 9.5.0Jonah Graham7-7/+7
Change-Id: Ie342f02f7aae633f41a7ab7d39c21e056793a04a
2018-02-12Bug 531028 - Pass build config to all builders during headless buildWilliam Riley1-1/+8
Change-Id: Ia802d07e9da88fcb42274633d4321212d5eb6096 Signed-off-by: William Riley <william.riley@renesas.com>
2018-02-10autotools: Automate regenerating docsAlexander Kurtakov12-42/+78
Don't rely on hardcoded path to wikitext but instead use maven to download it and call ant properly. Moved to latest 3.0.22 wikitext. Regenerated the help with the latest wikitext too. To auto regenerat one has to call maven with -PregenHelp. Change-Id: Ie30779dfa4bd1c52dfa20411f810c96288daf509 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-02-09Bug 530941 - Ignore editor file unless editor is activeWilliam Riley1-4/+22
Change-Id: Ie755f80cc01f55c0d4b9b704ff40008b8bb841af Signed-off-by: William Riley <william.riley@renesas.com>
2018-02-08meson: Enable warningsAlexander Kurtakov17-30/+267
And fix them. Change-Id: I6a1594559504764aeb325f78fa47ff103b2183a9 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-02-08Remove unused private methods.Alexander Kurtakov4-157/+3
Change-Id: Ie3c9fa60313d7a14a1f633df2ced698e55dd75ee Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-02-08Add Run ninja command context menu item for Meson projectsJeff Johnston14-56/+811
- add new RunNinjaCommandHandler, RunNinja, AbstractMesonCommandHandler, and RunNinjaPage classes to support running ninja manually with env variables added and options specified - add a new build method to MesonBuildConfiguration which specifies ninja options and environment variables - add SWTImagesFactory for supplying the meson logo image - add WizardMessages class for specifying messages for meson ui wizards - add new MesonUtils class and move stripEnvVars from MesonBuildConfiguration to here - add new constants to IMesonConstants interface Change-Id: I8d635b2bd96792800bb07f4b3f1730be6e41eb24
2018-02-08Remove useless imports.Alexander Kurtakov7-17/+7
Change-Id: Ie59d3942ea1df97440bd84e46a24753ed6ed429b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-02-08Remove useless code.Alexander Kurtakov1-5/+1
* Else clause. * Unused constructor in private class. Change-Id: I51d9ac08000e9ef6364dac96e96297733335a367 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-02-08Remove redundant superinterface.Alexander Kurtakov2-5/+4
Change-Id: Idf96b85189c03b7a30772751617281806265dcbc Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-02-04Bug 530673 Fix issue with CMake and changing toolchains.Doug Schaefer4-15/+33
Cleaned up add and remove of toolchain files, handling of when a toolchain changes for a config, and the launch bar tracker to be more accurate with toolchains. Change-Id: I1a1efdf08a5f47058552c85404fe8d602d158e73
2018-01-31Bug 530000 - Add Meson Build supportJeff Johnston5-129/+211
- rewrite unconfigure Meson Property page logic to parse the output of meson --help and form the controls accordingly - do not add an entry for help option - add environment variable text entry to unconfigured property page to allow the user to add things such as CFLAGS=xxxxx - fix MesonBuildConfiguration to only use the MESON_ENV property when running meson for the first time and to prepend the current environment first to ensure local path, etc.. is still set, otherwise it won't be able to find commands it needs such as execvp - parse the environment text string to look for entries that use single or double quotes so that entries may use the = sign or spaces - when building, have ninja use the -v option so that the compile and link commands are output to the console Change-Id: I40d04234a7de74417c43f4c39bb2e21c86deb8a2
2018-01-31Bug 530478 - Relax AC_INIT macro validation in AutoconfEditorChin Huat Ang2-3/+7
When AutoconfEditor is set to 2.67 or newer, relax the validation of AC_INIT version string. Change-Id: I65221857905e867e3eea2de219ddf68c60f6d39b Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-01-30Bug 530000 - Add Meson Build supportJeff Johnston61-0/+3613
- initial contribution of Meson Build support based upon Core Build CMake Change-Id: I9a91901254b7750f4f5eef69ed5375a5c1cce0a4
2018-01-15Bug 529448 : Allows build debug level setting to be restored to propercartu38 opendev1-4/+4
value Change-Id: I64182e241e91007fb1c1570c6c0b5231632533d4 Signed-off-by: cartu38 opendev <cartu38.opendev@gmail.com>
2018-01-11Bug 528169 - Run autotools commands within containersJeff Johnston2-9/+38
- add new optional build property to run all Autotool commands in Container - for Autotool nature projects only, add a checkbox to the ContainerPropertyTab to turn this new option on/off - change the AbstractAutotoolsHandler class to look at the optional build properties for the project to determine if the fallback CommandLauncher used to run commands should come from the CommandLauncherManager to run in Container or to a local CommandLauncher - change AutotoolsNewMakeGenerator the same way - add new messages as needed (add a tooltip to warn user that choosing new option may cause inconsistencies for files shared among configurations) Change-Id: Id828ec3015f32f320d2247bd0577944164c71df8
2018-01-10Bug 529121 - NPE fix for projects created with CMakeDoug Schaefer1-1/+3
Not sure what changed but the launcher for these projects is now returning null for an environment. Added a null check. Change-Id: I05c94bb77f951f417577d0c2a3e3b4b6b996214b (cherry picked from commit be9c1b833828d8bb01059579e32fa4c08c47ea4c)
2018-01-03Bug 529386 - NoSuchMethodError in AutotoolsNewMakeGenerator.runScriptJeff Johnston1-1/+1
- bump up org.eclipse.cdt.remote.core so that autotools.core can refer to the latest version in its dependencies Change-Id: I4ec198d7c5d367a4a479a1dd39839f3c2d8c4a96
2017-12-01Fixes for ESP32.CDT_9_4_branchDoug Schaefer1-3/+6
In the new toolchain wizard, the select button wasn't hooked up. So I turned it off. Also, we had no build settings tab on the serial launch. Change-Id: I811f579334889085f49d298878589109c5e4a228
2017-12-01Cleanup Core Build Preference pages.Doug Schaefer2-7/+0
Move Toolchains directly under C/C++ and rename to Core Build Toolchains. Add a label describing what the toolchains are for in hope of avoiding confusion with managed build. Also move Qt into C/C++. Change-Id: Ia1d76087c65b26562d1001243ea355c7ac32365e
2017-11-29Fix manual include/macro settings handling for GCCToolChain.Doug Schaefer1-8/+31
We weren't passing in the base settings to the compiler for discovery. Also had a bug in the defines regex that mishandled values with spaces in them. Change-Id: I48183bfc3f61056324da009e58327cdcfed8754a
2017-11-27Stop launch on error. Fix up set/get make commands.Doug Schaefer3-7/+39
We were missing the dialog to ask if you wanted to continue after build errors in a project. We were missing the method that provided the list of projects to do that check. Also while testing that noticed the handling of the build and clean command UI was broken with make projects. Change-Id: I698e151672a114bb22c815f49d362b6413b9c315
2017-11-27Bug 527818 - Clean up handling of missing toolchain fileDoug Schaefer4-1/+22
If we're building for non-local targets we need a toolchain file. Print out an error message when it's missing at build time. Recover when one is added. Also a rider that makes sure the Makefile projects are marked experimental. Change-Id: I0c295dc5b3d71a04c60c3385ce790553f172859d
2017-11-22Hook up the old Include Paths and Symbols page to Makefile projs.Doug Schaefer2-2/+6
Makefile projects depend on build output parsing to pick up compiler options to use while indexing. Sometimes, that just doesn't work. As a back up we've always allowed users to manually add them to the project. Long ago when we had pure make projects we had UI for this. This change hooks that old UI up. It was a time before build configs so they get applied to them all but it serves it's role as a backup when users run into problems. Unmarked everything I use here from deprecated until we decide how to replace these with Core build config aware settings. Change-Id: I6fc4d48e5315df3c60c7591b026ae0a53a1f505e
2017-11-21Releng fixes, ensuring legal files are there. Removing projects.Doug Schaefer7-40/+91
Removed the empty debug.core.tests project. Also removed the utils-feature and remote-feature projects since these shouldn't be features. Change-Id: Ib5d297c626de5328e3421a1fc9346330d9907750
2017-11-20Set CC and CXX variables to toolchain compileCommands in std build.Doug Schaefer1-1/+5
Also set BUILD_MODE to the launch mode so the makefile can do different things based on the mode. Change template to add -g option for debug. Also fix a deadlock I detected due to side affect build folder creation. Change-Id: Ic7b13ba3238e6ef201cccb1b2bfc8dcc6956ea3a
2017-11-20Fix MSYS2 so that it's provider overrides the path provider.Doug Schaefer1-1/+10
Also handle case when launchMode is null when creating a build config. Change-Id: Ie70de785168c2e24c842d517c64a297ba44e24f4
2017-11-17Forgot to add the makefile templates to the build.Doug Schaefer1-1/+2
Change-Id: I538e8610f9e31963a2c8224079de1a2f19c565c3
2017-11-15Fix up leftover toolchain provider id usage.Doug Schaefer1-1/+1
The CMake toolchain file editor was not recording the correct toolchain. The same was also true for the toolchain selection in the build settings tab. Change-Id: I62e4c7ae0175da7c1b5ffb7f89e321a371a6e8e0
2017-11-10Fixes for scanner info for Makefile projects.Doug Schaefer3-12/+90
Using ESP-IDF (the ESP32 FreeRTOS SDK) on MSYS2 as a test bed. Making sure the indexer picks up as much as it can. Removed -j since that messes up build output parsing. Add UI so you can put it back if you want. Change-Id: I767c739dce1412c75fb56d0bb1efceb913883a5f
2017-11-10Add settings to Makefile build configs to build at project root.Doug Schaefer6-6/+170
Often Makefile projects are intended to be built from the project root directory, such as ESP32 IDF projects. This adds a setting to control that. Change-Id: I151ebf60a7609461d24e192a9d6418fccb737055
2017-11-08Add Makefile Projects to collection of core build project types.Doug Schaefer16-23/+332
Reuses the old makeNature. Reuses the StandardBuildConfiguration. Generates a pretty simple project for now. Also handles the case where you don't want to generate anything, just create an empty or on an existing source tree. Change-Id: I2f3cddc85d55792a2c537e37d4bc236a3073d930
2017-11-07Adjust Arduino to new GCCToolChain API and add type and id/name.Doug Schaefer1-9/+5
Change-Id: Ia089985425c7f1a6fe347c41a6a01e5ab16d8208
2017-11-07Hook up the clang toolchain now split out from GCC.Doug Schaefer9-108/+219
Change-Id: I6edba9e689d903546be3a65060c4ac1b9871167f
2017-11-07Implement ordering of toolchains.Doug Schaefer4-15/+54
Introduce toolchain types independent of providers. Change-Id: I2cf3145920fcf4e7132468b6e653d7ea3e211127
2017-11-05CMake - check for build files, clean up some UX.Doug Schaefer3-9/+16
Starting for Ninja, check for build.ninja file on whether to run CMake again. Need to do same for makefiles. Change default to run cmake --build instead of hardcoding ninja or make. Added message to the end of the build to know when it's done. Change-Id: Ibbb352ef7c64f6e1fcbe122ef0b73f2c91bb1aa7

Back to the top