1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

1147 commits

Author SHA1 Message Date
Torbjörn Svensson
cb9249314a Fixed "An entry for plugin.xml is required in bin.includes" warning
Change-Id: I6615465fb74c2e4df812e99cd1e5e8b0ead99de3
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-08-28 21:32:18 +02:00
Torbjörn Svensson
07b50ba2a2 Bug 521515: Do not rely on commit date for reproducible builds
As mentioned in
https://devblogs.microsoft.com/oldnewthing/20180103-00/?p=97705,
Microsoft has stopped using the _IMAGE_FILE_HEADER.TimeDateStamp as a
time stamp and rather as a hash of the source files to make the build
result predictable.

Change-Id: I4f4a7b9557330e4c478ef7fb25653144c5b2d4ad
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-08-27 15:42:44 -04:00
Jeff Johnston
05c45c0bae Bug 565142 - Support using CDT in Eclipse flatpak
- modify ProcessFactory to prefix commands with flatpak-spawn
  when running under Eclipse flatpak
- add new FlatpakLaunch class to dsf.gdb to do a prelaunch
  of gdbserver and set up remote port settings when debugging
  local C/C++ application under Eclipse flatpak
- add new tab to gdb when running under Eclipse flatpak
  to allow user to specify gdbserver and port number
- add new org.eclipse.cdt.flatpak.launcher plug-in which
  contains a FlatpakCommandLauncherFactory to handle copying
  header files from host to workspace when developing under
  Eclipse flatpak
- add new FlatpakCommandLauncher class which simply extends
  CommandLauncher and can be used for debugging purposes to
  distinguish from regular command launcher
- also add new FlatpakHeaderPreferencePage to allow C/C++ users
  to delete copied headers if needed
- dynamically add the headers preference page from
FlatpakCommandLaunchFactory
  if running under Eclipse flatpak
- add new ICommandLaunchFactory3 to add an interface to check if
  headers have been modified/removed and scanner info refresh
  is required
- add new org.eclipse.cdt.flatpak.launcher-feature
- give higher priority to ContainerCommandLauncherFactory so if
  running on Eclipse flatpak, the flatpak factory won't be chosen
  if both apply (i.e. building in a container but running on
  Eclipse flatpak)

Change-Id: Id68e60c4dd37c4494af10440231ac7b7bbec8d17
2020-08-25 13:45:33 +03:00
Jonah Graham
aa5d565542 Bug 566339: Restore lost bundles to CDT's p2 repo
These were lost accidentally in commit 2bd07a89ca
In the restore version use the core PDE way of including bundles,
rather than Tycho's <iu> extension as we don't need the extended
capabilities and having an editor that works is nicer. See Bug 566340

Change-Id: If78d34737957c322b1d068840fc6f17883857070
2020-08-24 22:26:19 -04:00
Jonah Graham
0c5093d6ff Bug 566334: Turn on API Tooling & Analysis for all bundles
Change-Id: I3cb5645eba52b0cd0e9a71069264d9c589159107
2020-08-24 17:50:56 -04:00
Jonah Graham
fd9382d8a9 Bug 562494: Update BREE to Java 11
Change-Id: I0c91aafc0cb1b179936acbd4c9df2d961899e3fa
2020-08-24 17:50:56 -04:00
Jonah Graham
fbc117fd59 [releng] Update target platform Eclipse 4.17 M3
Change-Id: I5538eaa97b655137730f03a3be03af2e920e7b2e
2020-08-23 07:52:12 -04:00
Jonah Graham
a588063b23 Bug 521515: Automatically check .so, .dll, .exe files for valid deps
Because we build cross platform, we want to make sure no unexpected
dependencies are introduced on newer or non-universal libraries
in the native code.

Change-Id: Ib8ffeb5f374bcd04514c31dca9d8297fed70343a
2020-08-18 21:43:21 -04:00
Torbjörn Svensson
a025f75771 Bug 521515: Generate JNI header files as part of build
Also generate JNI header for serial component. This component does not
really need it since the implementation is in one file only, but this
would at least throw an error if the java part changes and the native
part is not updated accordingly.

Change-Id: Id598410c322580bdda37c905ed08627390c913ba
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-08-13 10:13:52 +02:00
Jonah Graham
7120731766 Bug 521515: Generate JNI header files as part of build
Change-Id: Ia92da44f964e1934b2c32d2536f3ec27c03d5d59
2020-08-12 21:30:42 -04:00
Jonah Graham
ba24afc3a4 Bug 521515: Save the log file all the time when building natives
Change-Id: I11b149d94f837dcb9537682a55551add289f8924
2020-08-12 21:30:42 -04:00
Jonah Graham
149ccaffcc Bug 565836: Add linux aarch64 for natives
Note: the Windows dll is not actually modified, apart from the embedded
date stamp to match the date of the jni/ modification

