Skip to content

midnite8177/externals-clasp

 
 

Repository files navigation

externals-clasp

Note to those brave souls building clasp and externals-clasp on Sep 26, 2014

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.

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

Other useful make targets:

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published