ahungry / externals-clasp

Libraries that clasp depends on

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

externals-clasp

Note to those brave souls building early releases of Clasp

Clasp can be found at: https://github.com/drmeister/clasp

These are the external libraries that Clasp depends on. If there are legal issues with incorporating these libraries in this repository please tell me and I will fix it. All of these libraries are publically available on the internet.

Building externals-clasp

You need to have gcc 4.8 or higher to build externals-clasp.

To build everything from within the top level directory (externals-clasp/) do the following.

  1. Copy local.config.darwin or local.config.linux to local.config

  2. Edit local.config and configure it for your system
    The following configuration variables are important:

Variable Description
EXTERNALS_BUILD_TARGET_DIR This defines where make will put all of the built libraries
I use $HOME/local/externals-clasp
TARGET_OS Currently either linux or darwin
PJOBS The number of processors you have available to build with
GCC_TOOLCHAIN Important on Linux systems.
gcc and g++ must be found in $(GCC_TOOLCHAIN)/bin/
On a linux system with an up-to-date (>= 4.8) gcc/g++ you can use /usr
GCC_EXECUTABLE Set this if the gcc you use is NOT found at $(GCC_TOOLCHAIN)/bin/gcc
GXX_EXECUTABLE Set this if the g++ you use is NOT found at $(GCC_TOOLCHAIN)/bin/g++
  1. Type: make - this will download llvm/clang, build everything and install it in $(EXTERNALS_BUILD_TARGET_DIR)

  2. Go to the Clasp library and configure and build it.

On OS X

You need to install automake and libtool
brew install automake
brew install libtool
brew install pkg-config
brew install autoconf

The libraries are built and put into the $PREFIX (see local.config) directory

Other useful make targets:
make - this is the same as: make clean; make setup; make subAll
make setup - configures all libraries
make subAll - makes all libraries
make clean - Clean out all built files under this directory, but not the $PREFIX target directory.
make llvm-debug - Build the debug version of the LLVM library.

About

Libraries that clasp depends on


Languages

Language:C++ 85.1%Language:C 7.7%Language:Assembly 1.9%Language:Python 1.7%Language:Shell 1.0%Language:Makefile 0.7%Language:Perl 0.5%Language:XSLT 0.4%Language:TeX 0.4%Language:JavaScript 0.2%Language:CSS 0.2%Language:C# 0.1%Language:Ada 0.1%Language:PHP 0.0%Language:Pascal 0.0%Language:Max 0.0%Language:Objective-C 0.0%Language:Bison 0.0%Language:Cuda 0.0%Language:Ruby 0.0%Language:Emacs Lisp 0.0%Language:Erlang 0.0%Language:CLIPS 0.0%Language:Perl 6 0.0%Language:Fortran 0.0%Language:SAS 0.0%Language:Scheme 0.0%Language:Tcl 0.0%Language:Rebol 0.0%Language:Objective-C++ 0.0%Language:IDL 0.0%