Also-by: Liviu Ionescu <ilg@livius.net>
Change-Id: Ice3d5e7ae5999a0e4d1866e76e515a91e30e9f11
2020-08-11 17:17:34 -04:00
Torbjörn Svensson
00a52086c9 Bug 521515: Adopt native build support on jenkins
Change-Id: I6aee7a7c94f93375d3a2ddb0171602a27a6873e7
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-08-06 20:55:42 -04:00
Torbjörn Svensson
69acfe4819 Bug 521515: Align directory name of native source code
The native directory can contain both libraries and utilities. In
Gerrit https://git.eclipse.org/r/c/cdt/org.eclipse.cdt/+/165270,
there is a utility, so the directory name "jni", or even "library" does
not work. In order to support both utilities and libraries, the
suggested name of the directory is "native_src" and thus, this commit
syncs that change in o.e.c.native.serial.

Change-Id: Iafa9ce9ae1dca7ef563ab397e8b3eb0b8642372d
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-08-06 20:54:52 -04:00
Jonah Graham
2bd07a89ca Bug 559674: Include only "primary" cmake.is support by default
The vendor specific support files need to be installed separately.
Includes changing the bundles display names to match the CMake main bundle
so that in the install wizard it is clear(er) what they work with.

Change-Id: I12ca155228e906c6c38fe37e37e8ce08d05a2452
2020-08-04 16:23:03 -04:00
Jonah Graham
c6f2eb5588 [releng] Update self-referenced CDT version in target
Change-Id: Ibf8f2f01d97d1d8bf8fa09483170e70372b99d26
2020-08-03 14:56:33 -04:00
Jonah Graham
285c75837e [releng] Update to Eclipse platform 4.17 M2 contribution
Change-Id: I394fd614400cae4b4ee3efe33cedc4dea67fb7f5
2020-08-03 13:03:43 -04:00
Alexander Kurtakov
0947f20764 Update build-helper-maven-plugin to 3.2.0.
Change-Id: Ifeef48c2d200c081391da693c5326b89872550f6
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-07-22 09:34:23 +03:00
Marc-Andre Laperle
742dc05cb8 [releng] Remove explicit mentions of com.sun.jna.* in target platform
They come along with org.eclipse.sdk feature anyway.
org.eclipse.sdk -> org.eclipse.platform
 -> org.eclipse.rcp -> org.eclipse.e4.rcp -> com.sun.jna

Change-Id: Icc64906305b1ee96ff8a3a8850d681bf854ea784
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2020-07-13 23:06:46 -04:00
Jonah Graham
12ce6020e7 [releng] Add wildwebdeveloper to target platform
The Linuxtools, as of I32779335ee3f5c94d733c3fa68d1b593f9206667,
requires WWD node fragments

Change-Id: I7c8f9553c159f74941d422d136f929bb322aac27
2020-07-13 22:33:21 -04:00
Torbjörn Svensson
1073159011 Only validate features committed to git
Change-Id: Icd2427c515bb0cc79e9179ba00216c173264ca17
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-07-12 18:04:20 -04:00
Torbjörn Svensson
6e19332c33 Mark exe and dll files as executable
When git is configured to honor executable bit for files
(core.fileMode=true), the .exe and .dll files in the
repository needs to have execute bit set to be able to run
Eclipse in runtime mode on Windows.
For more details:
https://git-scm.com/docs/git-config#Documentation/git-config.txt-corefileMode
"Git for Windows" does not appear to have this problem,
but at least Cygwin does.

Change-Id: I4c164f6d99219d461c301189f101ccbf63debb50
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-07-12 16:53:47 -04:00
Alexander Fedorov
063301deca Bug 565144 - CDT.setup and .target should be configured for 2020-09
Changes for .setup and .target
* add "com.sun.jna" bundle from Orbit
* add "com.sun.jna.platform" bundle from Orbit

Changes for "org.eclipse.cdt.debug.application.product":
* remove "org.eclipse.update.configurator" bundle
* add "org.eclipse.jface.notifications" bundle
* add "com.sun.jna" bundle
* add "com.sun.jna.platform" bundle

