Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Modeling Project Releng/Building/Test on 64-Bit

As discussed in bug 253114, here's how to make your Modeling build run on modeling.eclipse.org (a 64-bit SLES 11 virtual server):

Step 1: relengbuildgtk.sh

  • Add smarter platform arch detection. Replace this:
arch=x86

with this:

arch=x86
if uname -m > /dev/null 2>&1; then
	arch=`uname -m`
else
	arch=`uname -p`
fi
# Massage arch for Eclipse-uname differences
case $arch in
	i[0-9]*86)
		arch=x86 ;;
	ia64)
		arch=ia64 ;;
	ppc)
		arch=ppc ;;
	ppc64)
		arch=ppc ;;
	x86_64)
		arch=x86_64 ;;
	*)
	echo "ERROR: Unrecognized architecture:  $arch"
	exit 1 ;;
esac

Step 2: build/_common.php

  • Set a 5.0 or 6.0 JVM, and ensure your BREEs are correctly set in all your MANIFEST.MF files to avoid accidentally forcing users to need a 5.0 or 6.0 JVM, if you have plugins which can run on an older VM.
      "modeling.eclipse.org=------------,------------",
      "3.5.0=HEAD,/opt/sun-java2-6.0_64",

Step 3: build/index.php or start.sh

  • Make sure that as input to the build, you specify the linux-gtk-x86_64 Eclipse SDK, not the linux-gtk version.

Back to the top