Download Compiler, Standard Library and Demos

Major Release

The following packages contain the latest major-number release of sac2c.

Package Compatibility

Releases have been tested on specific operating system versions. Though some packages can be installed on newer or older systems, we advise against doing this. If you find a problem, please contact us (see at bottom of page of how to do this).

The packages below have been build against the following libraries which need to be available on the system in order to install the compiler:

  1. CUDA 8.0
  2. HWLOC
Debian 7 (x64)
Debian 8 (x64)
Generic Linux (x64)
MacOS X 10.12 (x64)
RHEL 6 (x64)
RHEL 7 (x64)
Ubuntu 14 (x64)
Ubuntu 16 (x64)

Extra

We also have some user-contributed packages — as these are packages outwith the project, we can not provide any support on these. Please communicate with the package maintainers.

OS External Link
ArchLinux via AUR

Weeklies --- Bleeding-Edge Release

Stability

These packages are of the most recent (bleeding-edge) state of the compiler. They are provided on a best-effort basis, but it is highly likely that the packages (and compiler) might not work correctly and negatively impact your system. You have been warned!

Linux (x64)
RHEL 6 (x64)
RHEL 7 (x64)
Ubuntu 14.04 (x64)
Ubuntu 16.04 (x64)

Installing

RPM (RedHat Based distributions)

The rpm release of the compiler is designed to be installed on RedHat based distributions of Linux (e.g. RedHat, CentOS, Fedora, etc.) using the rpm tool set.

Installation:

$ sudo rpm --install sac2c-VERSION-RELEASE.rpm

DEB (Debian based distributions)

The deb package is meant to be installed on Debian based distributions (e.g. Debian, Ubuntu, etc.) using the dpkg tool set.

Installation:

$ sudo dpkg --install sac-VERSION-RELEASE.deb

Pkg (Apple MacOS)

The pkg is a installer that will place the SaC files in the correct location on your system. Symbolic links to the SaC binaries are created in /usr/local/bin for your convenience.

The SaC binaries are postfixed by their release type (production or debug), so there is a sac2c_p and sac2c_d respectively, sac2c is simply a link to sac2c_p.

Installation:

  1. Double click the downloaded pkg file
  2. A dialog box should appear that will guide you through the install process
  3. Confirm that you agree with our license, and click Install to install SaC
  4. The binary sac2c_p should be in your PATH

TAR.GZ (Unix-like operating systems)

The .tar.gz archive is the most basic distributable package that available. The archive contains the entire directory structure of the binaries and libraries as they should appear on the file-system of the host from the root directory (i.e. /). The default directory structure is prefixed with /usr/local.

Installation of the compiler is as simple as extracting from the archive:

$ sudo tar --strip-components=1 -C / -xzf sac2c-VERSION-RELEASE.tar.gz

Contribute?

Interested in contributing to the project? You can do so in several ways, by either telling us about bugs or by contributing code to the project.

Reporting bugs

Head over to the community page and follow the guidelines there on how to submit a bug.

Contributing code

  • Create an account on this site by registering,
  • and send an email to info@sac-home.org indicating that you'd like to have access to the compiler sources.

The standard library comes as a collection of public repositories on github/SacBase.

As a minimum you should consider getting the core stdlib, either in binary form (SacBase/Stdlib/releases) or as source code from SacBase/Stdlib.

In the case of the source code, you'll have to check out the latest versions of the the stdlib repository and possibly further repositories from SacBase, you need to build and install the standard library.

Normally, the install of the stdlib should work fine in which case may want to proceed to the demos.

If you are curious about the details on where the built modules are actually stored or on how platform dependent versions are created and kept apart you can read up about cross compilation and the SBI (SaC Binary Interface).

The demos as well as the source codes for our tutorial can be found on github/SacBase.

You can download them freely to any location you like. Those directories make use of our generic Makefiles for compiling SaC programs.