Change-Id: Ic1a0b2d6d5189c9f3652def987d3c6a0daa4c7ee
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-07-11 19:10:58 +03:00
Alexander Fedorov
c48d1403a7 Bug 565144 - CDT.setup should be configured for 2020-09 development
Switch Eclipse Platform to 4.17 M1 for .setup and
.target
Switch baseline comparator to the latest released CDT
And I need this root project manifest to simplify my work, please

Change-Id: I8c3af45144d3859d171a87d5d37dfa7e5c7ea97b
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-07-11 13:48:39 +03:00
Alexander Fedorov
de31fb2528 Bug 565144 - CDT.setup should be configured for 2020-09 development
Updated cdt.target to 2020-09 (still use Eclipse Platform 4.16)
Updated cdt-baseline.target to 2020-06
Added repositories for 2020-09 to CDT.setup (still use Eclipse Platform
4.16)
Updated baseline to 2020-06 for CDT.setup

Change-Id: Iba1c98e5e9f89ca953727c857788298d57aa40fc
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-07-11 12:42:57 +03:00
Alexander Fedorov
81eb1b1db3 Bug 564369 - CDT : use 4.16 GA version for .setup and .target
Change order of repositories: start the list from the most recent
platform release

Change-Id: I565f640c72f1ab67b63c8cffc0858f8303282609
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-07-11 11:10:22 +03:00
Alexander Fedorov
b59b75eb43 Bug 564369 - CDT : use 4.16 GA version for .setup and .target
Prefer release specific update URLs for p2 repositories

Change-Id: I61923c4b3c0b3e3ed151916ca35c9ec5d674e1dd
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-07-11 11:08:23 +03:00
Alexander Fedorov
3b7469ed61 Bug 564369 - CDT : use 4.16 GA version for .setup and .target
Fix .setup for 2020-06

Change-Id: I95322e2a43f305ae8b3a6199dd9f4d5ed232ca02
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-07-11 10:52:43 +03:00
Alexander Fedorov
30c67ac9bf Bug 564369 - CDT : use 4.16 GA version for .setup and .target
Move target platform resolution ahead of clone to simplify testing

Change-Id: Ic6a0b2770762a3bd42633bd7011073731c9d4f4e
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-07-11 10:10:59 +03:00
Mat Booth
032ddb2734 Bug 563491 - Debugger RCP Product fails to build
Be more explicit about the version of javax.activation that is
needed by CDT and javax.xml.bind

Change-Id: I7951b193353ccabc253d77d24b4e1e10beca5eba
Signed-off-by: Mat Booth <mat.booth@redhat.com>
2020-06-25 12:39:33 -04:00
Alexander Fedorov
dac0b96019 Bug 564369 - CDT : use 4.16 GA version for .setup and .target
Updated to
https://download.eclipse.org/eclipse/updates/4.16/R-4.16-202006040540/

Change-Id: I05811ffdc1cba42d76cbc168f430aed2cd889f80
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-06-17 13:08:19 +03:00
Jonah Graham
f14853b3d4 [releng] Update target to platform 4.16 RC2
Change-Id: Ibb26d875adb1208bc7edba8e6d6ba03fe6b19e7f
2020-06-15 06:59:20 -04:00
Tony Homer
0563a98c6e Bug 558284 - re-enable docker plug-in
Reverts commit d70af18897.

The API change was reverted
See https://git.eclipse.org/r/#/c/163943/

Change-Id: If8049308e8f2aec3a1930433af9c6348d641b0ab
Signed-off-by: Tony Homer <tony.homer@intel.com>
2020-06-01 13:01:54 -07:00
Jonah Graham
d70af18897 Bug 558284 - Temporarily disable docker plug-in using changed API
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=558284#c38

Once the underlying issue in Bug 558284 is resolved this needs to be
reverted.

Change-Id: I1b052e701c2655eeac634bfb759c778421fd242b
2020-05-30 18:19:15 -04:00
Jonah Graham
cd0f01a5be [releng] Save baseline-compare-and-replace.log all the time
We have had sometimeouts running the baseline-compare-and-replace,
so save the log all the time.

Change-Id: I0e0d98c2f27dbce0f46f15757959e70a13fb53c3
2020-05-27 16:50:54 -04:00
Alexander Fedorov
825f88f49a Bug 562790 - Switch CDT 10.0 stream to Eclipse Platform 4.16 M2
Updated Eclipse Platform according to
https://www.eclipse.org/lists/eclipse-dev/msg11376.html
using
https://download.eclipse.org/eclipse/updates/4.16-I-builds/I20200501-0520/
Added "org.eclipse.urischeme" bundle to debug.product definition as it
now required for E4 SWT Workbench

