Skip to main content
summaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2018-11-22Bug 540373: Standard .settings auto appliedJonah Graham130-333/+16493
The releng/scripts/apply_jdt_prefs_to_all_projects.sh was run to copy standard settings to all other projects. Change-Id: I4436c947d7f0142f56b709e661379c3eb54f666b
2018-11-22Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.shJonah Graham1448-4730/+9240
Change-Id: Ifbb1d5af2a00bd5634dea200320e8c4303ffca6c
2018-11-22Bug 540371: normalize files before applying EPLv2Jonah Graham7-7/+14
Change-Id: I8bfd427bba1df18579d6d5e58ad1e5d704485050
2018-11-20Bug 540373: Normalize newlines with .gitattributesJonah Graham28-2043/+2043
There is also a new script to verify completeness of .gitattributes: releng/scripts/verify_gitattributes.sh Change-Id: I2ce270852ab54b66b6c474a6ec94203fe5bba78b
2018-11-02Bug 540699 - NoClassDefFoundError in AutotoolsNewMakeGeneratorJeff Johnston1-1/+1
- use of CommandLaunchManager requires higher version of cdt.core than Autotools specified so up to 6.5.0 Change-Id: I315e69defeee9d7d1e6c016edff2d96013fe13e9
2018-11-01Remove NewMakeProjectPreferencePage (unused)Marc-Andre Laperle3-128/+1
It is not used anywhere and it's internal. Change-Id: I4e157ec7fd1184118aea8f6bef35a850dfeb0945 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-10-30Bug 540610 - Add Automatic-Module-Name headerKarsten Thoms21-0/+21
Change-Id: Ia990b24469751050dd9ec8f9b5550804816308b3 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-10-29Bug 540523 - NullPointerException in MesonPropertyPage.performOk methodJeff Johnston1-8/+10
- add check that buildConfig field has been set before performing any activities on it Change-Id: If3ab7a0b20b54a9c16b26902c06b615e4c514ffa (cherry picked from commit 903109039312886e637a4599a67ffec3298ef64a)
2018-10-24Bug 540367 - Enable Reproducible Version QualifiersWilliam Riley1-0/+1
Change-Id: I1ccd2330951a83a7632c67a6274b7527cd9f237c
2018-10-23Bug 540367 - Increment version numbersWilliam Riley20-20/+20
Change-Id: I4a355170a7075f0a98ba3c1a5131c235c89b07d2
2018-10-22Bug 540369 - HeadlessBuilder: change private to protectedEvgueni Driouk1-28/+28
Change-Id: Ib8ca36aa50ce6060d4f8fb14f5b74c3662bc8862 Signed-off-by: Evgueni Driouk <Evgueni.Driouk@arm.com>
2018-10-09Bug 539882: Applicability calculator should be called with option categoryTorbjörn Svensson6-2/+193
In some situations, it's convenient to create option categories on the abstract tool and use an option applicability calculator to hide the option category if no option is added to the category in an extending instance of the tool. To make the decision, the calculator needs to know what category is to be checked. Change-Id: Id4a269ee583f1f3dee88dee797ba89a0e92d1a42 Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2018-10-03Bug 535903 - buildMesonProject test is unstableJeff Johnston3-0/+6
- fix previous fix to refresh the lines after each second of waiting for build to finish Change-Id: Ieb6e5d7885603c0e160ffe8bc19f4a30646620ab
2018-10-02Bug 535903 - buildMesonProject test is unstableJeff Johnston3-8/+48
- add wait for final String which may be delayed due to scanner info refresh Change-Id: Ib5c001b03cfb93335bf7b6dea2ef10a95e0bf856
2018-08-14Bug 537924: Unable to build javadoc maven targetHansruedi Patzen1-1/+1
Turns off doclint for Java 1.8 and greater because the javadocs are incomplete and won't build otherwise. Some files also had encoding issues with some characters which caused the javadoc build to fail, these characters have been replaced. Change-Id: I04690644bec6d7c3219cb0438cb3db6593fefd3a Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
2018-08-02Bug 537632 - Meson Property Pages missing some fields after configureJeff Johnston1-104/+136
- fix MesonPropertyPage logic concerning a configured meson project - for possible values, add "-" and "/" as valid characters - in state flow, don't just wait for blank lines, an option header can occur in the middle of a group or a new option group name can also occur Change-Id: I2c6c8f9fb15db0425f03e422b20b58ace5234fd4
2018-08-01Bug 537118 - CMake and Meson integration now working on Windows.François Godin2-19/+7
- The commands are launched directly instead of using the shell (/bin/sh) which is not available on Windows. Change-Id: I5f8d99a04da1c860bcd37d138103a1bd4e501547 Signed-off-by: François Godin <copelnug@gmail.com>
2018-07-20Bug 537211 - Error running Builtin Specs Detector (closed project)Michael Keppler1-0/+3
Just check for the resource being accessible immediately before trying to delete markers of it. Change-Id: Ic359dc5a5a865a981847c6da1dd2e8cc312b3bd9 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2018-07-18Bug 537139 - Checkbox label should not end with a dotMichael Keppler1-2/+2
Remove the dot from the checkbox label. Change-Id: Ic224f7e14bbd82cbeb734edd639db84063b6c5a2 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2018-07-17Bug 536413 - ConcurrentModificationException when indexingJeff Johnston1-4/+8
- apply patch submitted by duh-sa-sekirom@hotmail.com - in GCCToolChain join the threads that do include path and macro searches before waiting for process so as to prevent a ConcurrentModificationException Change-Id: Iefe6f013007b7bbf00117b5295b5e27489a72834
2018-07-06autotools: Use mylyn docs 3.0.25 to build docs.Alexander Kurtakov1-1/+1
Change-Id: I5aaf00d2b6299f8da57522a6ad86370f4c7d3717 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-07-04Bug 536363 - Meson project include paths wrong when using ccacheJeff Johnston1-2/+9
- fix GCCToolChain and ContainerGCCToolChain to not blindly take the first token in the command string when processing scannerinfo; if it is "ccache", take the second token instead Change-Id: I4b2b7dfaccae6f3ec968bbe4217c57994ad71963
2018-06-16Bug 535972 deal with relative include paths in GCC scanner infoDoug Schaefer1-0/+3
We weren't dealting with relative include paths returned from the call to gcc -E properly. Resolves them against the build directory before checking if their a directory. Results in them added. Tested with ESP-IDF's feature/cmake branch. Change-Id: I1e2583e03cce6380ee4382146b177978c9c81806 (cherry picked from commit 3b44424539ec13eaf9df2eab2f2b8ab9b2df8901)
2018-06-05[releng] Bump version to 9.6.0Jonah Graham10-10/+10
Change-Id: I1618eaeab14b421155af733a73e36f6e37ea0b85
2018-05-30Bug 511161: Early fail on non-absolute URIs when looking for files in workspaceJonah Graham1-0/+5
Change-Id: Idefa850b3d43e13d878d5a19bd89bd42ee1c534f
2018-05-29Bug 535091 separate out the two streams for macros and defines.Doug Schaefer1-20/+39
The output of the call to gcc to pick out the defines and include paths produces them on different streams, defines on stdout and paths on stderr. Separate the scanning of the two into two threads. Change-Id: I3173d3619e53d13a51a6e283eb320a618daacf21
2018-05-17[534454] Fixed GCC build parser for simple definesEric Woestman2-4/+5
Changed GCC build parser to handle simple defines like "-D FOO" and defines them to 1. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=534454 Change-Id: Ic9065914bc82dafc43d0814f4fed27a26eeeeb28 Signed-off-by: Eric Woestman <woestman@ensoftcorp.com>
2018-05-09Bug 330204 - Use ManagedBuildManager to buildTorbjörn Svensson1-31/+3
The UI is using ManagedBuildManager to build a specified set of configurations. Insead of duplicating the logic (since clean does not support argument transfer from HeadlessBuilder all the way to CommonBuilder), call the public function for building a set of configurations. WARNING: This fix is relying on a race condition in ManagedBuildManager.buildConfigurations() since that method swaps the "active configuration" while invoking the builder for the clean target. Change-Id: I422a22e43a0acbef85420c04028475d61ad2ff85 Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2018-05-06Extend GCC OS detectionDoug Schaefer1-0/+9
If we can't tell from the second element, try the third. If it's linux, we're good. If it's elf, use the second element. This catches the esp32 xtensa compiler which is driving this change and make sure we don't mess up too many others. Change-Id: I4650e5fa309677c596e9f5f64f50bcc2ebdef334
2018-05-06Revert "Default to the middle element of the gcc tuple for the os name."Doug Schaefer1-2/+0
This reverts commit 3feb726cf56193c1a24d02381e8bbac763dca8dd. Change-Id: I98d70947084000b165151b4cf5b43d9b07ca74e7
2018-05-05Default to the middle element of the gcc tuple for the os name.Doug Schaefer1-0/+2
Change-Id: Iea4ae6a8977406d06bf67719c8281e1062c5a12d
2018-05-03Add dynamic variable for build directory of active core build configDoug Schaefer1-1/+0
This will allow us to use that value in external tool launches such as those used by the Serial Flash launch configuration. Also removal of the missing src source folder entry in meson.ui.editor. Change-Id: I1033bdc0c18c9822490a9b8602cef83a42f7262d
2018-04-26Bug 533888 - Simplify Meson Core Build to use startBuildProcessJeff Johnston5-94/+80
- fix MesonBuildConfiguration to use startBuildProcess instead of CommandLauncherManager - change CBuildConfiguration startBuildProcess() method to accept a build directory and to replace environment variables based on input parameter - fix CBuildConfiguration watchProcess routines to ensure that the ReaderThreads have completed processing output to the console - change StandardBuildConfiguration and CMakeBuildConfiguration to pass the working directory to startBuildProcess Change-Id: Icb4f2d076f0e6bb1513b20f6f198f720eae07e51
2018-04-24Update build machinery.Alexander Kurtakov1-1/+1
Move to latest CBI plugins 1.1.5. Use mylyn docs 3.0.24 in autotools docs generation. Change-Id: I077afde458c654e40db44bec77b3049efe9715af Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-04-20Bug 533842 - Fix Launchbar for enabled/disabled Docker ConnectionsJeff Johnston1-14/+13
- fix CMakeBuildConfigurationProvider to not verify if a toolchain file exists which doesn't occur for Container Build configurations - add new ICBuildConfigurationManager2 interface that adds new recheckConfigs() method, make CBuildConfigurationManager implement this new interface - add new recheckConfigs() method to CBuildConfigurationManager so that if a Docker Connection is enabled, the list of invalid configs can be rechecked and those that are now valid can be removed from the noconfigs list - have ContainerGCCToolChainProvider implement IDockerConnectionManagerListener and register itself as a listener during init - add new changeEvent() method as part of a listener that will add toolchains for connections that are added/enabled and similarly will delete toolchains for connections that are removed/disabled - do the same with ContainerTargetTypeProvider (making it be an IDockerConnectionManagerListener and adding/deleting targets based on whether a Docker Connection is added/enabled or deleted/disabled - as well during the init process of ContainerTargetTypeProvider remove any targets for Connections that aren't established Change-Id: Id5e9415eaa770ef7f6ba1ddd11312ed003585391
2018-04-17Bug 528940 - Execute pre/post build stepSamuel Hultgren2-1/+84
Execute the pre and post build steps as part of the build when using the internal builder in parallel mode. Change-Id: I840da0d7025597dc5b3edc1bb54a5ca45b6e2e86 Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com> Signed-off-by: Samuel Hultgren <samuel.hultgren@st.com>
2018-04-17Bug 533444 - Add Container Build support to CMake ProjectsJeff Johnston12-61/+605
- fix CMakePropertyPage to check if the active config is a Container build in which case dynamically build the page using the results of a cmake -LAH call which will give the various configuration values that can be changed - add new CMakePropertyCombo, CMakePropertyText, CMakeUtils and ICMakePropertyPageControl classes - change CMakeBuildConfiguration build methods to use startBuildProcess to run commands similar to what StandardBuildConfiguration does now - change CMakeBuildConfigurationProvider to use a container image name to form a build directory so that differnt image targets are differentiated and easy for the user to figure out what they are for - fix main.cpp sample CMake program to actually be a hello world program Change-Id: Iea9e2b5cc6895bc95194e28b131a3fb7e3b670ca
2018-04-17Bug 217674 - Added incremental build supportSamuel Hultgren2-4/+96
When building a project with parallel builder using internal builder, the entire project is rebuilt even if an incremental build was issued. Store the rebuild state so that next build knows what has already been compiled. Change-Id: I1d1836f072bf13b03423fde7b5c427d41e47391e Signed-off-by: Samuel Hultgren <samuel.hultgren@st.com>
2018-04-16Adjust Meson NewManuanNinjaTestJeff Johnston1-2/+2
- test sometimes is printing extra info like level of ninja found Change-Id: I2622f79bfc8320a8bd2bf0f6b7a8fe3bb73de55f
2018-04-16Bug 533222 - Add Container Build support to Std Make Core BuildJeff Johnston1-7/+13
- add new getConsoleHeader() method to ICBuildCommandLauncher interface and ContainerCommandLauncher class - modify MakefileBuildConfigurationProvider to create build configurations based on an Image name when building for Container and as well support the linux-container os that is used for Container targets - add new IConsoleParser2 interface that extends IConsoleParser and adds new processLine method that takes a List of Job as a parameter - make CBuildConfiguration implement IConsoleParser2 and add new processLine method - modify watchProcess to recognize an IConsoleParser2 and pass a Job List then wait for all jobs to finish before calling shutdown() and possibly reindex - add new IToolChain2 interface with startBuildProcess() method - add new startBuildProcess() method to CBuildConfiguration to look for new IToolChain2 and use its startBuildProcess() method to perform the build - make ContainerGCCToolChain implement IToolChain2 and add new startBuildProcess() method to build in Container - change StandardBuildConfiguration to use startBuildProcess() to do build and clean Change-Id: Icae9a55ef6abfa1b7f611544ad591b6062c72585
2018-04-12Bug 533473 - Dynamically hide option categoriesTorbjörn Svensson2-3/+17
Allow applicabilityCalculator to hide optionCategory items that are located on the toolchain. Show in the schema that applicabilityCalculator is a valid attribute for optionCategory. Change-Id: I6adb22b0af2a2c7fe45ea142049fcc2687d105b9 Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2018-03-29Enable Meson UI testsJeff Johnston2-5/+4
Change-Id: I5f0a554c92e1568dd2cda69c198640c2a99769ec
2018-03-28Update Meson UI testsJeff Johnston5-36/+384
- add new NewManualNinjaTest to test the Run ninja context menu item - add a check that Project->Clean... works for Meson projects in NewMesonProjectTest - fix all tests to substitute the project location instead of hard-coding it - fix the build ninja code to use env to run so that environment variables can be overridden from run ninja dialog - add new test to AutomatedIntegrationSuite for Meson UI tests Change-Id: I0e338df6935f343d6ffbce99a83265d252ea37a6
2018-03-27Add a new Meson property page testJeff Johnston3-3/+411
- add NewMesonConfigureTest.java - fix extraneous "meson" string in console output when performing a meson configure - add new test to AutomatedIntegrationSuite for Meson UI test plug-in Change-Id: Ic10520a0d420d380df95117b69200409a48226b3
2018-03-27Bug 532967 - Meson config properties not being saved/restored properlyJeff Johnston2-10/+14
- change splitting logic in MesonPropertyPage to split the arg string using -- which precedes args and to perform trim() operation to remove spaces between - don't process an empty arg after splitting - fix the boolean arg logic to use parseBoolean instead of getBoolean which is only for system properties Change-Id: I390911bbf9d7f63f0cf6a13278f3644fe175847b
2018-03-26Bug 532917 - env vars in Meson properties causes failures to occurJeff Johnston1-12/+16
- fix MesonBuildConfiguration to check if any environment variables have been specified in properties page and if so, to change the command to run /usr/bin/env ENVVARS /bin/sh -c "meson ..." - using env will cause the current env to be used (both locally and in a Container where the env has been set up) and modify it according to what the user specifies Change-Id: Ide3997cf78edf65857dea3119f0a9d71679cfe68
2018-03-23Update Meson UI testJeff Johnston3-19/+121
- update test for create, build, and run Change-Id: I8a7d43336f8be28bc5cbd567dffed5f4fdc1b46f
2018-03-22Add Meson UI tests plug-inJeff Johnston28-0/+1558
Change-Id: Ib5af6980e90963876307f719a73f911394e72e1a
2018-03-19Bug 532420 - Make Container Core Build indexing more efficientJeff Johnston1-1/+9
- add new ICBuildConfiguration2 to keep API checks happy - remove refreshScannerInfo method from ICBuildConfiguration and put it in ICBuildConfiguration2 - make CBuildConfiguration implement ICBuildConfiguration2 - update ContainerPropertyVolumesModel to use new Docker plug-ins using docker-client 8.9.2. - fix MesonBuildConfiguration to use a job for each compile line being processed, then wait until all jobs are done before causing an reindex to occur (this will maximize parallelism when building in Containers) - fix ContainerCommandLauncherFactory to save the project so we can exclude project directories when copying header files using the new Docker Tooling interfaces - fix CoreBuildLaunchBarTracker to use ICBuildConfiguration2 interface to make the call to refreshScannerInfo Change-Id: I2138f5111614e7821e46c22731397a01035eac0a
2018-03-09Sonar fixes in Meson plugins.Alexander Kurtakov9-43/+38
Change-Id: I27a75d6dac41ae820d6af0b7c30922eb5bac58f7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>

Back to the top