Difference between revisions of "Installing Cell Broadband Engine SDK"

From ArchWiki
Jump to: navigation, search
m (Get ISOs and build the SDK)
(update Pkg/AUR templates (https://github.com/lahwaacz/wiki-scripts/blob/master/update-package-templates.py))
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[Category:Emulators]]
 
[[Category:Emulators]]
 
 
The CBE SDK installation only supports the Fedora 9 or RHEL linux distributions. I managed to install it on my Arch Linux system with the help of [http://forums.gentoo.org/viewtopic-t-685982.html a post in the gentoo forum], and doing some trial/error.
 
The CBE SDK installation only supports the Fedora 9 or RHEL linux distributions. I managed to install it on my Arch Linux system with the help of [http://forums.gentoo.org/viewtopic-t-685982.html a post in the gentoo forum], and doing some trial/error.
  
 
+
==Required Packages==
=Required Packages=
+
  
 
All of the following required packages are provided by the pacman databases and the versions should be recent enough.
 
All of the following required packages are provided by the pacman databases and the versions should be recent enough.
Line 24: Line 22:
 
  # pacman -S gcc glibc perl freeglut gawk bison flex rpmextract tcl tk
 
  # pacman -S gcc glibc perl freeglut gawk bison flex rpmextract tcl tk
  
 
+
==Installation==
=Installation=
+
 
===Get ISOs and build the SDK===
 
===Get ISOs and build the SDK===
You'll have to download the two 3.1 SDK ISOs (Developer, Extra) for Fedora 9 manually from IBM's website, which requires free registration. Place them in a build folder, and get the [https://aur.archlinux.org/packages.php?ID=17060 cellsdk build files from the AUR], and place them in the same folder. Now the SDK is ready to be build, but you will have to do it as root because the PKGBUILD uses mount of loop-devices to extract packages from the ISOs. Build the SDK by running:
+
{{Accuracy|Building as root is not supported.}}
 +
You will have to download the two 3.1 SDK ISOs (Developer, Extra) for Fedora 9 manually from [https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=cellsdk&S_PKG=fedora&S_TACT=105AGX16&S_CMP=LP&lang=en_US&cp=UTF-8 IBMs website], which requires free registration. Place them in a build folder for the {{AUR|cellsdk}}{{Broken package link|{{aur-mirror|cellsdk}}}} AUR package. Now the SDK is ready to be build, but you will have to do it as root because the PKGBUILD uses mount of loop-devices to extract packages from the ISOs. Build the SDK by running:
 
  sudo makepkg --asroot
 
  sudo makepkg --asroot
  
Line 34: Line 32:
 
and now the SDK is installed and ready for use.
 
and now the SDK is installed and ready for use.
  
=Running the Simulator=
+
==Running the Simulator==
 
Go to /opt/ibm/systemsim-cell/ directory and type sudo ./systemsim -g
 
Go to /opt/ibm/systemsim-cell/ directory and type sudo ./systemsim -g
 
You can run without root by changing the owner and group.
 
You can run without root by changing the owner and group.
Line 40: Line 38:
 
  sudo chgrp -R /opt/ibm/systemsim-cell  
 
  sudo chgrp -R /opt/ibm/systemsim-cell  
  
 
+
  cd /opt/ibm/systemsim-cell/bin/s
  cd /opt/ibm/systemsim-cell/bin/
+
 
  ./systemsim -g
 
  ./systemsim -g
  
 
===Other...===
 
===Other...===
Since the PKGBUILD does not run the official install script there is bound to be something not setup completely correct... Place a comment on the [https://aur.archlinux.org/packages.php?ID=17060 cellsdk AUR page].
+
Since the PKGBUILD does not run the official install script there is bound to be something not setup completely correct... Place a comment on the {{AUR|cellsdk}}{{Broken package link|{{aur-mirror|cellsdk}}}} AUR page.

Latest revision as of 10:30, 20 August 2015

The CBE SDK installation only supports the Fedora 9 or RHEL linux distributions. I managed to install it on my Arch Linux system with the help of a post in the gentoo forum, and doing some trial/error.

Required Packages

All of the following required packages are provided by the pacman databases and the versions should be recent enough.

Core repository:

  • gcc 4.x
  • glibc
  • perl 5.x
  • freeglut
  • gawk
  • bison
  • flex

Extra repository:

  • rpmextract
  • tcl
  • tk

To make sure all of these are installed:

# pacman -S gcc glibc perl freeglut gawk bison flex rpmextract tcl tk

Installation

Get ISOs and build the SDK

Tango-inaccurate.pngThe factual accuracy of this article or section is disputed.Tango-inaccurate.png

Reason: Building as root is not supported. (Discuss in Talk:Installing Cell Broadband Engine SDK#)

You will have to download the two 3.1 SDK ISOs (Developer, Extra) for Fedora 9 manually from IBMs website, which requires free registration. Place them in a build folder for the cellsdkAUR[broken link: archived in aur-mirror] AUR package. Now the SDK is ready to be build, but you will have to do it as root because the PKGBUILD uses mount of loop-devices to extract packages from the ISOs. Build the SDK by running:

sudo makepkg --asroot

Now a cellsdk-3.1-1-x86_64.pkg.tar.gz should be ready for installation! Just run

sudo pacman -A cellsdk-3.1-1-x86_64.pkg.tar.gz

and now the SDK is installed and ready for use.

Running the Simulator

Go to /opt/ibm/systemsim-cell/ directory and type sudo ./systemsim -g You can run without root by changing the owner and group.

sudo chown -R /opt/ibm/systemsim-cell
sudo chgrp -R /opt/ibm/systemsim-cell 
cd /opt/ibm/systemsim-cell/bin/s
./systemsim -g

Other...

Since the PKGBUILD does not run the official install script there is bound to be something not setup completely correct... Place a comment on the cellsdkAUR[broken link: archived in aur-mirror] AUR page.