Change-Id: I1d2f634db29271590d93abccde6282c05423ff4f
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-05-07 02:34:05 -04:00
Jonah Graham
b45df9e9d5 Bug 558994: Remove LRParser, XLC and UPC
These old parsers have not been maintained in many years and do not
actually work anymore as is.

Change-Id: Ifc3223aa81718ffbfbbc2ea605eabba2807b80d9
2020-05-04 09:30:47 -04:00
Jonah Graham
6491efc5e9 Bug 562498: Remove Arduino plug-ins from CDT
The CDT Arduino plug-ins and features have been removed. Arduino can
still be used with CDT with manual maintenance of packages, etc. Or
a third-party add-on such as Sloeber can be used as a replacement.

Change-Id: I2f8c96e932ce87e1baed91d5eb78de05f3fb4bee
2020-04-27 01:48:29 -04:00
Jonah Graham
0ab57c346a [releng] Remove and add .prefs files according to improved cleanliness script
Change-Id: I9bc8364cda1a1154750127f5db5549073323e84c
2020-04-26 14:52:45 -04:00
Jonah Graham
646273d9a4 [releng] Update code cleanliness to better handle non-JDT/PDE projects
This commit on its own fails cleanliness, but is separated out
to make review easier. The subsequent commit is the result of
cleaning the code with the script

Change-Id: Ibaddc2f338f14fbe60662acc8cb272b584a1a828
2020-04-26 14:44:12 -04:00
Jonah Graham
00cf160745 [releng] Add some more help in error messages when code cleanliness fails
Change-Id: I5cea3eb02e4809e591e3160358b7f6b06feabefa
2020-04-26 10:32:26 -04:00
Alexander Fedorov
794a7e2339 Bug 562096 - Switch CDT 10.0 stream to Eclipse Platform 4.16 M1
Switched to
https://download.eclipse.org/eclipse/updates/4.16milestones/S-4.16M1-202004090200/
Added 2020-06 repository list to CDT.setup - let's keep 2020-03 for a
while as a fallback option until things are converged for 2020-06 stream

Change-Id: I7ec32e9897731d9093c5e88aeb618ab33ff5e6b2
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-16 07:25:37 -04:00
Jonah Graham
d66d3e8e85 [releng] Bump version to 10.0.0
Change-Id: I32f6f61835bdbad3cffd713965045c5097c8619f
2020-04-11 17:46:58 -04:00
Alexander Fedorov
87a3be448e Bug 561942 - CDT releng is broken: PTP 3.0 2020-03-M2 is not found
Use https://download.eclipse.org/tools/ptp/remote/releases/3.0/remote-3.0.1/

Change-Id: Ia0740b241577107527e50649a67db051b2f52069
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-09 15:37:40 +03:00
Alexander Fedorov
0191f0c321 Bug 561942 - CDT releng is broken: PTP 3.0 2020-03-M2 is not found
Switch PTP to
https://download.eclipse.org/tools/ptp/builds/remote/nightly/

Change-Id: Ie663bbe4d389ea88401fe33fed7fa773aa95b502
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-09 05:06:51 -04:00
Alexander Fedorov
3eb731ad8c Bug 561552 - CDT.setup should include tycho m2e project configurators
Add m2eclipse-tycho repository

Change-Id: Ieaf4a087680fbde6e2d724edb07cb1625689db95
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-30 01:53:48 -04:00
Alexander Fedorov
d2b27d72dc Bug 561552 - CDT.setup should include tycho m2e project configurators
add "org.sonatype.tycho.m2e.feature.feature.group" to P2 Director

Change-Id: I0a3e811da1b1189227b17e1c05388a8bc00bb737
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-29 10:46:56 -04:00
Marco Stornelli
c2f51a8d23 [releng] Bump CDT version to 9.12.0
org.eclipse.cdt.debug.gdbjtag is bumped because of Bug 561343

Change-Id: I6dac283b7e9093662f57ac5c804021c4201ad6f1
2020-03-22 14:05:17 -04:00
Jonah Graham
6f08d31fe9 [releng] Update dependency versions for build tools
Change-Id: Ie9632363243dfe7e186fff6871e15d452f4d73b7
2020-03-21 15:39:07 -04:00
Jonah Graham
f216c64ca8 [releng] Update target platform to latest dependencies
Change-Id: I1a5710bc4899f41e862998d6c5dcd6703c802a51
2020-03-21 15:39:07 -04:00