Jump to: navigation, search

Difference between revisions of "Building C/C++ at Eclipse"

(Using Hudson (HIPP))
(Using Hudson (HIPP))
Line 4: Line 4:
  
 
=== Using Hudson (HIPP) ===
 
=== Using Hudson (HIPP) ===
Projects can request their own instance of Hudson (called HIPP) which operates within the security context of their project (meaning the Hudson instance can OPTIONALLY write to the project's Git repos and downloads area for easy build artifact publishing.)
+
Projects can request their own instance of Hudson (called [https://wiki.eclipse.org/Hudson#HIPP HIPP]) which operates within the security context of their project (meaning the Hudson instance can OPTIONALLY write to the project's Git repos and downloads area for easy build artifact publishing.)
  
 
The tools available are:
 
The tools available are:
Line 13: Line 13:
  
 
'''Example: ''' the TCF project operates a HIPP instance, and has a Linux agent build job which invokes 'cc'. The latest build log is available here, which demonstrates the usage of Hudson invoking a shell script, which invokes make and cc: https://hudson.eclipse.org/tcf/job/tcf-agent-x86Linux-master/lastBuild/console
 
'''Example: ''' the TCF project operates a HIPP instance, and has a Linux agent build job which invokes 'cc'. The latest build log is available here, which demonstrates the usage of Hudson invoking a shell script, which invokes make and cc: https://hudson.eclipse.org/tcf/job/tcf-agent-x86Linux-master/lastBuild/console
 +
 +
 +
More information on the [https://wiki.eclipse.org/Hudson#HIPP HIPP service at Eclipse]
  
 
=== Using build.eclipse.org ===
 
=== Using build.eclipse.org ===

Revision as of 16:14, 23 May 2014

Projects can currently build C and C++ code on the following platforms:

Linux x86_64

Using Hudson (HIPP)

Projects can request their own instance of Hudson (called HIPP) which operates within the security context of their project (meaning the Hudson instance can OPTIONALLY write to the project's Git repos and downloads area for easy build artifact publishing.)

The tools available are:

  • Hudson 3.0.1-b2
  • make, cc, gcc, as typically found on modern Linux systems
  • bash, sh, tsh, as typically found on modern Linux systems
  • most other associated build tools available on Linux systems

Example: the TCF project operates a HIPP instance, and has a Linux agent build job which invokes 'cc'. The latest build log is available here, which demonstrates the usage of Hudson invoking a shell script, which invokes make and cc: https://hudson.eclipse.org/tcf/job/tcf-agent-x86Linux-master/lastBuild/console


More information on the HIPP service at Eclipse

Using build.eclipse.org

Committers with SSH access can use the shell service on build.eclipse.org. It is a server running SuSE Linux Entreprise 11 with a host of C/C++ build tools, such amake, cc and gcc.


Windows x86_64

There are plans to deploy Windows HIPP (Hudson) slaves. The current plan is to deploy a dedicated Virtual Machine for each project, running:

- one Windows flavour (likely Windows 7 Professional) - MS Visual Studio - PowerShell

We are still in the early stages of planning, and requirements gathering is happening in this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=415757

Mac OS X

We do not have requirements for building C/C++ code on Mac. Please file a bug against Eclipse Foundation/Community/Hudson.