Skip to content

AWB Repository Ubuntu

kerminfleming edited this page Feb 27, 2015 · 3 revisions

AWB Installation from the Ubuntu APT Archive

Following are the instructions for installing Awb and friends from the Asim/AWB apt repository.

As of today (Aug 19, 2014) 64-builds of the current release are available only for Precise.
Older releases of the software are available for Lucid and Natty.

Add the repository

Add the file /etc/apt/sources.list.d/asim.list with the following content:

## Asim/AWB Repository

deb http://asim.csail.mit.edu/apt/releases/ubuntu precise main
deb-src http://asim.csail.mit.edu/apt/releases/ubuntu precise main

Substitute /testing/ for /releases/ in the above lines to use the testing versions of the packages.

Update your repository information

apt-get update

Verify downloads from the repository

To verify the downloads from the repository do one of the following:

apt-get install asim-archive-keyring

or

gpg --keyserver hkp://subkeys.pgp.net --recv-keys DA3A44B7
gpg --export DA3A44B7 | apt-key add -

or

wget -O - http://asim.csail.mit.edu/apt/keys/asim-archive.key | apt-key add -

Install Awb

If you want to use asim, leap or another awb-based project you can just install that project’s package, and awb will be installed automatically. But if you only want awb, then install awb from the apt archive with the following:

apt-get install awb

To use asim, you will want the asim libraries, which are installed with:

apt-get install asim-core-dev

Install LEAP

To use leap, which automatically gets awb and the asim libraries, you can type the following:

apt-get install leap
apt-get install leap-platforms
apt-get install leap-multifpga

Install Bluespec

Bluespec compiler can be downloaded and installed from Bluespec website.
The latest version of the Bluespec compiler – 2014.07.A – is required with LEAP

Unfortunately, Bluespec requires an older version of libgmp, a multiprecision arithmetic library used by Haskell. Without a suitable version of libgmp, Bluespec dies with error:

[keflemin-vs-lin64-2 pm(45)] bsc
/proj/vssad/local/x86_64_linux31/pkgs/Bluespec/lib/bin/linux64/bsc: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory

Unlike 12.04, 14.04 does not include a backwards compatible package in apt. Fortunately, since this package has no dependencies, we can just use the old package from 12.04. First, we need to tell apt about 12.04. In /etc/apt/sources.list.d/precise.list put

deb http://us.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe

And now

% apt-get update
% sudo apt-get -t precise install libgmp3c2

The next step is the user’s AWB setup

Clone this wiki locally