Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Building C/C++ at Eclipse
Projects can currently build C and C++ code on the following platforms:
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
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.
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.