Bug 377116 - build the launcher and consume native fragments
Summary: build the launcher and consume native fragments
Status: CLOSED FIXED
Alias: None
Product: CBI
Classification: Technology
Component: build help (show other bugs)
Version: 1.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: CBI Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 450393
Blocks: 405753
  Show dependency tree
 
Reported: 2012-04-18 13:39 EDT by Paul Webster CLA
Modified: 2018-03-07 09:07 EST (History)
12 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Webster CLA 2012-04-18 13:39:18 EDT
The current PDE build consume binaries checked into the git repo and creates all of the launcher fragments to be used by the build p2 repo.

CBI platform build needs to be able to correctly build the launcher fragments
and include them in the published build p2 repo.

PW
Comment 1 Andrea Ross CLA 2012-05-30 14:52:06 EDT
Is this bug the same as Bug 378233?
Comment 2 Paul Webster CLA 2012-05-30 14:58:39 EDT
I thought this was allowing a CBI build to build the launcher and its native fragments ... but on one machine, this leads to  a "slice" repo 'cause it can only build for the platform we're on.

Bug 378233 is so that CBI build can consume the launcher binary repo and generate a p2 repo that has all of the different platform fragments (more like today's PDE build)

PW
Comment 3 Denis Roy CLA 2014-10-29 10:42:54 EDT
Is this bug about building eclipse.exe for Windows, and the eclipse natives on Mac and Linux?
Comment 4 David Williams CLA 2014-11-06 11:58:48 EST
See also bug 405753 and bug 415757 which I think are related (if not dups?)
Comment 5 Alexander Kurtakov CLA 2014-11-06 12:20:56 EST
Building natives on linux is a matter of passing -Dnatives=gtk,linux,$your_arch to mvn. If you have all headers installed in the expected places you will get your natives rebuild and used.
Comment 6 Denis Roy CLA 2014-11-06 14:51:28 EST
(In reply to David Williams from comment #4)
> See also bug 405753

I would certainly recommend closing bug 405753 as a dupe of this one.  Building the launchers would be done as part of the CBI project.
Comment 7 David Williams CLA 2014-11-07 00:14:43 EST
(In reply to Denis Roy from comment #6)
> (In reply to David Williams from comment #4)
> > See also bug 405753
> 
> I would certainly recommend closing bug 405753 as a dupe of this one. 
> Building the launchers would be done as part of the CBI project.

Yes, and no, IMHO. I could see it either way. But, if you define "CBI" as the infrastructure to do "common build" things, then there is a piece that CBI would have to do -- to provide the capability to make it easy, useable by others, etc.  ... but, the responsibility for actually doing it would still reside with the Platform releng (or swt :) team. 

There are other projects, BIRT? CDT? ... maybe others ... that have some about of native code. I'd assume that "CBI" would provide the infrastructure for anyone to "build natives" (on the common platforms). 

Right? Or, am I missing the point.
Comment 8 David Williams CLA 2014-11-07 00:21:51 EST
(In reply to David Williams from comment #7)
> (In reply to Denis Roy from comment #6)
> > (In reply to David Williams from comment #4)
> > > See also bug 405753
> > 
> > I would certainly recommend closing bug 405753 as a dupe of this one. 
> > Building the launchers would be done as part of the CBI project.
> 
> Yes, and no, IMHO. I could see it either way. But, if you define "CBI" as
> the infrastructure to do "common build" things, then there is a piece that
> CBI would have to do -- to provide the capability to make it easy, useable
> by others, etc.  ... but, the responsibility for actually doing it would
> still reside with the Platform releng (or swt :) team. 
> 
> There are other projects, BIRT? CDT? ... maybe others ... that have some
> about of native code. I'd assume that "CBI" would provide the infrastructure
> for anyone to "build natives" (on the common platforms). 
> 

To capture this relationship/idea, I've changed title of 'releng' bug to 
Bug 405753 - Make use of CBI to build natives on Eclipse Foundation instrastructure
and marked it as "depends on" on this one. 

I'm actually not sure "where the line is" ... but, am sure it will take "both of us" to do something ;)
Comment 9 Denis Roy CLA 2014-11-07 08:53:33 EST
> but, the responsibility for actually doing it would
> still reside with the Platform releng (or swt :) team. 

Platform releng, Birt and anyone else can build the natives if they want.  I want to be able to build them too, perhaps so we can enhance them for usage in the EPP packages.

My end game is bug 445141. That is what this bug is about.
Comment 10 Denis Roy CLA 2014-11-21 11:52:13 EST
I've configured the job to run on the CBI CentOS slave..  It still fails miserably, but now we have a more modern platform we can work with.

https://hudson.eclipse.org/cbi/job/cbi-launcher-linux-x86_64/11/console
Comment 11 Alexander Kurtakov CLA 2014-11-26 08:12:12 EST
(In reply to Denis Roy from comment #10)
> I've configured the job to run on the CBI CentOS slave..  It still fails
> miserably, but now we have a more modern platform we can work with.
> 
> https://hudson.eclipse.org/cbi/job/cbi-launcher-linux-x86_64/11/console

There is smth wrong with the slave. I switched it back to master and played a bit with it and voilla https://hudson.eclipse.org/cbi/job/cbi-launcher-linux-x86_64/22/ :). Let's find out what's wrong with the slave.
Comment 12 Alexander Kurtakov CLA 2014-11-26 08:15:56 EST
Next step should be to make it buildable without rt.equinox.binaries so we can be 100% sure that a prebuild artifact doesn't sneak instead of the just build one.
Comment 13 Denis Roy CLA 2015-02-02 13:47:13 EST
cc'ing Mikael
Comment 14 Mikaël Barbero CLA 2018-03-07 09:07:39 EST
native are now build on releng's jipp. All test jobs on cbi jipp have been removed.